2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for chise-base 0.25.
5 # Report bugs to <chise-en@m17n.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and chise-en@m17n.org
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='chise-base'
581 PACKAGE_TARNAME='chise-base'
582 PACKAGE_VERSION='0.25'
583 PACKAGE_STRING='chise-base 0.25'
584 PACKAGE_BUGREPORT='chise-en@m17n.org'
587 ac_subst_vars='LTLIBOBJS
592 xemacs_site_libraries
594 xemacs_configure_args
642 program_transform_name
655 enable_option_checking
660 ac_precious_vars='build_alias
670 # Initialize some variables set by options.
672 ac_init_version=false
673 ac_unrecognized_opts=
675 # The variables have the same names as the options, with
676 # dashes changed to underlines.
684 program_transform_name=s,x,x,
692 # Installation directory options.
693 # These are left unexpanded so users can "make install exec_prefix=/foo"
694 # and all the variables that are supposed to be based on exec_prefix
695 # by default will actually change.
696 # Use braces instead of parens because sh, perl, etc. also accept them.
697 # (The list follows the same order as the GNU Coding Standards.)
698 bindir='${exec_prefix}/bin'
699 sbindir='${exec_prefix}/sbin'
700 libexecdir='${exec_prefix}/libexec'
701 datarootdir='${prefix}/share'
702 datadir='${datarootdir}'
703 sysconfdir='${prefix}/etc'
704 sharedstatedir='${prefix}/com'
705 localstatedir='${prefix}/var'
706 includedir='${prefix}/include'
707 oldincludedir='/usr/include'
708 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
709 infodir='${datarootdir}/info'
714 libdir='${exec_prefix}/lib'
715 localedir='${datarootdir}/locale'
716 mandir='${datarootdir}/man'
722 # If the previous option needs an argument, assign it.
723 if test -n "$ac_prev"; then
724 eval $ac_prev=\$ac_option
730 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
735 # Accept the important Cygnus configure options, so we can diagnose typos.
737 case $ac_dashdash$ac_option in
741 -bindir | --bindir | --bindi | --bind | --bin | --bi)
743 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
746 -build | --build | --buil | --bui | --bu)
747 ac_prev=build_alias ;;
748 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
749 build_alias=$ac_optarg ;;
751 -cache-file | --cache-file | --cache-fil | --cache-fi \
752 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
753 ac_prev=cache_file ;;
754 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
755 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
756 cache_file=$ac_optarg ;;
759 cache_file=config.cache ;;
761 -datadir | --datadir | --datadi | --datad)
763 -datadir=* | --datadir=* | --datadi=* | --datad=*)
764 datadir=$ac_optarg ;;
766 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
767 | --dataroo | --dataro | --datar)
768 ac_prev=datarootdir ;;
769 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
770 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
771 datarootdir=$ac_optarg ;;
773 -disable-* | --disable-*)
774 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
775 # Reject names that are not valid shell variable names.
776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
777 as_fn_error $? "invalid feature name: $ac_useropt"
778 ac_useropt_orig=$ac_useropt
779 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
780 case $ac_user_opts in
784 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
785 ac_unrecognized_sep=', ';;
787 eval enable_$ac_useropt=no ;;
789 -docdir | --docdir | --docdi | --doc | --do)
791 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
796 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799 -enable-* | --enable-*)
800 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803 as_fn_error $? "invalid feature name: $ac_useropt"
804 ac_useropt_orig=$ac_useropt
805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806 case $ac_user_opts in
810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
811 ac_unrecognized_sep=', ';;
813 eval enable_$ac_useropt=\$ac_optarg ;;
815 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
816 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
817 | --exec | --exe | --ex)
818 ac_prev=exec_prefix ;;
819 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
820 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
821 | --exec=* | --exe=* | --ex=*)
822 exec_prefix=$ac_optarg ;;
824 -gas | --gas | --ga | --g)
825 # Obsolete; use --with-gas.
828 -help | --help | --hel | --he | -h)
830 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
831 ac_init_help=recursive ;;
832 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
833 ac_init_help=short ;;
835 -host | --host | --hos | --ho)
836 ac_prev=host_alias ;;
837 -host=* | --host=* | --hos=* | --ho=*)
838 host_alias=$ac_optarg ;;
840 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
842 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
844 htmldir=$ac_optarg ;;
846 -includedir | --includedir | --includedi | --included | --include \
847 | --includ | --inclu | --incl | --inc)
848 ac_prev=includedir ;;
849 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
850 | --includ=* | --inclu=* | --incl=* | --inc=*)
851 includedir=$ac_optarg ;;
853 -infodir | --infodir | --infodi | --infod | --info | --inf)
855 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
856 infodir=$ac_optarg ;;
858 -libdir | --libdir | --libdi | --libd)
860 -libdir=* | --libdir=* | --libdi=* | --libd=*)
863 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
864 | --libexe | --libex | --libe)
865 ac_prev=libexecdir ;;
866 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
867 | --libexe=* | --libex=* | --libe=*)
868 libexecdir=$ac_optarg ;;
870 -localedir | --localedir | --localedi | --localed | --locale)
872 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
873 localedir=$ac_optarg ;;
875 -localstatedir | --localstatedir | --localstatedi | --localstated \
876 | --localstate | --localstat | --localsta | --localst | --locals)
877 ac_prev=localstatedir ;;
878 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
879 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
880 localstatedir=$ac_optarg ;;
882 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
884 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
888 # Obsolete; use --without-fp.
891 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
892 | --no-cr | --no-c | -n)
895 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
896 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
899 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
900 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
901 | --oldin | --oldi | --old | --ol | --o)
902 ac_prev=oldincludedir ;;
903 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
904 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
905 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
906 oldincludedir=$ac_optarg ;;
908 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
910 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
913 -program-prefix | --program-prefix | --program-prefi | --program-pref \
914 | --program-pre | --program-pr | --program-p)
915 ac_prev=program_prefix ;;
916 -program-prefix=* | --program-prefix=* | --program-prefi=* \
917 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
918 program_prefix=$ac_optarg ;;
920 -program-suffix | --program-suffix | --program-suffi | --program-suff \
921 | --program-suf | --program-su | --program-s)
922 ac_prev=program_suffix ;;
923 -program-suffix=* | --program-suffix=* | --program-suffi=* \
924 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
925 program_suffix=$ac_optarg ;;
927 -program-transform-name | --program-transform-name \
928 | --program-transform-nam | --program-transform-na \
929 | --program-transform-n | --program-transform- \
930 | --program-transform | --program-transfor \
931 | --program-transfo | --program-transf \
932 | --program-trans | --program-tran \
933 | --progr-tra | --program-tr | --program-t)
934 ac_prev=program_transform_name ;;
935 -program-transform-name=* | --program-transform-name=* \
936 | --program-transform-nam=* | --program-transform-na=* \
937 | --program-transform-n=* | --program-transform-=* \
938 | --program-transform=* | --program-transfor=* \
939 | --program-transfo=* | --program-transf=* \
940 | --program-trans=* | --program-tran=* \
941 | --progr-tra=* | --program-tr=* | --program-t=*)
942 program_transform_name=$ac_optarg ;;
944 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
946 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
949 -psdir | --psdir | --psdi | --psd | --ps)
951 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
955 | -silent | --silent | --silen | --sile | --sil)
958 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
960 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
962 sbindir=$ac_optarg ;;
964 -sharedstatedir | --sharedstatedir | --sharedstatedi \
965 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
966 | --sharedst | --shareds | --shared | --share | --shar \
968 ac_prev=sharedstatedir ;;
969 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
970 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
971 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
973 sharedstatedir=$ac_optarg ;;
975 -site | --site | --sit)
977 -site=* | --site=* | --sit=*)
980 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
982 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
985 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
986 | --syscon | --sysco | --sysc | --sys | --sy)
987 ac_prev=sysconfdir ;;
988 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
989 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
990 sysconfdir=$ac_optarg ;;
992 -target | --target | --targe | --targ | --tar | --ta | --t)
993 ac_prev=target_alias ;;
994 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
995 target_alias=$ac_optarg ;;
997 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1000 -version | --version | --versio | --versi | --vers | -V)
1001 ac_init_version=: ;;
1004 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007 as_fn_error $? "invalid package name: $ac_useropt"
1008 ac_useropt_orig=$ac_useropt
1009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010 case $ac_user_opts in
1014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1015 ac_unrecognized_sep=', ';;
1017 eval with_$ac_useropt=\$ac_optarg ;;
1019 -without-* | --without-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error $? "invalid package name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval with_$ac_useropt=no ;;
1036 # Obsolete; use --with-x.
1039 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1040 | --x-incl | --x-inc | --x-in | --x-i)
1041 ac_prev=x_includes ;;
1042 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1043 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1044 x_includes=$ac_optarg ;;
1046 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1047 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1048 ac_prev=x_libraries ;;
1049 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1050 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1051 x_libraries=$ac_optarg ;;
1053 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1054 Try \`$0 --help' for more information"
1058 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1059 # Reject names that are not valid shell variable names.
1060 case $ac_envvar in #(
1061 '' | [0-9]* | *[!_$as_cr_alnum]* )
1062 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1064 eval $ac_envvar=\$ac_optarg
1065 export $ac_envvar ;;
1068 # FIXME: should be removed in autoconf 3.0.
1069 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1070 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1071 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1072 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1078 if test -n "$ac_prev"; then
1079 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1080 as_fn_error $? "missing argument to $ac_option"
1083 if test -n "$ac_unrecognized_opts"; then
1084 case $enable_option_checking in
1086 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1087 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1091 # Check all directory arguments for consistency.
1092 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093 datadir sysconfdir sharedstatedir localstatedir includedir \
1094 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095 libdir localedir mandir
1097 eval ac_val=\$$ac_var
1098 # Remove trailing slashes.
1101 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1102 eval $ac_var=\$ac_val;;
1104 # Be sure to have absolute directory names.
1106 [\\/$]* | ?:[\\/]* ) continue;;
1107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1109 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1112 # There might be people who depend on the old broken behavior: `$host'
1113 # used to hold the argument of --host etc.
1114 # FIXME: To remove some day.
1117 target=$target_alias
1119 # FIXME: To remove some day.
1120 if test "x$host_alias" != x; then
1121 if test "x$build_alias" = x; then
1122 cross_compiling=maybe
1123 elif test "x$build_alias" != "x$host_alias"; then
1129 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1131 test "$silent" = yes && exec 6>/dev/null
1134 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 ac_ls_di=`ls -di .` &&
1136 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137 as_fn_error $? "working directory cannot be determined"
1138 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139 as_fn_error $? "pwd does not report name of working directory"
1142 # Find the source files, if location was not specified.
1143 if test -z "$srcdir"; then
1144 ac_srcdir_defaulted=yes
1145 # Try the directory containing this script, then the parent directory.
1146 ac_confdir=`$as_dirname -- "$as_myself" ||
1147 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148 X"$as_myself" : 'X\(//\)[^/]' \| \
1149 X"$as_myself" : 'X\(//\)$' \| \
1150 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1151 $as_echo X"$as_myself" |
1152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1174 ac_srcdir_defaulted=no
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1180 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1182 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1184 # When building in place, set srcdir=.
1185 if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 # Remove unnecessary trailing slashes from srcdir.
1189 # Double slashes in file names in object file debugging info
1190 # mess up M-x gdb in Emacs.
1192 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 for ac_var in $ac_precious_vars; do
1195 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196 eval ac_env_${ac_var}_value=\$${ac_var}
1197 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 # Report the --help message.
1204 if test "$ac_init_help" = "long"; then
1205 # Omit some internal or obsolete options to make the list less imposing.
1206 # This message is too long to be a string in the A/UX 3.1 sh.
1208 \`configure' configures chise-base 0.25 to adapt to many kinds of systems.
1210 Usage: $0 [OPTION]... [VAR=VALUE]...
1212 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1213 VAR=VALUE. See below for descriptions of some of the useful variables.
1215 Defaults for the options are specified in brackets.
1218 -h, --help display this help and exit
1219 --help=short display options specific to this package
1220 --help=recursive display the short help of all the included packages
1221 -V, --version display version information and exit
1222 -q, --quiet, --silent do not print \`checking ...' messages
1223 --cache-file=FILE cache test results in FILE [disabled]
1224 -C, --config-cache alias for \`--cache-file=config.cache'
1225 -n, --no-create do not create output files
1226 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1228 Installation directories:
1229 --prefix=PREFIX install architecture-independent files in PREFIX
1230 [$ac_default_prefix]
1231 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234 By default, \`make install' will install all the files in
1235 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1236 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1237 for instance \`--prefix=\$HOME'.
1239 For better control, use the options below.
1241 Fine tuning of the installation directories:
1242 --bindir=DIR user executables [EPREFIX/bin]
1243 --sbindir=DIR system admin executables [EPREFIX/sbin]
1244 --libexecdir=DIR program executables [EPREFIX/libexec]
1245 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1246 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1247 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1248 --libdir=DIR object code libraries [EPREFIX/lib]
1249 --includedir=DIR C header files [PREFIX/include]
1250 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1251 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1252 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1253 --infodir=DIR info documentation [DATAROOTDIR/info]
1254 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1255 --mandir=DIR man documentation [DATAROOTDIR/man]
1256 --docdir=DIR documentation root [DATAROOTDIR/doc/chise-base]
1257 --htmldir=DIR html documentation [DOCDIR]
1258 --dvidir=DIR dvi documentation [DOCDIR]
1259 --pdfdir=DIR pdf documentation [DOCDIR]
1260 --psdir=DIR ps documentation [DOCDIR]
1266 --build=BUILD configure for building on BUILD [guessed]
1267 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1268 --target=TARGET configure for building compilers for TARGET [HOST]
1272 if test -n "$ac_init_help"; then
1273 case $ac_init_help in
1274 short | recursive ) echo "Configuration of chise-base 0.25:";;
1279 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1280 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1281 --with-site-includes=PATH List of directories to search first for header files
1283 --with-site-libraries=PATH List of directories to search first for libraries
1285 --with-canna Support the Canna input method
1288 Some influential environment variables:
1289 CC C compiler command
1290 CFLAGS C compiler flags
1291 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1292 nonstandard directory <lib dir>
1293 LIBS libraries to pass to the linker, e.g. -l<library>
1294 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1295 you have headers in a nonstandard directory <include dir>
1297 Use these variables to override the choices made by `configure' or to help
1298 it to find libraries and programs with nonstandard names/locations.
1300 Report bugs to <chise-en@m17n.org>.
1305 if test "$ac_init_help" = "recursive"; then
1306 # If there are subdirs, report their specific --help.
1307 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1308 test -d "$ac_dir" ||
1309 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1317 # A ".." for each directory in $ac_dir_suffix.
1318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1319 case $ac_top_builddir_sub in
1320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1324 ac_abs_top_builddir=$ac_pwd
1325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1326 # for backward compatibility:
1327 ac_top_builddir=$ac_top_build_prefix
1330 .) # We are building in place.
1332 ac_top_srcdir=$ac_top_builddir_sub
1333 ac_abs_top_srcdir=$ac_pwd ;;
1334 [\\/]* | ?:[\\/]* ) # Absolute name.
1335 ac_srcdir=$srcdir$ac_dir_suffix;
1336 ac_top_srcdir=$srcdir
1337 ac_abs_top_srcdir=$srcdir ;;
1339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1340 ac_top_srcdir=$ac_top_build_prefix$srcdir
1341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1345 cd "$ac_dir" || { ac_status=$?; continue; }
1346 # Check for guested configure.
1347 if test -f "$ac_srcdir/configure.gnu"; then
1349 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1350 elif test -f "$ac_srcdir/configure"; then
1352 $SHELL "$ac_srcdir/configure" --help=recursive
1354 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1356 cd "$ac_pwd" || { ac_status=$?; break; }
1360 test -n "$ac_init_help" && exit $ac_status
1361 if $ac_init_version; then
1363 chise-base configure 0.25
1364 generated by GNU Autoconf 2.69
1366 Copyright (C) 2012 Free Software Foundation, Inc.
1367 This configure script is free software; the Free Software Foundation
1368 gives unlimited permission to copy, distribute and modify it.
1373 ## ------------------------ ##
1374 ## Autoconf initialization. ##
1375 ## ------------------------ ##
1377 # ac_fn_c_try_compile LINENO
1378 # --------------------------
1379 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1380 ac_fn_c_try_compile ()
1382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1383 rm -f conftest.$ac_objext
1384 if { { ac_try="$ac_compile"
1386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1387 *) ac_try_echo=$ac_try;;
1389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1390 $as_echo "$ac_try_echo"; } >&5
1391 (eval "$ac_compile") 2>conftest.err
1393 if test -s conftest.err; then
1394 grep -v '^ *+' conftest.err >conftest.er1
1395 cat conftest.er1 >&5
1396 mv -f conftest.er1 conftest.err
1398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1399 test $ac_status = 0; } && {
1400 test -z "$ac_c_werror_flag" ||
1401 test ! -s conftest.err
1402 } && test -s conftest.$ac_objext; then :
1405 $as_echo "$as_me: failed program was:" >&5
1406 sed 's/^/| /' conftest.$ac_ext >&5
1410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1411 as_fn_set_status $ac_retval
1413 } # ac_fn_c_try_compile
1415 # ac_fn_c_try_link LINENO
1416 # -----------------------
1417 # Try to link conftest.$ac_ext, and return whether this succeeded.
1420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421 rm -f conftest.$ac_objext conftest$ac_exeext
1422 if { { ac_try="$ac_link"
1424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1425 *) ac_try_echo=$ac_try;;
1427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428 $as_echo "$ac_try_echo"; } >&5
1429 (eval "$ac_link") 2>conftest.err
1431 if test -s conftest.err; then
1432 grep -v '^ *+' conftest.err >conftest.er1
1433 cat conftest.er1 >&5
1434 mv -f conftest.er1 conftest.err
1436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437 test $ac_status = 0; } && {
1438 test -z "$ac_c_werror_flag" ||
1439 test ! -s conftest.err
1440 } && test -s conftest$ac_exeext && {
1441 test "$cross_compiling" = yes ||
1442 test -x conftest$ac_exeext
1446 $as_echo "$as_me: failed program was:" >&5
1447 sed 's/^/| /' conftest.$ac_ext >&5
1451 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1452 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1453 # interfere with the next link command; also delete a directory that is
1454 # left behind by Apple's compiler. We do this before executing the actions.
1455 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1457 as_fn_set_status $ac_retval
1459 } # ac_fn_c_try_link
1460 cat >config.log <<_ACEOF
1461 This file contains any messages produced by compilers while
1462 running configure, to aid debugging if configure makes a mistake.
1464 It was created by chise-base $as_me 0.25, which was
1465 generated by GNU Autoconf 2.69. Invocation command line was
1477 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1478 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1479 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1480 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1481 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1483 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1484 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1486 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1487 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1488 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1489 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1490 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1491 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1492 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1500 test -z "$as_dir" && as_dir=.
1501 $as_echo "PATH: $as_dir"
1517 # Keep a trace of the command line.
1518 # Strip out --no-create and --no-recursion so they do not pile up.
1519 # Strip out --silent because we don't want to record it for future runs.
1520 # Also quote any args containing shell meta-characters.
1521 # Make two passes to allow for proper duplicate-argument suppression.
1525 ac_must_keep_next=false
1531 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1533 | -silent | --silent | --silen | --sile | --sil)
1536 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1539 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1541 as_fn_append ac_configure_args1 " '$ac_arg'"
1542 if test $ac_must_keep_next = true; then
1543 ac_must_keep_next=false # Got value, back to normal.
1546 *=* | --config-cache | -C | -disable-* | --disable-* \
1547 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1548 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1549 | -with-* | --with-* | -without-* | --without-* | --x)
1550 case "$ac_configure_args0 " in
1551 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1554 -* ) ac_must_keep_next=true ;;
1557 as_fn_append ac_configure_args " '$ac_arg'"
1562 { ac_configure_args0=; unset ac_configure_args0;}
1563 { ac_configure_args1=; unset ac_configure_args1;}
1565 # When interrupted or exit'd, cleanup temporary files, and complete
1566 # config.log. We remove comments because anyway the quotes in there
1567 # would cause problems or look ugly.
1568 # WARNING: Use '\'' to represent an apostrophe within the trap.
1569 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1570 trap 'exit_status=$?
1571 # Save into config.log some information that might help in debugging.
1575 $as_echo "## ---------------- ##
1576 ## Cache variables. ##
1577 ## ---------------- ##"
1579 # The following way of writing the cache mishandles newlines in values,
1581 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1582 eval ac_val=\$$ac_var
1586 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1587 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1590 _ | IFS | as_nl) ;; #(
1591 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1592 *) { eval $ac_var=; unset $ac_var;} ;;
1597 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1598 *${as_nl}ac_space=\ *)
1600 "s/'\''/'\''\\\\'\'''\''/g;
1601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1604 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1611 $as_echo "## ----------------- ##
1612 ## Output variables. ##
1613 ## ----------------- ##"
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1619 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1621 $as_echo "$ac_var='\''$ac_val'\''"
1625 if test -n "$ac_subst_files"; then
1626 $as_echo "## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##"
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1634 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 $as_echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1642 $as_echo "## ----------- ##
1649 test "$ac_signal" != 0 &&
1650 $as_echo "$as_me: caught signal $ac_signal"
1651 $as_echo "$as_me: exit $exit_status"
1653 rm -f core *.core core.conftest.* &&
1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1657 for ac_signal in 1 2 13 15; do
1658 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1662 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1663 rm -f -r conftest* confdefs.h
1665 $as_echo "/* confdefs.h */" > confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_URL "$PACKAGE_URL"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer an explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 # We do not want a PATH search for config.site.
1700 case $CONFIG_SITE in #((
1701 -*) ac_site_file1=./$CONFIG_SITE;;
1702 */*) ac_site_file1=$CONFIG_SITE;;
1703 *) ac_site_file1=./$CONFIG_SITE;;
1705 elif test "x$prefix" != xNONE; then
1706 ac_site_file1=$prefix/share/config.site
1707 ac_site_file2=$prefix/etc/config.site
1709 ac_site_file1=$ac_default_prefix/share/config.site
1710 ac_site_file2=$ac_default_prefix/etc/config.site
1712 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1714 test "x$ac_site_file" = xNONE && continue
1715 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1717 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1718 sed 's/^/| /' "$ac_site_file" >&5
1720 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1722 as_fn_error $? "failed to load site script $ac_site_file
1723 See \`config.log' for more details" "$LINENO" 5; }
1727 if test -r "$cache_file"; then
1728 # Some versions of bash will fail to source /dev/null (special files
1729 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1730 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1732 $as_echo "$as_me: loading cache $cache_file" >&6;}
1734 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1735 *) . "./$cache_file";;
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1740 $as_echo "$as_me: creating cache $cache_file" >&6;}
1744 # Check that the precious variables saved in the cache have kept the same
1746 ac_cache_corrupted=false
1747 for ac_var in $ac_precious_vars; do
1748 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1749 eval ac_new_set=\$ac_env_${ac_var}_set
1750 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1751 eval ac_new_val=\$ac_env_${ac_var}_value
1752 case $ac_old_set,$ac_new_set in
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1755 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1756 ac_cache_corrupted=: ;;
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1759 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1760 ac_cache_corrupted=: ;;
1763 if test "x$ac_old_val" != "x$ac_new_val"; then
1764 # differences in whitespace do not lead to failure.
1765 ac_old_val_w=`echo x $ac_old_val`
1766 ac_new_val_w=`echo x $ac_new_val`
1767 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1769 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1770 ac_cache_corrupted=:
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1773 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1774 eval $ac_var=\$ac_old_val
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1777 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1779 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1782 # Pass precious variables to config.status.
1783 if test "$ac_new_set" = set; then
1785 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1786 *) ac_arg=$ac_var=$ac_new_val ;;
1788 case " $ac_configure_args " in
1789 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1790 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1794 if $ac_cache_corrupted; then
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1798 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1799 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1801 ## -------------------- ##
1802 ## Main body of script. ##
1803 ## -------------------- ##
1806 ac_cpp='$CPP $CPPFLAGS'
1807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1814 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1815 if test -f "$ac_dir/install-sh"; then
1817 ac_install_sh="$ac_aux_dir/install-sh -c"
1819 elif test -f "$ac_dir/install.sh"; then
1821 ac_install_sh="$ac_aux_dir/install.sh -c"
1823 elif test -f "$ac_dir/shtool"; then
1825 ac_install_sh="$ac_aux_dir/shtool install -c"
1829 if test -z "$ac_aux_dir"; then
1830 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1833 # These three variables are undocumented and unsupported,
1834 # and are intended to be withdrawn in a future Autoconf release.
1835 # They can cause serious problems if a builder's source tree is in a directory
1836 # whose full name contains unusual characters.
1837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1842 # Make sure we can run config.sub.
1843 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1844 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1847 $as_echo_n "checking build system type... " >&6; }
1848 if ${ac_cv_build+:} false; then :
1849 $as_echo_n "(cached) " >&6
1851 ac_build_alias=$build_alias
1852 test "x$ac_build_alias" = x &&
1853 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1854 test "x$ac_build_alias" = x &&
1855 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1856 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1857 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1861 $as_echo "$ac_cv_build" >&6; }
1862 case $ac_cv_build in
1864 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1867 ac_save_IFS=$IFS; IFS='-'
1873 # Remember, the first character of IFS is used to create $*,
1874 # except with old shells:
1877 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1881 $as_echo_n "checking host system type... " >&6; }
1882 if ${ac_cv_host+:} false; then :
1883 $as_echo_n "(cached) " >&6
1885 if test "x$host_alias" = x; then
1886 ac_cv_host=$ac_cv_build
1888 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1889 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1894 $as_echo "$ac_cv_host" >&6; }
1897 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1900 ac_save_IFS=$IFS; IFS='-'
1906 # Remember, the first character of IFS is used to create $*,
1907 # except with old shells:
1910 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1914 $as_echo_n "checking target system type... " >&6; }
1915 if ${ac_cv_target+:} false; then :
1916 $as_echo_n "(cached) " >&6
1918 if test "x$target_alias" = x; then
1919 ac_cv_target=$ac_cv_host
1921 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1922 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1927 $as_echo "$ac_cv_target" >&6; }
1928 case $ac_cv_target in
1930 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1932 target=$ac_cv_target
1933 ac_save_IFS=$IFS; IFS='-'
1939 # Remember, the first character of IFS is used to create $*,
1940 # except with old shells:
1943 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1946 # The aliases save the names the user supplied, while $host etc.
1947 # will get canonicalized.
1948 test -n "$target_alias" &&
1949 test "$program_prefix$program_suffix$program_transform_name" = \
1951 program_prefix=${target_alias}-
1953 # Checks for programs.
1955 ac_cpp='$CPP $CPPFLAGS'
1956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1959 if test -n "$ac_tool_prefix"; then
1960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1963 $as_echo_n "checking for $ac_word... " >&6; }
1964 if ${ac_cv_prog_CC+:} false; then :
1965 $as_echo_n "(cached) " >&6
1967 if test -n "$CC"; then
1968 ac_cv_prog_CC="$CC" # Let the user override the test.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 if test -n "$CC"; then
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1990 $as_echo "$CC" >&6; }
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1993 $as_echo "no" >&6; }
1998 if test -z "$ac_cv_prog_CC"; then
2000 # Extract the first word of "gcc", so it can be a program name with args.
2001 set dummy gcc; ac_word=$2
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2003 $as_echo_n "checking for $ac_word... " >&6; }
2004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2005 $as_echo_n "(cached) " >&6
2007 if test -n "$ac_ct_CC"; then
2008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir=.
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2017 ac_cv_prog_ac_ct_CC="gcc"
2018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2028 if test -n "$ac_ct_CC"; then
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2030 $as_echo "$ac_ct_CC" >&6; }
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2033 $as_echo "no" >&6; }
2036 if test "x$ac_ct_CC" = x; then
2039 case $cross_compiling:$ac_tool_warned in
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2043 ac_tool_warned=yes ;;
2051 if test -z "$CC"; then
2052 if test -n "$ac_tool_prefix"; then
2053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}cc; ac_word=$2
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2056 $as_echo_n "checking for $ac_word... " >&6; }
2057 if ${ac_cv_prog_CC+:} false; then :
2058 $as_echo_n "(cached) " >&6
2060 if test -n "$CC"; then
2061 ac_cv_prog_CC="$CC" # Let the user override the test.
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_CC="${ac_tool_prefix}cc"
2071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 if test -n "$CC"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2083 $as_echo "$CC" >&6; }
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2086 $as_echo "no" >&6; }
2092 if test -z "$CC"; then
2093 # Extract the first word of "cc", so it can be a program name with args.
2094 set dummy cc; ac_word=$2
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2096 $as_echo_n "checking for $ac_word... " >&6; }
2097 if ${ac_cv_prog_CC+:} false; then :
2098 $as_echo_n "(cached) " >&6
2100 if test -n "$CC"; then
2101 ac_cv_prog_CC="$CC" # Let the user override the test.
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2112 ac_prog_rejected=yes
2116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test $ac_prog_rejected = yes; then
2124 # We found a bogon in the path, so make sure we never use it.
2125 set dummy $ac_cv_prog_CC
2127 if test $# != 0; then
2128 # We chose a different compiler from the bogus one.
2129 # However, it has the same basename, so the bogon will be chosen
2130 # first if we set CC to just the basename; use the full file name.
2132 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2138 if test -n "$CC"; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2140 $as_echo "$CC" >&6; }
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2143 $as_echo "no" >&6; }
2148 if test -z "$CC"; then
2149 if test -n "$ac_tool_prefix"; then
2150 for ac_prog in cl.exe
2152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if ${ac_cv_prog_CC+:} false; then :
2157 $as_echo_n "(cached) " >&6
2159 if test -n "$CC"; then
2160 ac_cv_prog_CC="$CC" # Let the user override the test.
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2169 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2182 $as_echo "$CC" >&6; }
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2185 $as_echo "no" >&6; }
2189 test -n "$CC" && break
2192 if test -z "$CC"; then
2194 for ac_prog in cl.exe
2196 # Extract the first word of "$ac_prog", so it can be a program name with args.
2197 set dummy $ac_prog; ac_word=$2
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2199 $as_echo_n "checking for $ac_word... " >&6; }
2200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2201 $as_echo_n "(cached) " >&6
2203 if test -n "$ac_ct_CC"; then
2204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 ac_cv_prog_ac_ct_CC="$ac_prog"
2214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2224 if test -n "$ac_ct_CC"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2226 $as_echo "$ac_ct_CC" >&6; }
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2229 $as_echo "no" >&6; }
2233 test -n "$ac_ct_CC" && break
2236 if test "x$ac_ct_CC" = x; then
2239 case $cross_compiling:$ac_tool_warned in
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2243 ac_tool_warned=yes ;;
2252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 as_fn_error $? "no acceptable C compiler found in \$PATH
2255 See \`config.log' for more details" "$LINENO" 5; }
2257 # Provide some information about the compiler.
2258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2261 for ac_option in --version -v -V -qversion; do
2262 { { ac_try="$ac_compiler $ac_option >&5"
2264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2271 if test -s conftest.err; then
2273 ... rest of stderr output deleted ...
2274 10q' conftest.err >conftest.er1
2275 cat conftest.er1 >&5
2277 rm -f conftest.er1 conftest.err
2278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279 test $ac_status = 0; }
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2293 ac_clean_files_save=$ac_clean_files
2294 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2295 # Try to create an executable without -o first, disregard a.out.
2296 # It will help us diagnose broken compilers, and finding out an intuition
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2299 $as_echo_n "checking whether the C compiler works... " >&6; }
2300 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2302 # The possible output files:
2303 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2306 for ac_file in $ac_files
2309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2310 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2315 if { { ac_try="$ac_link_default"
2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2318 *) ac_try_echo=$ac_try;;
2320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2321 $as_echo "$ac_try_echo"; } >&5
2322 (eval "$ac_link_default") 2>&5
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; }; then :
2326 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2328 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2329 # so that the user can short-circuit this test for compilers unknown to
2331 for ac_file in $ac_files ''
2333 test -f "$ac_file" || continue
2335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2338 # We found the default executable, but exeext='' is most
2342 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2344 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2346 # We set ac_cv_exeext here because the later test for it is not
2347 # safe: cross compilers may not add the suffix if given an `-o'
2348 # argument, so we may need to know it at that point already.
2349 # Even if this section looks crufty: it has the advantage of
2356 test "$ac_cv_exeext" = no && ac_cv_exeext=
2361 if test -z "$ac_file"; then :
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 as_fn_error 77 "C compiler cannot create executables
2370 See \`config.log' for more details" "$LINENO" 5; }
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2373 $as_echo "yes" >&6; }
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2376 $as_echo_n "checking for C compiler default output file name... " >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2378 $as_echo "$ac_file" >&6; }
2379 ac_exeext=$ac_cv_exeext
2381 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2382 ac_clean_files=$ac_clean_files_save
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2384 $as_echo_n "checking for suffix of executables... " >&6; }
2385 if { { ac_try="$ac_link"
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2391 $as_echo "$ac_try_echo"; } >&5
2392 (eval "$ac_link") 2>&5
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; }; then :
2396 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2397 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2398 # work properly (i.e., refer to `conftest.exe'), while it won't with
2400 for ac_file in conftest.exe conftest conftest.*; do
2401 test -f "$ac_file" || continue
2403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2404 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2413 See \`config.log' for more details" "$LINENO" 5; }
2415 rm -f conftest conftest$ac_cv_exeext
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2417 $as_echo "$ac_cv_exeext" >&6; }
2419 rm -f conftest.$ac_ext
2420 EXEEXT=$ac_cv_exeext
2422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 /* end confdefs.h. */
2428 FILE *f = fopen ("conftest.out", "w");
2429 return ferror (f) || fclose (f) != 0;
2435 ac_clean_files="$ac_clean_files conftest.out"
2436 # Check that the compiler produces executables we can run. If not, either
2437 # the compiler is broken, or we cross compile.
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2439 $as_echo_n "checking whether we are cross compiling... " >&6; }
2440 if test "$cross_compiling" != yes; then
2441 { { ac_try="$ac_link"
2443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2444 *) ac_try_echo=$ac_try;;
2446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2447 $as_echo "$ac_try_echo"; } >&5
2448 (eval "$ac_link") 2>&5
2450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2451 test $ac_status = 0; }
2452 if { ac_try='./conftest$ac_cv_exeext'
2453 { { case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 $as_echo "$ac_try_echo"; } >&5
2459 (eval "$ac_try") 2>&5
2461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2462 test $ac_status = 0; }; }; then
2465 if test "$cross_compiling" = maybe; then
2468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error $? "cannot run C compiled programs.
2471 If you meant to cross compile, use \`--host'.
2472 See \`config.log' for more details" "$LINENO" 5; }
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2477 $as_echo "$cross_compiling" >&6; }
2479 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2480 ac_clean_files=$ac_clean_files_save
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2482 $as_echo_n "checking for suffix of object files... " >&6; }
2483 if ${ac_cv_objext+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2497 rm -f conftest.o conftest.obj
2498 if { { ac_try="$ac_compile"
2500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2504 $as_echo "$ac_try_echo"; } >&5
2505 (eval "$ac_compile") 2>&5
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; }; then :
2509 for ac_file in conftest.o conftest.obj conftest.*; do
2510 test -f "$ac_file" || continue;
2512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2513 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2518 $as_echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 as_fn_error $? "cannot compute suffix of object files: cannot compile
2524 See \`config.log' for more details" "$LINENO" 5; }
2526 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2529 $as_echo "$ac_cv_objext" >&6; }
2530 OBJEXT=$ac_cv_objext
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2533 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2534 if ${ac_cv_c_compiler_gnu+:} false; then :
2535 $as_echo_n "(cached) " >&6
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2551 if ac_fn_c_try_compile "$LINENO"; then :
2556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2561 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2562 if test $ac_compiler_gnu = yes; then
2567 ac_test_CFLAGS=${CFLAGS+set}
2568 ac_save_CFLAGS=$CFLAGS
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2571 if ${ac_cv_prog_cc_g+:} false; then :
2572 $as_echo_n "(cached) " >&6
2574 ac_save_c_werror_flag=$ac_c_werror_flag
2575 ac_c_werror_flag=yes
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2589 if ac_fn_c_try_compile "$LINENO"; then :
2593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2594 /* end confdefs.h. */
2604 if ac_fn_c_try_compile "$LINENO"; then :
2607 ac_c_werror_flag=$ac_save_c_werror_flag
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2620 if ac_fn_c_try_compile "$LINENO"; then :
2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2628 ac_c_werror_flag=$ac_save_c_werror_flag
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2631 $as_echo "$ac_cv_prog_cc_g" >&6; }
2632 if test "$ac_test_CFLAGS" = set; then
2633 CFLAGS=$ac_save_CFLAGS
2634 elif test $ac_cv_prog_cc_g = yes; then
2635 if test "$GCC" = yes; then
2641 if test "$GCC" = yes; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2648 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2649 if ${ac_cv_prog_cc_c89+:} false; then :
2650 $as_echo_n "(cached) " >&6
2652 ac_cv_prog_cc_c89=no
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2659 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2660 struct buf { int x; };
2661 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2662 static char *e (p, i)
2668 static char *f (char * (*g) (char **, int), char **p, ...)
2673 s = g (p, va_arg (v,int));
2678 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2679 function prototypes and stuff, but not '\xHH' hex character constants.
2680 These don't provoke an error unfortunately, instead are silently treated
2681 as 'x'. The following induces an error, until -std is added to get
2682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2683 array size at least. It's necessary to write '\x00'==0 to get something
2684 that's true only with -std. */
2685 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2687 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2688 inside strings and character constants. */
2690 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2692 int test (int i, double x);
2693 struct s1 {int (*f) (int a);};
2694 struct s2 {int (*f) (double a);};
2695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2706 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2707 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2709 CC="$ac_save_CC $ac_arg"
2710 if ac_fn_c_try_compile "$LINENO"; then :
2711 ac_cv_prog_cc_c89=$ac_arg
2713 rm -f core conftest.err conftest.$ac_objext
2714 test "x$ac_cv_prog_cc_c89" != "xno" && break
2716 rm -f conftest.$ac_ext
2721 case "x$ac_cv_prog_cc_c89" in
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2724 $as_echo "none needed" >&6; } ;;
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2727 $as_echo "unsupported" >&6; } ;;
2729 CC="$CC $ac_cv_prog_cc_c89"
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2731 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2733 if test "x$ac_cv_prog_cc_c89" != xno; then :
2738 ac_cpp='$CPP $CPPFLAGS'
2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2744 # AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
2745 # /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
2755 if test -f CVS/Root; then
2756 cvs_root=`cat CVS/Root`
2757 lemi_cvs_root=`cat CVS/Root|sed 's/chise/root/'`
2759 cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/chise'
2760 lemi_cvs_root=':pserver:anonymous@cvs.m17n.org:/cvs/root'
2763 xemacs_configure_args=`echo $ac_configure_args \
2764 | sed 's/--with-site-includes/--site-includes/' \
2765 | sed 's/--with-site-libraries/--site-libraries/' \
2766 | sed "s/'CC=/'--compiler=/"`
2768 # Settings for optional paths
2770 # Check whether --with-site_includes was given.
2771 if test "${with_site_includes+set}" = set; then :
2772 withval=$with_site_includes; #xemacs_site_includes="$with_site_includes"
2775 if test -d /sw/include; then
2776 xemacs_site_includes="/sw/include"
2777 xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
2779 if test -f /sw/include/db3/db.h; then
2780 xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
2781 elif test -f /sw/include/db4/db.h; then
2782 xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
2784 if test x"$with_canna" != x"no"; then
2785 if test -d /sw/include/canna; then
2786 xemacs_opts="$xemacs_opts --with-canna"
2795 # Check whether --with-site_libraries was given.
2796 if test "${with_site_libraries+set}" = set; then :
2797 withval=$with_site_libraries; #xemacs_site_libraries="$with_site_libraries"
2800 if test -d /sw/include; then
2801 xemacs_site_libraries="/sw/lib"
2808 # Check whether --with-canna was given.
2809 if test "${with_canna+set}" = set; then :
2810 withval=$with_canna; #xemacs_opts="$xemacs_opts --with-canna"
2815 # Checks for libraries.
2816 if test x"$xemacs_site_includes" != x""; then
2817 xemacs_opts="$xemacs_opts --site-includes=$xemacs_site_includes"
2820 if test x"$xemacs_site_libraries" != x""; then
2821 xemacs_opts="$xemacs_opts --site-libraries=$xemacs_site_libraries"
2824 if test x"$with_canna" != x"no"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jrKanjiControl in -lcanna" >&5
2827 $as_echo_n "checking for jrKanjiControl in -lcanna... " >&6; }
2828 if ${ac_cv_lib_canna_jrKanjiControl+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 ac_check_lib_save_LIBS=$LIBS
2832 LIBS="-lcanna $LIBS"
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2836 /* Override any GCC internal prototype to avoid an error.
2837 Use char because int might match the return type of a GCC
2838 builtin and then its argument prototype would still apply. */
2842 char jrKanjiControl ();
2846 return jrKanjiControl ();
2851 if ac_fn_c_try_link "$LINENO"; then :
2852 ac_cv_lib_canna_jrKanjiControl=yes
2854 ac_cv_lib_canna_jrKanjiControl=no
2856 rm -f core conftest.err conftest.$ac_objext \
2857 conftest$ac_exeext conftest.$ac_ext
2858 LIBS=$ac_check_lib_save_LIBS
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_canna_jrKanjiControl" >&5
2861 $as_echo "$ac_cv_lib_canna_jrKanjiControl" >&6; }
2862 if test "x$ac_cv_lib_canna_jrKanjiControl" = xyes; then :
2863 xemacs_opts="$xemacs_opts --with-canna"
2869 mac_product_name=`sw_vers |grep ProductName|cut -f2`
2870 mac_product_version=`sw_vers |grep ProductVersion|cut -f2`
2871 mac_product_major_version=`echo $mac_product_version|cut -d'.' -f1`
2872 mac_product_minor_version=`echo $mac_product_version|cut -d'.' -f2`
2874 if test "$os_name" = "Darwin" -a \
2875 "$mac_product_name" = "Mac OS X" -a \
2876 $mac_product_major_version -eq 10 -a \
2877 $mac_product_minor_version -ge 7
2879 xemacs_opts="$xemacs_opts '--ldflags=-Wl,-no_pie'"
2882 # Checks for header files.
2884 # Checks for typedefs, structures, and compiler characteristics.
2888 # Checks for library functions.
2892 #AC_CHECK_FUNCS(strnlen)
2894 ac_config_files="$ac_config_files Makefile"
2896 cat >confcache <<\_ACEOF
2897 # This file is a shell script that caches the results of configure
2898 # tests run on this system so they can be shared between configure
2899 # scripts and configure runs, see configure's option --config-cache.
2900 # It is not useful on other systems. If it contains results you don't
2901 # want to keep, you may remove or edit it.
2903 # config.status only pays attention to the cache file if you give it
2904 # the --recheck option to rerun configure.
2906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2912 # The following way of writing the cache mishandles newlines in values,
2913 # but we know of no workaround that is simple, portable, and efficient.
2914 # So, we kill variables containing newlines.
2915 # Ultrix sh set writes to stderr and can't be redirected directly,
2916 # and sets the high bit in the cache file unless we assign to the vars.
2918 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2919 eval ac_val=\$$ac_var
2923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2927 _ | IFS | as_nl) ;; #(
2928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2929 *) { eval $ac_var=; unset $ac_var;} ;;
2935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2936 *${as_nl}ac_space=\ *)
2937 # `set' does not quote correctly, so add quotes: double-quote
2938 # substitution turns \\\\ into \\, and sed turns \\ into \.
2941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2944 # `set' quotes correctly as required by POSIX, so do not add quotes.
2945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2959 if test -w "$cache_file"; then
2960 if test "x$cache_file" != "x/dev/null"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2962 $as_echo "$as_me: updating cache $cache_file" >&6;}
2963 if test ! -f "$cache_file" || test -h "$cache_file"; then
2964 cat confcache >"$cache_file"
2966 case $cache_file in #(
2968 mv -f confcache "$cache_file"$$ &&
2969 mv -f "$cache_file"$$ "$cache_file" ;; #(
2971 mv -f confcache "$cache_file" ;;
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2977 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2982 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2983 # Let make expand exec_prefix.
2984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2986 # Transform confdefs.h into DEFS.
2987 # Protect against shell expansion while executing Makefile rules.
2988 # Protect against Makefile macro expansion.
2990 # If the first sed substitution is executed (which looks for macros that
2991 # take arguments), then branch to the quote section. Otherwise,
2992 # look for a macro that doesn't take arguments.
3002 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3004 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3008 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3021 DEFS=`sed -n "$ac_script" confdefs.h`
3027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3028 # 1. Remove the extension, and $U if already installed.
3029 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3030 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3031 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3032 # will be set to the directory where LIBOBJS objects are built.
3033 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3034 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3038 LTLIBOBJS=$ac_ltlibobjs
3042 : "${CONFIG_STATUS=./config.status}"
3044 ac_clean_files_save=$ac_clean_files
3045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3051 # Generated by $as_me.
3052 # Run this file to recreate the current configuration.
3053 # Compiler output produced by configure, useful for debugging
3054 # configure, is in config.log if it exists.
3060 SHELL=\${CONFIG_SHELL-$SHELL}
3063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3064 ## -------------------- ##
3065 ## M4sh Initialization. ##
3066 ## -------------------- ##
3068 # Be more Bourne compatible
3069 DUALCASE=1; export DUALCASE # for MKS sh
3070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3073 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3074 # is contrary to our usage. Disable this feature.
3075 alias -g '${1+"$@"}'='"$@"'
3076 setopt NO_GLOB_SUBST
3078 case `(set -o) 2>/dev/null` in #(
3090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3091 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3094 # Prefer a ksh shell builtin over an external printf program on Solaris,
3095 # but without wasting forks for bash or zsh.
3096 if test -z "$BASH_VERSION$ZSH_VERSION" \
3097 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3098 as_echo='print -r --'
3099 as_echo_n='print -rn --'
3100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3101 as_echo='printf %s\n'
3102 as_echo_n='printf %s'
3104 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3105 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3106 as_echo_n='/usr/ucb/echo -n'
3108 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3109 as_echo_n_body='eval
3113 expr "X$arg" : "X\\(.*\\)$as_nl";
3114 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3116 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3118 export as_echo_n_body
3119 as_echo_n='sh -c $as_echo_n_body as_echo'
3122 as_echo='sh -c $as_echo_body as_echo'
3125 # The user is always right.
3126 if test "${PATH_SEPARATOR+set}" != set; then
3128 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3129 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3136 # We need space, tab and new line, in precisely that order. Quoting is
3137 # there to prevent editors from complaining about space-tab.
3138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3139 # splitting by setting IFS to empty value.)
3142 # Find who we are. Look in the path if we contain no directory separator.
3145 *[\\/]* ) as_myself=$0 ;;
3146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir=.
3151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3157 # We did not find ourselves, most probably we were run as `sh COMMAND'
3158 # in which case we are not to be found in the path.
3159 if test "x$as_myself" = x; then
3162 if test ! -f "$as_myself"; then
3163 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3167 # Unset variables that we do not need and which cause bugs (e.g. in
3168 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3169 # suppresses any "Segmentation fault" message there. '((' could
3170 # trigger a bug in pdksh 5.2.14.
3171 for as_var in BASH_ENV ENV MAIL MAILPATH
3172 do eval test x\${$as_var+set} = xset \
3173 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3189 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3190 # ----------------------------------------
3191 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3192 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3193 # script with STATUS, using 1 if that was 0.
3196 as_status=$1; test $as_status -eq 0 && as_status=1
3198 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3199 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3201 $as_echo "$as_me: error: $2" >&2
3202 as_fn_exit $as_status
3206 # as_fn_set_status STATUS
3207 # -----------------------
3208 # Set $? to STATUS, without forking.
3212 } # as_fn_set_status
3216 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3226 # Portably unset VAR.
3229 { eval $1=; unset $1;}
3231 as_unset=as_fn_unset
3232 # as_fn_append VAR VALUE
3233 # ----------------------
3234 # Append the text in VALUE to the end of the definition contained in VAR. Take
3235 # advantage of any shell optimizations that allow amortized linear growth over
3236 # repeated appends, instead of the typical quadratic growth present in naive
3238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3239 eval 'as_fn_append ()
3250 # as_fn_arith ARG...
3251 # ------------------
3252 # Perform arithmetic evaluation on the ARGs, and store the result in the
3253 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3254 # must be portable across $(()) and expr.
3255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3256 eval 'as_fn_arith ()
3263 as_val=`expr "$@" || test $? -eq 1`
3268 if expr a : '\(a\)' >/dev/null 2>&1 &&
3269 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3275 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3276 as_basename=basename
3281 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3287 as_me=`$as_basename -- "$0" ||
3288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3289 X"$0" : 'X\(//\)$' \| \
3290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3292 sed '/^.*\/\([^/][^/]*\)\/*$/{
3306 # Avoid depending upon Character Ranges.
3307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3310 as_cr_digits='0123456789'
3311 as_cr_alnum=$as_cr_Letters$as_cr_digits
3313 ECHO_C= ECHO_N= ECHO_T=
3314 case `echo -n x` in #(((((
3316 case `echo 'xy\c'` in
3317 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3319 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3326 rm -f conf$$ conf$$.exe conf$$.file
3327 if test -d conf$$.dir; then
3328 rm -f conf$$.dir/conf$$.file
3331 mkdir conf$$.dir 2>/dev/null
3333 if (echo >conf$$.file) 2>/dev/null; then
3334 if ln -s conf$$.file conf$$ 2>/dev/null; then
3336 # ... but there are two gotchas:
3337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339 # In both cases, we have to default to `cp -pR'.
3340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3342 elif ln conf$$.file conf$$ 2>/dev/null; then
3350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3351 rmdir conf$$.dir 2>/dev/null
3356 # Create "$as_dir" as a directory, including parents if necessary.
3361 -*) as_dir=./$as_dir;;
3363 test -d "$as_dir" || eval $as_mkdir_p || {
3367 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3368 *) as_qdir=$as_dir;;
3370 as_dirs="'$as_qdir' $as_dirs"
3371 as_dir=`$as_dirname -- "$as_dir" ||
3372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3373 X"$as_dir" : 'X\(//\)[^/]' \| \
3374 X"$as_dir" : 'X\(//\)$' \| \
3375 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3376 $as_echo X"$as_dir" |
3377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3394 test -d "$as_dir" && break
3396 test -z "$as_dirs" || eval "mkdir $as_dirs"
3397 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3401 if mkdir -p . 2>/dev/null; then
3402 as_mkdir_p='mkdir -p "$as_dir"'
3404 test -d ./-p && rmdir ./-p
3409 # as_fn_executable_p FILE
3410 # -----------------------
3411 # Test if FILE is an executable regular file.
3412 as_fn_executable_p ()
3414 test -f "$1" && test -x "$1"
3415 } # as_fn_executable_p
3417 as_executable_p=as_fn_executable_p
3419 # Sed expression to map a string onto a valid CPP name.
3420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3422 # Sed expression to map a string onto a valid variable name.
3423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3427 ## ----------------------------------- ##
3428 ## Main body of $CONFIG_STATUS script. ##
3429 ## ----------------------------------- ##
3431 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3434 # Save the log message, to keep $0 and so on meaningful, and to
3435 # report actual input values of CONFIG_FILES etc. instead of their
3436 # values after options handling.
3438 This file was extended by chise-base $as_me 0.25, which was
3439 generated by GNU Autoconf 2.69. Invocation command line was
3441 CONFIG_FILES = $CONFIG_FILES
3442 CONFIG_HEADERS = $CONFIG_HEADERS
3443 CONFIG_LINKS = $CONFIG_LINKS
3444 CONFIG_COMMANDS = $CONFIG_COMMANDS
3447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3452 case $ac_config_files in *"
3453 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3459 # Files that config.status was made for.
3460 config_files="$ac_config_files"
3464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3466 \`$as_me' instantiates files and other configuration actions
3467 from templates according to the current configuration. Unless the files
3468 and actions are specified as TAGs, all are instantiated by default.
3470 Usage: $0 [OPTION]... [TAG]...
3472 -h, --help print this help, then exit
3473 -V, --version print version number and configuration settings, then exit
3474 --config print configuration, then exit
3475 -q, --quiet, --silent
3476 do not print progress messages
3477 -d, --debug don't remove temporary files
3478 --recheck update $as_me by reconfiguring in the same conditions
3479 --file=FILE[:TEMPLATE]
3480 instantiate the configuration file FILE
3482 Configuration files:
3485 Report bugs to <chise-en@m17n.org>."
3488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3489 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3491 chise-base config.status 0.25
3492 configured by $0, generated by GNU Autoconf 2.69,
3493 with options \\"\$ac_cs_config\\"
3495 Copyright (C) 2012 Free Software Foundation, Inc.
3496 This config.status script is free software; the Free Software Foundation
3497 gives unlimited permission to copy, distribute and modify it."
3501 test -n "\$AWK" || AWK=awk
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3505 # The default lists apply if the user does not specify any file.
3511 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3512 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3516 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3528 # Handling of the options.
3529 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3531 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3532 $as_echo "$ac_cs_version"; exit ;;
3533 --config | --confi | --conf | --con | --co | --c )
3534 $as_echo "$ac_cs_config"; exit ;;
3535 --debug | --debu | --deb | --de | --d | -d )
3537 --file | --fil | --fi | --f )
3540 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3541 '') as_fn_error $? "missing file argument" ;;
3543 as_fn_append CONFIG_FILES " '$ac_optarg'"
3544 ac_need_defaults=false;;
3545 --he | --h | --help | --hel | -h )
3546 $as_echo "$ac_cs_usage"; exit ;;
3547 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3548 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3552 -*) as_fn_error $? "unrecognized option: \`$1'
3553 Try \`$0 --help' for more information." ;;
3555 *) as_fn_append ac_config_targets " $1"
3556 ac_need_defaults=false ;;
3562 ac_configure_extra_args=
3564 if $ac_cs_silent; then
3566 ac_configure_extra_args="$ac_configure_extra_args --silent"
3570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3571 if \$ac_cs_recheck; then
3572 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3574 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3575 CONFIG_SHELL='$SHELL'
3581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3585 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3586 ## Running $as_me. ##
3592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3597 # Handling of arguments.
3598 for ac_config_target in $ac_config_targets
3600 case $ac_config_target in
3601 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3603 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3608 # If the user did not use the arguments to specify the items to instantiate,
3609 # then the envvar interface is used. Set only those that are not.
3610 # We use the long form for the default assignment because of an extremely
3611 # bizarre bug on SunOS 4.1.3.
3612 if $ac_need_defaults; then
3613 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3616 # Have a temporary directory for convenience. Make it in the build tree
3617 # simply because there is no reason against having it here, and in addition,
3618 # creating and moving files from /tmp can sometimes cause problems.
3619 # Hook for its removal unless debugging.
3620 # Note that there is a small window in which the directory will not be cleaned:
3621 # after its creation but before its name has been assigned to `$tmp'.
3625 trap 'exit_status=$?
3627 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3629 trap 'as_fn_exit 1' 1 2 13 15
3631 # Create a (secure) tmp directory for tmp files.
3634 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3638 tmp=./conf$$-$RANDOM
3639 (umask 077 && mkdir "$tmp")
3640 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3643 # Set up the scripts for CONFIG_FILES section.
3644 # No need to generate them if there are no CONFIG_FILES.
3645 # This happens for instance with `./config.status config.h'.
3646 if test -n "$CONFIG_FILES"; then
3649 ac_cr=`echo X | tr X '\015'`
3650 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3651 # But we know of no other shell where ac_cr would be empty at this
3652 # point, so we can use a bashism as a fallback.
3653 if test "x$ac_cr" = x; then
3654 eval ac_cr=\$\'\\r\'
3656 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3657 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3663 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3668 echo "cat >conf$$subs.awk <<_ACEOF" &&
3669 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3672 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3673 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3675 for ac_last_try in false false false false false :; do
3676 . ./conf$$subs.sh ||
3677 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3679 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3680 if test $ac_delim_n = $ac_delim_num; then
3682 elif $ac_last_try; then
3683 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3685 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3691 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3695 s/^/S["/; s/!.*/"]=/
3705 s/\(.\{148\}\)..*/\1/
3707 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3712 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3719 s/\(.\{148\}\)..*/\1/
3721 s/["\\]/\\&/g; s/^/"/; s/$/"/
3725 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3730 ' <conf$$subs.awk | sed '
3735 ' >>$CONFIG_STATUS || ac_write_fail=1
3736 rm -f conf$$subs.awk
3737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3739 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3740 for (key in S) S_is_set[key] = 1
3746 nfields = split(line, field, "@")
3748 len = length(field[1])
3749 for (i = 2; i < nfields; i++) {
3751 keylen = length(key)
3752 if (S_is_set[key]) {
3754 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3755 len += length(value) + length(field[++i])
3766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3767 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3768 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3771 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3772 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3775 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3776 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3777 # trailing colons and then remove the whole line if VPATH becomes empty
3778 # (actually we leave an empty line to preserve line numbers).
3779 if test "x$srcdir" = x.; then
3780 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3799 fi # test -n "$CONFIG_FILES"
3802 eval set X " :F $CONFIG_FILES "
3807 :[FHLC]) ac_mode=$ac_tag; continue;;
3809 case $ac_mode$ac_tag in
3811 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3812 :[FH]-) ac_tag=-:-;;
3813 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3830 -) ac_f="$ac_tmp/stdin";;
3831 *) # Look for the file first in the build tree, then in the source tree
3832 # (if the path is not absolute). The absolute path cannot be DOS-style,
3833 # because $ac_f cannot contain `:'.
3837 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3839 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3841 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3842 as_fn_append ac_file_inputs " '$ac_f'"
3845 # Let's still pretend it is `configure' which instantiates (i.e., don't
3846 # use $as_me), people would be surprised to read:
3847 # /* config.h. Generated by config.status. */
3848 configure_input='Generated from '`
3849 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3851 if test x"$ac_file" != x-; then
3852 configure_input="$ac_file. $configure_input"
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3854 $as_echo "$as_me: creating $ac_file" >&6;}
3856 # Neutralize special characters interpreted by sed in replacement strings.
3857 case $configure_input in #(
3858 *\&* | *\|* | *\\* )
3859 ac_sed_conf_input=`$as_echo "$configure_input" |
3860 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3861 *) ac_sed_conf_input=$configure_input;;
3865 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3871 ac_dir=`$as_dirname -- "$ac_file" ||
3872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3873 X"$ac_file" : 'X\(//\)[^/]' \| \
3874 X"$ac_file" : 'X\(//\)$' \| \
3875 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3876 $as_echo X"$ac_file" |
3877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3894 as_dir="$ac_dir"; as_fn_mkdir_p
3898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3900 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3901 # A ".." for each directory in $ac_dir_suffix.
3902 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3903 case $ac_top_builddir_sub in
3904 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3905 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3908 ac_abs_top_builddir=$ac_pwd
3909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3910 # for backward compatibility:
3911 ac_top_builddir=$ac_top_build_prefix
3914 .) # We are building in place.
3916 ac_top_srcdir=$ac_top_builddir_sub
3917 ac_abs_top_srcdir=$ac_pwd ;;
3918 [\\/]* | ?:[\\/]* ) # Absolute name.
3919 ac_srcdir=$srcdir$ac_dir_suffix;
3920 ac_top_srcdir=$srcdir
3921 ac_abs_top_srcdir=$srcdir ;;
3923 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3924 ac_top_srcdir=$ac_top_build_prefix$srcdir
3925 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3939 # If the template does not know about datarootdir, expand it.
3940 # FIXME: This hack should be removed a few years after 2.60.
3941 ac_datarootdir_hack=; ac_datarootdir_seen=
3952 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3953 *datarootdir*) ac_datarootdir_seen=yes;;
3954 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3956 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3959 ac_datarootdir_hack='
3960 s&@datadir@&$datadir&g
3961 s&@docdir@&$docdir&g
3962 s&@infodir@&$infodir&g
3963 s&@localedir@&$localedir&g
3964 s&@mandir@&$mandir&g
3965 s&\\\${datarootdir}&$datarootdir&g' ;;
3969 # Neutralize VPATH when `$srcdir' = `.'.
3970 # Shell code in configure.ac might set extrasub.
3971 # FIXME: do we really want to maintain this feature?
3972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3973 ac_sed_extra="$ac_vpsub
3976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3979 s|@configure_input@|$ac_sed_conf_input|;t t
3980 s&@top_builddir@&$ac_top_builddir_sub&;t t
3981 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3982 s&@srcdir@&$ac_srcdir&;t t
3983 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3984 s&@top_srcdir@&$ac_top_srcdir&;t t
3985 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3986 s&@builddir@&$ac_builddir&;t t
3987 s&@abs_builddir@&$ac_abs_builddir&;t t
3988 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3989 $ac_datarootdir_hack
3991 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3992 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3994 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3995 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3996 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3997 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3999 which seems to be undefined. Please make sure it is defined" >&5
4000 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4001 which seems to be undefined. Please make sure it is defined" >&2;}
4003 rm -f "$ac_tmp/stdin"
4005 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4006 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4020 ac_clean_files=$ac_clean_files_save
4022 test $ac_write_fail = 0 ||
4023 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4026 # configure is writing to config.log, and then calls config.status.
4027 # config.status does its own redirection, appending to config.log.
4028 # Unfortunately, on DOS this fails, as config.log is still kept open
4029 # by configure, so config.status won't be able to write to it; its
4030 # output is simply discarded. So we exec the FD to /dev/null,
4031 # effectively closing config.log, so it can be properly (re)opened and
4032 # appended to by config.status. When coming back to configure, we
4033 # need to make the FD available again.
4034 if test "$no_create" != yes; then
4036 ac_config_status_args=
4037 test "$silent" = yes &&
4038 ac_config_status_args="$ac_config_status_args --quiet"
4040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4043 # would make configure fail if this is the last instruction.
4044 $ac_cs_success || as_fn_exit 1
4046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4048 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}