2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libjava version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
557 PACKAGE_NAME='libjava'
558 PACKAGE_TARNAME='libjava'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='libjava version-unused'
564 ac_unique_file="java/lang/System.java"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 enable_option_checking=no
603 ac_subst_vars='am__EXEEXT_FALSE
625 CREATE_JAVA_HOME_FALSE
626 CREATE_JAVA_HOME_TRUE
627 INSTALL_AOT_RPM_FALSE
630 python_mod_dir_expanded
633 LD_FINISH_STATIC_SPEC
648 INSTALL_BINARIES_FALSE
649 INSTALL_BINARIES_TRUE
650 NEEDS_DATA_START_FALSE
651 NEEDS_DATA_START_TRUE
682 USING_NO_THREADS_FALSE
683 USING_NO_THREADS_TRUE
684 USING_WIN32_THREADS_FALSE
685 USING_WIN32_THREADS_TRUE
686 USING_POSIX_THREADS_FALSE
687 USING_POSIX_THREADS_TRUE
708 extra_ldflags_libjava
717 USING_DARWIN_CRT_FALSE
718 USING_DARWIN_CRT_TRUE
719 USING_POSIX_PLATFORM_FALSE
720 USING_POSIX_PLATFORM_TRUE
721 USING_WIN32_PLATFORM_FALSE
722 USING_WIN32_PLATFORM_TRUE
729 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
730 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
731 SUPPRESS_LIBGCJ_BC_FALSE
732 SUPPRESS_LIBGCJ_BC_TRUE
736 INSTALL_ECJ_JAR_FALSE
781 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
783 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
784 LIBGCJ_SUBLIB_LTFLAGS
789 MAINTAINER_MODE_FALSE
819 INSTALL_STRIP_PROGRAM
844 JAVA_MAINTAINER_MODE_FALSE
845 JAVA_MAINTAINER_MODE_TRUE
896 program_transform_name
909 enable_option_checking
915 enable_version_specific_runtime_libs
916 enable_browser_plugin
920 enable_java_maintainer_mode
921 enable_dependency_tracking
922 enable_maintainer_mode
923 enable_libgcj_sublibs
933 enable_getenv_properties
934 enable_hash_synchronization
938 enable_reduced_reflection
942 enable_sjlj_exceptions
953 with_system_libunwind
955 enable_aot_compile_rpm
965 ac_precious_vars='build_alias
979 ac_subdirs_all='classpath libltdl'
981 # Initialize some variables set by options.
983 ac_init_version=false
984 ac_unrecognized_opts=
986 # The variables have the same names as the options, with
987 # dashes changed to underlines.
995 program_transform_name=s,x,x,
1003 # Installation directory options.
1004 # These are left unexpanded so users can "make install exec_prefix=/foo"
1005 # and all the variables that are supposed to be based on exec_prefix
1006 # by default will actually change.
1007 # Use braces instead of parens because sh, perl, etc. also accept them.
1008 # (The list follows the same order as the GNU Coding Standards.)
1009 bindir='${exec_prefix}/bin'
1010 sbindir='${exec_prefix}/sbin'
1011 libexecdir='${exec_prefix}/libexec'
1012 datarootdir='${prefix}/share'
1013 datadir='${datarootdir}'
1014 sysconfdir='${prefix}/etc'
1015 sharedstatedir='${prefix}/com'
1016 localstatedir='${prefix}/var'
1017 includedir='${prefix}/include'
1018 oldincludedir='/usr/include'
1019 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1020 infodir='${datarootdir}/info'
1025 libdir='${exec_prefix}/lib'
1026 localedir='${datarootdir}/locale'
1027 mandir='${datarootdir}/man'
1033 # If the previous option needs an argument, assign it.
1034 if test -n "$ac_prev"; then
1035 eval $ac_prev=\$ac_option
1041 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1045 # Accept the important Cygnus configure options, so we can diagnose typos.
1047 case $ac_dashdash$ac_option in
1051 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1053 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1054 bindir=$ac_optarg ;;
1056 -build | --build | --buil | --bui | --bu)
1057 ac_prev=build_alias ;;
1058 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1059 build_alias=$ac_optarg ;;
1061 -cache-file | --cache-file | --cache-fil | --cache-fi \
1062 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1063 ac_prev=cache_file ;;
1064 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1065 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1066 cache_file=$ac_optarg ;;
1068 --config-cache | -C)
1069 cache_file=config.cache ;;
1071 -datadir | --datadir | --datadi | --datad)
1073 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1074 datadir=$ac_optarg ;;
1076 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1077 | --dataroo | --dataro | --datar)
1078 ac_prev=datarootdir ;;
1079 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1080 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1081 datarootdir=$ac_optarg ;;
1083 -disable-* | --disable-*)
1084 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error "invalid feature name: $ac_useropt"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_$ac_useropt"
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1097 eval enable_$ac_useropt=no ;;
1099 -docdir | --docdir | --docdi | --doc | --do)
1101 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1102 docdir=$ac_optarg ;;
1104 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1106 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1107 dvidir=$ac_optarg ;;
1109 -enable-* | --enable-*)
1110 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error "invalid feature name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1118 "enable_$ac_useropt"
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
1123 eval enable_$ac_useropt=\$ac_optarg ;;
1125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1127 | --exec | --exe | --ex)
1128 ac_prev=exec_prefix ;;
1129 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1130 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1131 | --exec=* | --exe=* | --ex=*)
1132 exec_prefix=$ac_optarg ;;
1134 -gas | --gas | --ga | --g)
1135 # Obsolete; use --with-gas.
1138 -help | --help | --hel | --he | -h)
1139 ac_init_help=long ;;
1140 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1141 ac_init_help=recursive ;;
1142 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1143 ac_init_help=short ;;
1145 -host | --host | --hos | --ho)
1146 ac_prev=host_alias ;;
1147 -host=* | --host=* | --hos=* | --ho=*)
1148 host_alias=$ac_optarg ;;
1150 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1152 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1154 htmldir=$ac_optarg ;;
1156 -includedir | --includedir | --includedi | --included | --include \
1157 | --includ | --inclu | --incl | --inc)
1158 ac_prev=includedir ;;
1159 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1160 | --includ=* | --inclu=* | --incl=* | --inc=*)
1161 includedir=$ac_optarg ;;
1163 -infodir | --infodir | --infodi | --infod | --info | --inf)
1165 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1166 infodir=$ac_optarg ;;
1168 -libdir | --libdir | --libdi | --libd)
1170 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1171 libdir=$ac_optarg ;;
1173 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1174 | --libexe | --libex | --libe)
1175 ac_prev=libexecdir ;;
1176 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1177 | --libexe=* | --libex=* | --libe=*)
1178 libexecdir=$ac_optarg ;;
1180 -localedir | --localedir | --localedi | --localed | --locale)
1181 ac_prev=localedir ;;
1182 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1183 localedir=$ac_optarg ;;
1185 -localstatedir | --localstatedir | --localstatedi | --localstated \
1186 | --localstate | --localstat | --localsta | --localst | --locals)
1187 ac_prev=localstatedir ;;
1188 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1189 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1190 localstatedir=$ac_optarg ;;
1192 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1194 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1195 mandir=$ac_optarg ;;
1197 -nfp | --nfp | --nf)
1198 # Obsolete; use --without-fp.
1201 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1202 | --no-cr | --no-c | -n)
1205 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1206 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1210 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1211 | --oldin | --oldi | --old | --ol | --o)
1212 ac_prev=oldincludedir ;;
1213 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1214 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1215 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1216 oldincludedir=$ac_optarg ;;
1218 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1220 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1221 prefix=$ac_optarg ;;
1223 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1224 | --program-pre | --program-pr | --program-p)
1225 ac_prev=program_prefix ;;
1226 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1227 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1228 program_prefix=$ac_optarg ;;
1230 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1231 | --program-suf | --program-su | --program-s)
1232 ac_prev=program_suffix ;;
1233 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1234 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1235 program_suffix=$ac_optarg ;;
1237 -program-transform-name | --program-transform-name \
1238 | --program-transform-nam | --program-transform-na \
1239 | --program-transform-n | --program-transform- \
1240 | --program-transform | --program-transfor \
1241 | --program-transfo | --program-transf \
1242 | --program-trans | --program-tran \
1243 | --progr-tra | --program-tr | --program-t)
1244 ac_prev=program_transform_name ;;
1245 -program-transform-name=* | --program-transform-name=* \
1246 | --program-transform-nam=* | --program-transform-na=* \
1247 | --program-transform-n=* | --program-transform-=* \
1248 | --program-transform=* | --program-transfor=* \
1249 | --program-transfo=* | --program-transf=* \
1250 | --program-trans=* | --program-tran=* \
1251 | --progr-tra=* | --program-tr=* | --program-t=*)
1252 program_transform_name=$ac_optarg ;;
1254 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1256 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1257 pdfdir=$ac_optarg ;;
1259 -psdir | --psdir | --psdi | --psd | --ps)
1261 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1265 | -silent | --silent | --silen | --sile | --sil)
1268 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1270 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1272 sbindir=$ac_optarg ;;
1274 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1275 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1276 | --sharedst | --shareds | --shared | --share | --shar \
1278 ac_prev=sharedstatedir ;;
1279 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1280 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1281 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1283 sharedstatedir=$ac_optarg ;;
1285 -site | --site | --sit)
1287 -site=* | --site=* | --sit=*)
1290 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1292 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1293 srcdir=$ac_optarg ;;
1295 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1296 | --syscon | --sysco | --sysc | --sys | --sy)
1297 ac_prev=sysconfdir ;;
1298 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1299 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1300 sysconfdir=$ac_optarg ;;
1302 -target | --target | --targe | --targ | --tar | --ta | --t)
1303 ac_prev=target_alias ;;
1304 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1305 target_alias=$ac_optarg ;;
1307 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310 -version | --version | --versio | --versi | --vers | -V)
1311 ac_init_version=: ;;
1314 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1317 as_fn_error "invalid package name: $ac_useropt"
1318 ac_useropt_orig=$ac_useropt
1319 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320 case $ac_user_opts in
1324 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1325 ac_unrecognized_sep=', ';;
1327 eval with_$ac_useropt=\$ac_optarg ;;
1329 -without-* | --without-*)
1330 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1333 as_fn_error "invalid package name: $ac_useropt"
1334 ac_useropt_orig=$ac_useropt
1335 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1336 case $ac_user_opts in
1340 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1341 ac_unrecognized_sep=', ';;
1343 eval with_$ac_useropt=no ;;
1346 # Obsolete; use --with-x.
1349 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1350 | --x-incl | --x-inc | --x-in | --x-i)
1351 ac_prev=x_includes ;;
1352 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1353 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1354 x_includes=$ac_optarg ;;
1356 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1357 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1358 ac_prev=x_libraries ;;
1359 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1360 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1361 x_libraries=$ac_optarg ;;
1363 -*) as_fn_error "unrecognized option: \`$ac_option'
1364 Try \`$0 --help' for more information."
1368 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1369 # Reject names that are not valid shell variable names.
1370 case $ac_envvar in #(
1371 '' | [0-9]* | *[!_$as_cr_alnum]* )
1372 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1374 eval $ac_envvar=\$ac_optarg
1375 export $ac_envvar ;;
1378 # FIXME: should be removed in autoconf 3.0.
1379 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1380 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1381 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1382 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1388 if test -n "$ac_prev"; then
1389 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1390 as_fn_error "missing argument to $ac_option"
1393 if test -n "$ac_unrecognized_opts"; then
1394 case $enable_option_checking in
1396 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1397 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1401 # Check all directory arguments for consistency.
1402 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1403 datadir sysconfdir sharedstatedir localstatedir includedir \
1404 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1405 libdir localedir mandir
1407 eval ac_val=\$$ac_var
1408 # Remove trailing slashes.
1411 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1412 eval $ac_var=\$ac_val;;
1414 # Be sure to have absolute directory names.
1416 [\\/$]* | ?:[\\/]* ) continue;;
1417 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1419 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1422 # There might be people who depend on the old broken behavior: `$host'
1423 # used to hold the argument of --host etc.
1424 # FIXME: To remove some day.
1427 target=$target_alias
1429 # FIXME: To remove some day.
1430 if test "x$host_alias" != x; then
1431 if test "x$build_alias" = x; then
1432 cross_compiling=maybe
1433 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1434 If a cross compiler is detected then cross compile mode will be used." >&2
1435 elif test "x$build_alias" != "x$host_alias"; then
1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1443 test "$silent" = yes && exec 6>/dev/null
1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di=`ls -di .` &&
1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 as_fn_error "working directory cannot be determined"
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 as_fn_error "pwd does not report name of working directory"
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1486 ac_srcdir_defaulted=no
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1490 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1506 for ac_var in $ac_precious_vars; do
1507 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_${ac_var}_value=\$${ac_var}
1509 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1514 # Report the --help message.
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1520 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1527 Defaults for the options are specified in brackets.
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1551 For better control, use the options below.
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1583 --x-includes=DIR X include files are in DIR
1584 --x-libraries=DIR X library files are in DIR
1587 --build=BUILD configure for building on BUILD [guessed]
1588 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1589 --target=TARGET configure for building compilers for TARGET [HOST]
1593 if test -n "$ac_init_help"; then
1594 case $ac_init_help in
1595 short | recursive ) echo "Configuration of libjava version-unused:";;
1600 --disable-option-checking ignore unrecognized --enable/--with options
1601 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1602 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1603 --enable-multilib build many library versions (default)
1604 --enable-version-specific-runtime-libs
1605 specify that runtime libraries should be installed
1606 in a compiler-specific directory
1607 --enable-browser-plugin build gcjwebplugin web browser plugin
1608 --enable-gconf-peer compile GConf native peers for util.preferences
1609 --disable-gjdoc compile GJDoc (disabled by --disable-gjdoc)
1611 --enable-java-maintainer-mode
1612 allow rebuilding of .class and .h files
1613 --disable-dependency-tracking speeds up one-time build
1614 --enable-dependency-tracking do not reject slow dependency extractors
1615 --enable-maintainer-mode enable make rules and dependencies not useful
1616 (and sometimes confusing) to the casual installer
1617 --enable-libgcj-sublibs build libgcj as many sub-libraries
1618 --enable-libgcj-debug enable runtime debugging code
1619 --enable-java-awt list of AWT peer implementations to be built
1620 --enable-shared[=PKGS] build shared libraries [default=yes]
1621 --enable-static[=PKGS] build static libraries [default=yes]
1622 --enable-fast-install[=PKGS]
1623 optimize for fast installation [default=yes]
1624 --disable-libtool-lock avoid locking (might break parallel builds)
1625 --disable-getenv-properties
1626 don't set system properties from GCJ_PROPERTIES
1627 --enable-hash-synchronization
1628 use global hash table for monitor locks
1629 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1631 --enable-reduced-reflection
1632 enable or disable(default) -freduced-reflection when
1633 building portions of libgcj
1634 --enable-gc-debug include full support for pointer backtracing etc.
1635 --enable-interpreter enable interpreter
1636 --enable-sjlj-exceptions
1637 force use of builtin_setjmp for exceptions
1638 --disable-java-net disable java.net
1639 --disable-jvmpi disable JVMPI support
1640 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1641 --disable-rpath do not hardcode runtime library paths
1642 --enable-tls Use thread-local storage [default=yes]
1643 --enable-aot-compile-rpm
1644 enable installation of aot-compile-rpm [default=no]
1645 --enable-java-home create a standard JDK-style directory layout in the
1646 install tree [default=no]
1649 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1650 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1651 --with-build-libsubdir=DIR Directory where to find libraries for build system
1652 --with-target-subdir=SUBDIR
1653 configure in a subdirectory
1654 --with-cross-host=HOST configure with a cross compiler from HOST
1655 --with-newlib configure with newlib
1656 --with-antlr-jar=file Use ANTLR from the specified jar file
1657 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1658 --with-pic try to use only PIC/non-PIC objects [default=use
1660 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1661 --with-ecj-jar=FILE use preinstalled ecj jar
1662 --with-java-home=DIRECTORY
1663 value of java.home system property
1664 --with-win32-nlsapi=ansi or unicows or unicode
1665 native MinGW libgcj Win32 OS API (default is ansi)
1666 --without-libffi don't use libffi
1667 --with-ecos enable runtime eCos target support
1668 --with-system-zlib use installed libz
1669 --with-x use the X Window System
1670 --with-gnu-ld assume the C compiler uses GNU ld default=no
1671 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1672 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1673 --with-system-libunwind use installed libunwind
1674 --with-python-dir the location to install Python modules. This path
1675 should NOT include the prefix.
1676 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1677 --with-arch-directory the arch directory under jre/lib (defaults to
1679 --with-os-directory the os directory under include (defaults to
1681 --with-origin-name the JPackage origin name of this package (default is
1683 --with-arch-suffix the arch directory suffix (default is the empty
1685 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1686 --with-jvm-jar-dir where to install jars (default is
1687 ${prefix}/lib/jvm-exports)
1689 Some influential environment variables:
1690 CC C compiler command
1691 CFLAGS C compiler flags
1692 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1693 nonstandard directory <lib dir>
1694 LIBS libraries to pass to the linker, e.g. -l<library>
1695 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1696 you have headers in a nonstandard directory <include dir>
1697 CXX C++ compiler command
1698 CXXFLAGS C++ compiler flags
1700 CXXCPP C++ preprocessor
1701 XMKMF Path to xmkmf, Makefile generator for X Window System
1703 Use these variables to override the choices made by `configure' or to help
1704 it to find libraries and programs with nonstandard names/locations.
1706 Report bugs to the package provider.
1711 if test "$ac_init_help" = "recursive"; then
1712 # If there are subdirs, report their specific --help.
1713 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1714 test -d "$ac_dir" ||
1715 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1720 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1723 # A ".." for each directory in $ac_dir_suffix.
1724 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1725 case $ac_top_builddir_sub in
1726 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1727 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 ac_abs_top_builddir=$ac_pwd
1731 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1732 # for backward compatibility:
1733 ac_top_builddir=$ac_top_build_prefix
1736 .) # We are building in place.
1738 ac_top_srcdir=$ac_top_builddir_sub
1739 ac_abs_top_srcdir=$ac_pwd ;;
1740 [\\/]* | ?:[\\/]* ) # Absolute name.
1741 ac_srcdir=$srcdir$ac_dir_suffix;
1742 ac_top_srcdir=$srcdir
1743 ac_abs_top_srcdir=$srcdir ;;
1745 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1746 ac_top_srcdir=$ac_top_build_prefix$srcdir
1747 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1749 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1751 cd "$ac_dir" || { ac_status=$?; continue; }
1752 # Check for guested configure.
1753 if test -f "$ac_srcdir/configure.gnu"; then
1755 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1756 elif test -f "$ac_srcdir/configure"; then
1758 $SHELL "$ac_srcdir/configure" --help=recursive
1760 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762 cd "$ac_pwd" || { ac_status=$?; break; }
1766 test -n "$ac_init_help" && exit $ac_status
1767 if $ac_init_version; then
1769 libjava configure version-unused
1770 generated by GNU Autoconf 2.64
1772 Copyright (C) 2009 Free Software Foundation, Inc.
1773 This configure script is free software; the Free Software Foundation
1774 gives unlimited permission to copy, distribute and modify it.
1779 ## ------------------------ ##
1780 ## Autoconf initialization. ##
1781 ## ------------------------ ##
1783 # ac_fn_c_try_compile LINENO
1784 # --------------------------
1785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_compile ()
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext
1790 if { { ac_try="$ac_compile"
1792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_compile") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest.$ac_objext; then :
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819 } # ac_fn_c_try_compile
1821 # ac_fn_cxx_try_compile LINENO
1822 # ----------------------------
1823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_cxx_try_compile ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext
1828 if { { ac_try="$ac_compile"
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_compile") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_cxx_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest.$ac_objext; then :
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1857 } # ac_fn_cxx_try_compile
1859 # ac_fn_c_try_link LINENO
1860 # -----------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded.
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 rm -f conftest.$ac_objext conftest$ac_exeext
1866 if { { ac_try="$ac_link"
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>conftest.err
1875 if test -s conftest.err; then
1876 grep -v '^ *+' conftest.err >conftest.er1
1877 cat conftest.er1 >&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && {
1882 test -z "$ac_c_werror_flag" ||
1883 test ! -s conftest.err
1884 } && test -s conftest$ac_exeext && {
1885 test "$cross_compiling" = yes ||
1886 $as_test_x conftest$ac_exeext
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1895 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1896 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1897 # interfere with the next link command; also delete a directory that is
1898 # left behind by Apple's compiler. We do this before executing the actions.
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_try_link
1905 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1906 # -------------------------------------------------------
1907 # Tests whether HEADER exists and can be compiled using the include files in
1908 # INCLUDES, setting the cache variable VAR accordingly.
1909 ac_fn_c_check_header_compile ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1922 if ac_fn_c_try_compile "$LINENO"; then :
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1934 } # ac_fn_c_check_header_compile
1936 # ac_fn_c_try_cpp LINENO
1937 # ----------------------
1938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 if { { ac_try="$ac_cpp conftest.$ac_ext"
1944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1945 *) ac_try_echo=$ac_try;;
1947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1951 if test -s conftest.err; then
1952 grep -v '^ *+' conftest.err >conftest.er1
1953 cat conftest.er1 >&5
1954 mv -f conftest.er1 conftest.err
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; } >/dev/null && {
1958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1959 test ! -s conftest.err
1963 $as_echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.$ac_ext >&5
1968 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 # ac_fn_c_try_run LINENO
1974 # ----------------------
1975 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1976 # that executables *can* be run.
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_link"
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_link") 2>&5
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1991 { { case "(($ac_try" in
1992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993 *) ac_try_echo=$ac_try;;
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997 (eval "$ac_try") 2>&5
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; }; }; then :
2003 $as_echo "$as_me: program exited with status $ac_status" >&5
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2007 ac_retval=$ac_status
2009 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015 # ac_fn_c_check_func LINENO FUNC VAR
2016 # ----------------------------------
2017 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2018 ac_fn_c_check_func ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 $as_echo_n "(cached) " >&6
2026 if test x$gcc_no_link = xyes; then
2027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2031 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2033 #define $2 innocuous_$2
2035 /* System header to define __stub macros and hopefully few prototypes,
2036 which can conflict with char $2 (); below.
2037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2038 <limits.h> exists even on freestanding compilers. */
2041 # include <limits.h>
2043 # include <assert.h>
2048 /* Override any GCC internal prototype to avoid an error.
2049 Use char because int might match the return type of a GCC
2050 builtin and then its argument prototype would still apply. */
2055 /* The GNU C library defines this for functions which it implements
2056 to always fail with ENOSYS. Some functions are actually named
2057 something starting with __ and the normal name is an alias. */
2058 #if defined __stub_$2 || defined __stub___$2
2070 if ac_fn_c_try_link "$LINENO"; then :
2075 rm -f core conftest.err conftest.$ac_objext \
2076 conftest$ac_exeext conftest.$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 $as_echo "$ac_res" >&6; }
2081 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2083 } # ac_fn_c_check_func
2085 # ac_fn_cxx_try_cpp LINENO
2086 # ------------------------
2087 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2088 ac_fn_cxx_try_cpp ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { { ac_try="$ac_cpp conftest.$ac_ext"
2093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2094 *) ac_try_echo=$ac_try;;
2096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2097 $as_echo "$ac_try_echo"; } >&5
2098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2100 if test -s conftest.err; then
2101 grep -v '^ *+' conftest.err >conftest.er1
2102 cat conftest.er1 >&5
2103 mv -f conftest.er1 conftest.err
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; } >/dev/null && {
2107 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2108 test ! -s conftest.err
2112 $as_echo "$as_me: failed program was:" >&5
2113 sed 's/^/| /' conftest.$ac_ext >&5
2117 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120 } # ac_fn_cxx_try_cpp
2122 # ac_fn_cxx_try_link LINENO
2123 # -------------------------
2124 # Try to link conftest.$ac_ext, and return whether this succeeded.
2125 ac_fn_cxx_try_link ()
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 rm -f conftest.$ac_objext conftest$ac_exeext
2129 if { { ac_try="$ac_link"
2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_link") 2>conftest.err
2138 if test -s conftest.err; then
2139 grep -v '^ *+' conftest.err >conftest.er1
2140 cat conftest.er1 >&5
2141 mv -f conftest.er1 conftest.err
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; } && {
2145 test -z "$ac_cxx_werror_flag" ||
2146 test ! -s conftest.err
2147 } && test -s conftest$ac_exeext && {
2148 test "$cross_compiling" = yes ||
2149 $as_test_x conftest$ac_exeext
2153 $as_echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.$ac_ext >&5
2158 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2159 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2160 # interfere with the next link command; also delete a directory that is
2161 # left behind by Apple's compiler. We do this before executing the actions.
2162 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2166 } # ac_fn_cxx_try_link
2168 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2169 # -------------------------------------------------------
2170 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2171 # the include files in INCLUDES and setting the cache variable VAR
2173 ac_fn_c_check_header_mongrel ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178 $as_echo_n "checking for $2... " >&6; }
2179 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2180 $as_echo_n "(cached) " >&6
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184 $as_echo "$ac_res" >&6; }
2186 # Is the header compilable?
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2188 $as_echo_n "checking $2 usability... " >&6; }
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2194 if ac_fn_c_try_compile "$LINENO"; then :
2195 ac_header_compiler=yes
2197 ac_header_compiler=no
2199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2201 $as_echo "$ac_header_compiler" >&6; }
2203 # Is the header present?
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2205 $as_echo_n "checking $2 presence... " >&6; }
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2210 if ac_fn_c_try_cpp "$LINENO"; then :
2211 ac_header_preproc=yes
2213 ac_header_preproc=no
2215 rm -f conftest.err conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2217 $as_echo "$ac_header_preproc" >&6; }
2219 # So? What about this header?
2220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2223 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2229 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2231 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2233 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2235 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2237 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241 $as_echo_n "checking for $2... " >&6; }
2242 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2243 $as_echo_n "(cached) " >&6
2245 eval "$3=\$ac_header_compiler"
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2249 $as_echo "$ac_res" >&6; }
2251 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2253 } # ac_fn_c_check_header_mongrel
2255 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2256 # ----------------------------------------------------
2257 # Tries to find if the field MEMBER exists in type AGGR, after including
2258 # INCLUDES, setting cache variable VAR accordingly.
2259 ac_fn_c_check_member ()
2261 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2263 $as_echo_n "checking for $2.$3... " >&6; }
2264 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2265 $as_echo_n "(cached) " >&6
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2280 if ac_fn_c_try_compile "$LINENO"; then :
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2290 if (sizeof ac_aggr.$3)
2296 if ac_fn_c_try_compile "$LINENO"; then :
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2308 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2310 } # ac_fn_c_check_member
2312 # ac_fn_c_check_decl LINENO SYMBOL VAR
2313 # ------------------------------------
2314 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2315 ac_fn_c_check_decl ()
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2319 $as_echo_n "checking whether $2 is declared... " >&6; }
2320 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2321 $as_echo_n "(cached) " >&6
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2337 if ac_fn_c_try_compile "$LINENO"; then :
2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2346 $as_echo "$ac_res" >&6; }
2347 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2349 } # ac_fn_c_check_decl
2351 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2352 # --------------------------------------------
2353 # Tries to find the compile-time value of EXPR in a program that includes
2354 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2356 ac_fn_c_compute_int ()
2358 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2359 if test "$cross_compiling" = yes; then
2360 # Depending upon the size, compute the lo and hi bounds.
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2367 static int test_array [1 - 2 * !(($2) >= 0)];
2374 if ac_fn_c_try_compile "$LINENO"; then :
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2383 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_hi=$ac_mid; break
2393 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2394 if test $ac_lo -le $ac_mid; then
2398 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2409 static int test_array [1 - 2 * !(($2) < 0)];
2416 if ac_fn_c_try_compile "$LINENO"; then :
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2425 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2432 if ac_fn_c_try_compile "$LINENO"; then :
2433 ac_lo=$ac_mid; break
2435 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2436 if test $ac_mid -le $ac_hi; then
2440 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2450 # Binary search between lo and hi bounds.
2451 while test "x$ac_lo" != "x$ac_hi"; do
2452 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2459 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2466 if ac_fn_c_try_compile "$LINENO"; then :
2469 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2481 static long int longval () { return $2; }
2482 static unsigned long int ulongval () { return $2; }
2489 FILE *f = fopen ("conftest.val", "w");
2494 long int i = longval ();
2497 fprintf (f, "%ld", i);
2501 unsigned long int i = ulongval ();
2504 fprintf (f, "%lu", i);
2506 /* Do not output a trailing newline, as this causes \r\n confusion
2507 on some platforms. */
2508 return ferror (f) || fclose (f) != 0;
2514 if ac_fn_c_try_run "$LINENO"; then :
2515 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2520 conftest.$ac_objext conftest.beam conftest.$ac_ext
2524 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2527 } # ac_fn_c_compute_int
2529 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2530 # -------------------------------------------
2531 # Tests whether TYPE exists after having included INCLUDES, setting cache
2532 # variable VAR accordingly.
2533 ac_fn_c_check_type ()
2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2537 $as_echo_n "checking for $2... " >&6; }
2538 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2539 $as_echo_n "(cached) " >&6
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2554 if ac_fn_c_try_compile "$LINENO"; then :
2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2567 if ac_fn_c_try_compile "$LINENO"; then :
2572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2578 $as_echo "$ac_res" >&6; }
2579 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2581 } # ac_fn_c_check_type
2582 cat >config.log <<_ACEOF
2583 This file contains any messages produced by compilers while
2584 running configure, to aid debugging if configure makes a mistake.
2586 It was created by libjava $as_me version-unused, which was
2587 generated by GNU Autoconf 2.64. Invocation command line was
2599 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2600 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2601 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2602 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2603 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2605 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2606 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2608 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2609 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2610 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2611 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2612 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2613 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2614 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir=.
2623 $as_echo "PATH: $as_dir"
2639 # Keep a trace of the command line.
2640 # Strip out --no-create and --no-recursion so they do not pile up.
2641 # Strip out --silent because we don't want to record it for future runs.
2642 # Also quote any args containing shell meta-characters.
2643 # Make two passes to allow for proper duplicate-argument suppression.
2647 ac_must_keep_next=false
2653 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2655 | -silent | --silent | --silen | --sile | --sil)
2658 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2661 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2663 as_fn_append ac_configure_args1 " '$ac_arg'"
2664 if test $ac_must_keep_next = true; then
2665 ac_must_keep_next=false # Got value, back to normal.
2668 *=* | --config-cache | -C | -disable-* | --disable-* \
2669 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2670 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2671 | -with-* | --with-* | -without-* | --without-* | --x)
2672 case "$ac_configure_args0 " in
2673 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2676 -* ) ac_must_keep_next=true ;;
2679 as_fn_append ac_configure_args " '$ac_arg'"
2684 { ac_configure_args0=; unset ac_configure_args0;}
2685 { ac_configure_args1=; unset ac_configure_args1;}
2687 # When interrupted or exit'd, cleanup temporary files, and complete
2688 # config.log. We remove comments because anyway the quotes in there
2689 # would cause problems or look ugly.
2690 # WARNING: Use '\'' to represent an apostrophe within the trap.
2691 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2692 trap 'exit_status=$?
2693 # Save into config.log some information that might help in debugging.
2698 ## ---------------- ##
2699 ## Cache variables. ##
2700 ## ---------------- ##
2703 # The following way of writing the cache mishandles newlines in values,
2705 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2706 eval ac_val=\$$ac_var
2710 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2711 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2714 _ | IFS | as_nl) ;; #(
2715 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2716 *) { eval $ac_var=; unset $ac_var;} ;;
2721 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2722 *${as_nl}ac_space=\ *)
2724 "s/'\''/'\''\\\\'\'''\''/g;
2725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2736 ## ----------------- ##
2737 ## Output variables. ##
2738 ## ----------------- ##
2741 for ac_var in $ac_subst_vars
2743 eval ac_val=\$$ac_var
2745 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2747 $as_echo "$ac_var='\''$ac_val'\''"
2751 if test -n "$ac_subst_files"; then
2753 ## ------------------- ##
2754 ## File substitutions. ##
2755 ## ------------------- ##
2758 for ac_var in $ac_subst_files
2760 eval ac_val=\$$ac_var
2762 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2764 $as_echo "$ac_var='\''$ac_val'\''"
2769 if test -s confdefs.h; then
2779 test "$ac_signal" != 0 &&
2780 $as_echo "$as_me: caught signal $ac_signal"
2781 $as_echo "$as_me: exit $exit_status"
2783 rm -f core *.core core.conftest.* &&
2784 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2787 for ac_signal in 1 2 13 15; do
2788 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2792 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2793 rm -f -r conftest* confdefs.h
2795 $as_echo "/* confdefs.h */" > confdefs.h
2797 # Predefined preprocessor variables.
2799 cat >>confdefs.h <<_ACEOF
2800 #define PACKAGE_NAME "$PACKAGE_NAME"
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2807 cat >>confdefs.h <<_ACEOF
2808 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2811 cat >>confdefs.h <<_ACEOF
2812 #define PACKAGE_STRING "$PACKAGE_STRING"
2815 cat >>confdefs.h <<_ACEOF
2816 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2819 cat >>confdefs.h <<_ACEOF
2820 #define PACKAGE_URL "$PACKAGE_URL"
2824 # Let the site file select an alternate cache file if it wants to.
2825 # Prefer an explicitly selected file to automatically selected ones.
2828 if test -n "$CONFIG_SITE"; then
2829 ac_site_file1=$CONFIG_SITE
2830 elif test "x$prefix" != xNONE; then
2831 ac_site_file1=$prefix/share/config.site
2832 ac_site_file2=$prefix/etc/config.site
2834 ac_site_file1=$ac_default_prefix/share/config.site
2835 ac_site_file2=$ac_default_prefix/etc/config.site
2837 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2839 test "x$ac_site_file" = xNONE && continue
2840 if test -r "$ac_site_file"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2842 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2843 sed 's/^/| /' "$ac_site_file" >&5
2848 if test -r "$cache_file"; then
2849 # Some versions of bash will fail to source /dev/null (special
2850 # files actually), so we avoid doing that.
2851 if test -f "$cache_file"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2853 $as_echo "$as_me: loading cache $cache_file" >&6;}
2855 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2856 *) . "./$cache_file";;
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2861 $as_echo "$as_me: creating cache $cache_file" >&6;}
2865 # Check that the precious variables saved in the cache have kept the same
2867 ac_cache_corrupted=false
2868 for ac_var in $ac_precious_vars; do
2869 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2870 eval ac_new_set=\$ac_env_${ac_var}_set
2871 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2872 eval ac_new_val=\$ac_env_${ac_var}_value
2873 case $ac_old_set,$ac_new_set in
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2876 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2877 ac_cache_corrupted=: ;;
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2880 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2881 ac_cache_corrupted=: ;;
2884 if test "x$ac_old_val" != "x$ac_new_val"; then
2885 # differences in whitespace do not lead to failure.
2886 ac_old_val_w=`echo x $ac_old_val`
2887 ac_new_val_w=`echo x $ac_new_val`
2888 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2890 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2891 ac_cache_corrupted=:
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2894 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2895 eval $ac_var=\$ac_old_val
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2898 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2900 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2903 # Pass precious variables to config.status.
2904 if test "$ac_new_set" = set; then
2906 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2907 *) ac_arg=$ac_var=$ac_new_val ;;
2909 case " $ac_configure_args " in
2910 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2911 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2915 if $ac_cache_corrupted; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2919 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2920 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2922 ## -------------------- ##
2923 ## Main body of script. ##
2924 ## -------------------- ##
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2940 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2941 for ac_t in install-sh install.sh shtool; do
2942 if test -f "$ac_dir/$ac_t"; then
2944 ac_install_sh="$ac_aux_dir/$ac_t -c"
2949 if test -z "$ac_aux_dir"; then
2950 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2953 # These three variables are undocumented and unsupported,
2954 # and are intended to be withdrawn in a future Autoconf release.
2955 # They can cause serious problems if a builder's source tree is in a directory
2956 # whose full name contains unusual characters.
2957 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2958 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2959 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2962 # Make sure we can run config.sub.
2963 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2964 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2967 $as_echo_n "checking build system type... " >&6; }
2968 if test "${ac_cv_build+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 ac_build_alias=$build_alias
2972 test "x$ac_build_alias" = x &&
2973 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2974 test "x$ac_build_alias" = x &&
2975 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2976 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2977 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2981 $as_echo "$ac_cv_build" >&6; }
2982 case $ac_cv_build in
2984 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2987 ac_save_IFS=$IFS; IFS='-'
2993 # Remember, the first character of IFS is used to create $*,
2994 # except with old shells:
2997 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3000 case ${build_alias} in
3001 "") build_noncanonical=${build} ;;
3002 *) build_noncanonical=${build_alias} ;;
3005 case ${host_alias} in
3006 "") host_noncanonical=${build_noncanonical} ;;
3007 *) host_noncanonical=${host_alias} ;;
3010 case ${target_alias} in
3011 "") target_noncanonical=${host_noncanonical} ;;
3012 *) target_noncanonical=${target_alias} ;;
3016 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3017 # have matching libraries, they should use host libraries: Makefile.tpl
3018 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3019 # However, they still use the build modules, because the corresponding
3020 # host modules (e.g. bison) are only built for the host when bootstrap
3022 # - build_subdir is where we find build modules, and never changes.
3023 # - build_libsubdir is where we find build libraries, and can be overridden.
3025 # Prefix 'build-' so this never conflicts with target_subdir.
3026 build_subdir="build-${build_noncanonical}"
3028 # Check whether --with-build-libsubdir was given.
3029 if test "${with_build_libsubdir+set}" = set; then :
3030 withval=$with_build_libsubdir; build_libsubdir="$withval"
3032 build_libsubdir="$build_subdir"
3035 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3036 if ( test $srcdir = . && test -d gcc ) \
3037 || test -d $srcdir/../host-${host_noncanonical}; then
3038 host_subdir="host-${host_noncanonical}"
3043 target_subdir=${target_noncanonical}
3046 # We use these options to decide which functions to include.
3048 # Check whether --with-target-subdir was given.
3049 if test "${with_target_subdir+set}" = set; then :
3050 withval=$with_target_subdir;
3054 # We may get other options which we don't document:
3055 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3057 # Find the rest of the source tree framework.
3058 # Default to --enable-multilib
3059 # Check whether --enable-multilib was given.
3060 if test "${enable_multilib+set}" = set; then :
3061 enableval=$enable_multilib; case "$enableval" in
3062 yes) multilib=yes ;;
3064 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3071 # We may get other options which we leave undocumented:
3072 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3073 # See config-ml.in if you want the gory details.
3075 if test "$srcdir" = "."; then
3076 if test "$with_target_subdir" != "."; then
3077 multi_basedir="$srcdir/$with_multisrctop../.."
3079 multi_basedir="$srcdir/$with_multisrctop.."
3082 multi_basedir="$srcdir/.."
3086 # Even if the default multilib is not a cross compilation,
3087 # it may be that some of the other multilibs are.
3088 if test $cross_compiling = no && test $multilib = yes \
3089 && test "x${with_multisubdir}" != x ; then
3090 cross_compiling=maybe
3093 ac_config_commands="$ac_config_commands default-1"
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3097 $as_echo_n "checking host system type... " >&6; }
3098 if test "${ac_cv_host+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 if test "x$host_alias" = x; then
3102 ac_cv_host=$ac_cv_build
3104 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3105 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3110 $as_echo "$ac_cv_host" >&6; }
3113 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3116 ac_save_IFS=$IFS; IFS='-'
3122 # Remember, the first character of IFS is used to create $*,
3123 # except with old shells:
3126 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3130 $as_echo_n "checking target system type... " >&6; }
3131 if test "${ac_cv_target+set}" = set; then :
3132 $as_echo_n "(cached) " >&6
3134 if test "x$target_alias" = x; then
3135 ac_cv_target=$ac_cv_host
3137 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3138 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3143 $as_echo "$ac_cv_target" >&6; }
3144 case $ac_cv_target in
3146 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3148 target=$ac_cv_target
3149 ac_save_IFS=$IFS; IFS='-'
3155 # Remember, the first character of IFS is used to create $*,
3156 # except with old shells:
3159 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3162 # The aliases save the names the user supplied, while $host etc.
3163 # will get canonicalized.
3164 test -n "$target_alias" &&
3165 test "$program_prefix$program_suffix$program_transform_name" = \
3167 program_prefix=${target_alias}-
3169 case ${build_alias} in
3170 "") build_noncanonical=${build} ;;
3171 *) build_noncanonical=${build_alias} ;;
3174 case ${target_alias} in
3175 "") target_noncanonical=${host_noncanonical} ;;
3176 *) target_noncanonical=${target_alias} ;;
3182 # This works around the fact that libtool configuration may change LD
3183 # for this particular configuration, but some shells, instead of
3184 # keeping the changes in LD private, export them just because LD is
3186 ORIGINAL_LD_FOR_MULTILIBS=$LD
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3189 $as_echo_n "checking whether ln -s works... " >&6; }
3191 if test "$LN_S" = "ln -s"; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3193 $as_echo "yes" >&6; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3196 $as_echo "no, using $LN_S" >&6; }
3200 # This works around an automake problem.
3201 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3205 # Check whether --with-cross-host was given.
3206 if test "${with_cross_host+set}" = set; then :
3207 withval=$with_cross_host;
3212 # Check whether --with-newlib was given.
3213 if test "${with_newlib+set}" = set; then :
3214 withval=$with_newlib;
3218 # Check whether --enable-version-specific-runtime-libs was given.
3219 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3220 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
3221 yes) version_specific_libs=yes ;;
3222 no) version_specific_libs=no ;;
3223 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3226 version_specific_libs=no
3231 # Check whether --enable-browser-plugin was given.
3232 if test "${enable_browser_plugin+set}" = set; then :
3233 enableval=$enable_browser_plugin; case "$enableval" in
3234 yes) browser_plugin_enabled=yes ;;
3235 no) browser_plugin_enabled=no ;;
3236 *) as_fn_error "Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3239 browser_plugin_enabled=no
3244 # Check whether --enable-gconf-peer was given.
3245 if test "${enable_gconf_peer+set}" = set; then :
3246 enableval=$enable_gconf_peer; case "$enableval" in
3247 yes) gconf_enabled=yes ;;
3248 no) gconf_enabled=no ;;
3249 *) as_fn_error "Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3258 # Check whether --with-antlr-jar was given.
3259 if test "${with_antlr_jar+set}" = set; then :
3260 withval=$with_antlr_jar;
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3271 $as_echo_n "checking for antlr.jar... " >&6; }
3272 if test "x$ANTLR_JAR" = x; then
3273 for antlr_lib_home in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3274 /usr/share/antlr/lib /usr/share/java /usr/lib;
3276 if test -f "$antlr_lib_home/antlr.jar"; then
3277 # FIXME: version check for antlr needed without using a VM
3278 ANTLR_JAR="$antlr_lib_home/antlr.jar"
3282 if test "x$ANTLR_JAR" = x; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3284 $as_echo "not found" >&6; }
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3287 $as_echo "$ANTLR_JAR" >&6; }
3290 if test -f "${ANTLR_JAR}"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3292 $as_echo "$ANTLR_JAR" >&6; }
3294 as_fn_error "antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3299 # Check whether --enable-gjdoc was given.
3300 if test "${enable_gjdoc+set}" = set; then :
3301 enableval=$enable_gjdoc; case "${enableval}" in
3302 yes) BUILD_GJDOC=yes ;;
3303 no) BUILD_GJDOC=no ;;
3304 *) BUILD_GJDOC=yes ;;
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3312 $as_echo_n "checking whether to build gjdoc... " >&6; }
3313 if test "x$BUILD_GJDOC" = xmaybe; then
3314 if test -f "${ANTLR_JAR}"; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3317 $as_echo "yes" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3321 $as_echo "no, antlr.jar not found" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3325 $as_echo "$BUILD_GJDOC" >&6; }
3327 if test "x${BUILD_GJDOC}" = xyes; then
3329 CREATE_GJDOC_FALSE='#'
3331 CREATE_GJDOC_TRUE='#'
3336 # Check whether --enable-java-maintainer-mode was given.
3337 if test "${enable_java_maintainer_mode+set}" = set; then :
3338 enableval=$enable_java_maintainer_mode;
3341 if test "$enable_java_maintainer_mode" = yes; then
3342 JAVA_MAINTAINER_MODE_TRUE=
3343 JAVA_MAINTAINER_MODE_FALSE='#'
3345 JAVA_MAINTAINER_MODE_TRUE='#'
3346 JAVA_MAINTAINER_MODE_FALSE=
3350 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3353 # For libstdc++-v3, -fno-builtin must be present here so that a
3354 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3355 # used in later tests. This may not be necessary in libjava; I don't know.
3356 save_CXXFLAGS="$CXXFLAGS"
3357 CXXFLAGS="$CXXFLAGS -fno-builtin"
3359 ac_cpp='$CPP $CPPFLAGS'
3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3363 if test -n "$ac_tool_prefix"; then
3364 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3365 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367 $as_echo_n "checking for $ac_word... " >&6; }
3368 if test "${ac_cv_prog_CC+set}" = set; then :
3369 $as_echo_n "(cached) " >&6
3371 if test -n "$CC"; then
3372 ac_cv_prog_CC="$CC" # Let the user override the test.
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 if test -n "$CC"; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3394 $as_echo "$CC" >&6; }
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397 $as_echo "no" >&6; }
3402 if test -z "$ac_cv_prog_CC"; then
3404 # Extract the first word of "gcc", so it can be a program name with args.
3405 set dummy gcc; ac_word=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$ac_ct_CC"; then
3412 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir=.
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 ac_cv_prog_ac_ct_CC="gcc"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3432 if test -n "$ac_ct_CC"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3434 $as_echo "$ac_ct_CC" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3440 if test "x$ac_ct_CC" = x; then
3443 case $cross_compiling:$ac_tool_warned in
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3447 ac_tool_warned=yes ;;
3455 if test -z "$CC"; then
3456 if test -n "$ac_tool_prefix"; then
3457 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3458 set dummy ${ac_tool_prefix}cc; ac_word=$2
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3460 $as_echo_n "checking for $ac_word... " >&6; }
3461 if test "${ac_cv_prog_CC+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3464 if test -n "$CC"; then
3465 ac_cv_prog_CC="$CC" # Let the user override the test.
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 test -z "$as_dir" && as_dir=.
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3474 ac_cv_prog_CC="${ac_tool_prefix}cc"
3475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 if test -n "$CC"; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3487 $as_echo "$CC" >&6; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490 $as_echo "no" >&6; }
3496 if test -z "$CC"; then
3497 # Extract the first word of "cc", so it can be a program name with args.
3498 set dummy cc; ac_word=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if test "${ac_cv_prog_CC+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3504 if test -n "$CC"; then
3505 ac_cv_prog_CC="$CC" # Let the user override the test.
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3516 ac_prog_rejected=yes
3520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 if test $ac_prog_rejected = yes; then
3528 # We found a bogon in the path, so make sure we never use it.
3529 set dummy $ac_cv_prog_CC
3531 if test $# != 0; then
3532 # We chose a different compiler from the bogus one.
3533 # However, it has the same basename, so the bogon will be chosen
3534 # first if we set CC to just the basename; use the full file name.
3536 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3542 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3552 if test -z "$CC"; then
3553 if test -n "$ac_tool_prefix"; then
3554 for ac_prog in cl.exe
3556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3557 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$CC"; then
3564 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3593 test -n "$CC" && break
3596 if test -z "$CC"; then
3598 for ac_prog in cl.exe
3600 # Extract the first word of "$ac_prog", so it can be a program name with args.
3601 set dummy $ac_prog; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3607 if test -n "$ac_ct_CC"; then
3608 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_ac_ct_CC="$ac_prog"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3628 if test -n "$ac_ct_CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3630 $as_echo "$ac_ct_CC" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3637 test -n "$ac_ct_CC" && break
3640 if test "x$ac_ct_CC" = x; then
3643 case $cross_compiling:$ac_tool_warned in
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3656 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3658 as_fn_error "no acceptable C compiler found in \$PATH
3659 See \`config.log' for more details." "$LINENO" 5; }
3661 # Provide some information about the compiler.
3662 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3665 for ac_option in --version -v -V -qversion; do
3666 { { ac_try="$ac_compiler $ac_option >&5"
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3675 if test -s conftest.err; then
3677 ... rest of stderr output deleted ...
3678 10q' conftest.err >conftest.er1
3679 cat conftest.er1 >&5
3680 rm -f conftest.er1 conftest.err
3682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683 test $ac_status = 0; }
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3699 (eval $ac_link) 2>&5
3701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702 test $ac_status = 0; }; then :
3707 if test x$gcc_no_link = xyes; then
3708 # Setting cross_compile will disable run tests; it will
3709 # also disable AC_CHECK_FILE but that's generally
3710 # correct if we can't link.
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3725 ac_clean_files_save=$ac_clean_files
3726 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3727 # Try to create an executable without -o first, disregard a.out.
3728 # It will help us diagnose broken compilers, and finding out an intuition
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3731 $as_echo_n "checking for C compiler default output file name... " >&6; }
3732 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3734 # The possible output files:
3735 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3738 for ac_file in $ac_files
3741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3742 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3747 if { { ac_try="$ac_link_default"
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753 $as_echo "$ac_try_echo"; } >&5
3754 (eval "$ac_link_default") 2>&5
3756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757 test $ac_status = 0; }; then :
3758 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3759 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'