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_decl_name=`echo $2|sed 's/ *(.*//'`
2319 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2321 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2322 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2323 $as_echo_n "(cached) " >&6
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2331 #ifndef $as_decl_name
2333 (void) $as_decl_use;
2335 (void) $as_decl_name;
2343 if ac_fn_c_try_compile "$LINENO"; then :
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2355 } # ac_fn_c_check_decl
2357 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2358 # --------------------------------------------
2359 # Tries to find the compile-time value of EXPR in a program that includes
2360 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2362 ac_fn_c_compute_int ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 if test "$cross_compiling" = yes; then
2366 # Depending upon the size, compute the lo and hi bounds.
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2373 static int test_array [1 - 2 * !(($2) >= 0)];
2380 if ac_fn_c_try_compile "$LINENO"; then :
2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h. */
2389 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2396 if ac_fn_c_try_compile "$LINENO"; then :
2397 ac_hi=$ac_mid; break
2399 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2400 if test $ac_lo -le $ac_mid; then
2404 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2415 static int test_array [1 - 2 * !(($2) < 0)];
2422 if ac_fn_c_try_compile "$LINENO"; then :
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2431 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2438 if ac_fn_c_try_compile "$LINENO"; then :
2439 ac_lo=$ac_mid; break
2441 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2442 if test $ac_mid -le $ac_hi; then
2446 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 # Binary search between lo and hi bounds.
2457 while test "x$ac_lo" != "x$ac_hi"; do
2458 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2465 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2472 if ac_fn_c_try_compile "$LINENO"; then :
2475 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2487 static long int longval () { return $2; }
2488 static unsigned long int ulongval () { return $2; }
2495 FILE *f = fopen ("conftest.val", "w");
2500 long int i = longval ();
2503 fprintf (f, "%ld", i);
2507 unsigned long int i = ulongval ();
2510 fprintf (f, "%lu", i);
2512 /* Do not output a trailing newline, as this causes \r\n confusion
2513 on some platforms. */
2514 return ferror (f) || fclose (f) != 0;
2520 if ac_fn_c_try_run "$LINENO"; then :
2521 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2526 conftest.$ac_objext conftest.beam conftest.$ac_ext
2530 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2533 } # ac_fn_c_compute_int
2535 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2536 # -------------------------------------------
2537 # Tests whether TYPE exists after having included INCLUDES, setting cache
2538 # variable VAR accordingly.
2539 ac_fn_c_check_type ()
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2543 $as_echo_n "checking for $2... " >&6; }
2544 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2545 $as_echo_n "(cached) " >&6
2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2560 if ac_fn_c_try_compile "$LINENO"; then :
2561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2562 /* end confdefs.h. */
2573 if ac_fn_c_try_compile "$LINENO"; then :
2578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2584 $as_echo "$ac_res" >&6; }
2585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2587 } # ac_fn_c_check_type
2588 cat >config.log <<_ACEOF
2589 This file contains any messages produced by compilers while
2590 running configure, to aid debugging if configure makes a mistake.
2592 It was created by libjava $as_me version-unused, which was
2593 generated by GNU Autoconf 2.64. Invocation command line was
2605 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2606 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2607 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2608 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2609 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2611 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2612 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2614 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2615 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2616 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2617 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2618 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2619 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2620 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir=.
2629 $as_echo "PATH: $as_dir"
2645 # Keep a trace of the command line.
2646 # Strip out --no-create and --no-recursion so they do not pile up.
2647 # Strip out --silent because we don't want to record it for future runs.
2648 # Also quote any args containing shell meta-characters.
2649 # Make two passes to allow for proper duplicate-argument suppression.
2653 ac_must_keep_next=false
2659 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2661 | -silent | --silent | --silen | --sile | --sil)
2664 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2667 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2669 as_fn_append ac_configure_args1 " '$ac_arg'"
2670 if test $ac_must_keep_next = true; then
2671 ac_must_keep_next=false # Got value, back to normal.
2674 *=* | --config-cache | -C | -disable-* | --disable-* \
2675 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2676 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2677 | -with-* | --with-* | -without-* | --without-* | --x)
2678 case "$ac_configure_args0 " in
2679 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2682 -* ) ac_must_keep_next=true ;;
2685 as_fn_append ac_configure_args " '$ac_arg'"
2690 { ac_configure_args0=; unset ac_configure_args0;}
2691 { ac_configure_args1=; unset ac_configure_args1;}
2693 # When interrupted or exit'd, cleanup temporary files, and complete
2694 # config.log. We remove comments because anyway the quotes in there
2695 # would cause problems or look ugly.
2696 # WARNING: Use '\'' to represent an apostrophe within the trap.
2697 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2698 trap 'exit_status=$?
2699 # Save into config.log some information that might help in debugging.
2704 ## ---------------- ##
2705 ## Cache variables. ##
2706 ## ---------------- ##
2709 # The following way of writing the cache mishandles newlines in values,
2711 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2712 eval ac_val=\$$ac_var
2716 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2717 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2720 _ | IFS | as_nl) ;; #(
2721 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2722 *) { eval $ac_var=; unset $ac_var;} ;;
2727 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2728 *${as_nl}ac_space=\ *)
2730 "s/'\''/'\''\\\\'\'''\''/g;
2731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2742 ## ----------------- ##
2743 ## Output variables. ##
2744 ## ----------------- ##
2747 for ac_var in $ac_subst_vars
2749 eval ac_val=\$$ac_var
2751 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2753 $as_echo "$ac_var='\''$ac_val'\''"
2757 if test -n "$ac_subst_files"; then
2759 ## ------------------- ##
2760 ## File substitutions. ##
2761 ## ------------------- ##
2764 for ac_var in $ac_subst_files
2766 eval ac_val=\$$ac_var
2768 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2770 $as_echo "$ac_var='\''$ac_val'\''"
2775 if test -s confdefs.h; then
2785 test "$ac_signal" != 0 &&
2786 $as_echo "$as_me: caught signal $ac_signal"
2787 $as_echo "$as_me: exit $exit_status"
2789 rm -f core *.core core.conftest.* &&
2790 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2793 for ac_signal in 1 2 13 15; do
2794 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2798 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2799 rm -f -r conftest* confdefs.h
2801 $as_echo "/* confdefs.h */" > confdefs.h
2803 # Predefined preprocessor variables.
2805 cat >>confdefs.h <<_ACEOF
2806 #define PACKAGE_NAME "$PACKAGE_NAME"
2809 cat >>confdefs.h <<_ACEOF
2810 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2813 cat >>confdefs.h <<_ACEOF
2814 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2817 cat >>confdefs.h <<_ACEOF
2818 #define PACKAGE_STRING "$PACKAGE_STRING"
2821 cat >>confdefs.h <<_ACEOF
2822 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2825 cat >>confdefs.h <<_ACEOF
2826 #define PACKAGE_URL "$PACKAGE_URL"
2830 # Let the site file select an alternate cache file if it wants to.
2831 # Prefer an explicitly selected file to automatically selected ones.
2834 if test -n "$CONFIG_SITE"; then
2835 ac_site_file1=$CONFIG_SITE
2836 elif test "x$prefix" != xNONE; then
2837 ac_site_file1=$prefix/share/config.site
2838 ac_site_file2=$prefix/etc/config.site
2840 ac_site_file1=$ac_default_prefix/share/config.site
2841 ac_site_file2=$ac_default_prefix/etc/config.site
2843 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2845 test "x$ac_site_file" = xNONE && continue
2846 if test -r "$ac_site_file"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2848 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2849 sed 's/^/| /' "$ac_site_file" >&5
2854 if test -r "$cache_file"; then
2855 # Some versions of bash will fail to source /dev/null (special
2856 # files actually), so we avoid doing that.
2857 if test -f "$cache_file"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2859 $as_echo "$as_me: loading cache $cache_file" >&6;}
2861 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2862 *) . "./$cache_file";;
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2867 $as_echo "$as_me: creating cache $cache_file" >&6;}
2871 # Check that the precious variables saved in the cache have kept the same
2873 ac_cache_corrupted=false
2874 for ac_var in $ac_precious_vars; do
2875 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2876 eval ac_new_set=\$ac_env_${ac_var}_set
2877 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2878 eval ac_new_val=\$ac_env_${ac_var}_value
2879 case $ac_old_set,$ac_new_set in
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2882 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2883 ac_cache_corrupted=: ;;
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2886 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2887 ac_cache_corrupted=: ;;
2890 if test "x$ac_old_val" != "x$ac_new_val"; then
2891 # differences in whitespace do not lead to failure.
2892 ac_old_val_w=`echo x $ac_old_val`
2893 ac_new_val_w=`echo x $ac_new_val`
2894 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2896 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2897 ac_cache_corrupted=:
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2900 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2901 eval $ac_var=\$ac_old_val
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2904 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2906 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2909 # Pass precious variables to config.status.
2910 if test "$ac_new_set" = set; then
2912 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2913 *) ac_arg=$ac_var=$ac_new_val ;;
2915 case " $ac_configure_args " in
2916 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2917 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2921 if $ac_cache_corrupted; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2925 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2926 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2928 ## -------------------- ##
2929 ## Main body of script. ##
2930 ## -------------------- ##
2933 ac_cpp='$CPP $CPPFLAGS'
2934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2946 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2947 for ac_t in install-sh install.sh shtool; do
2948 if test -f "$ac_dir/$ac_t"; then
2950 ac_install_sh="$ac_aux_dir/$ac_t -c"
2955 if test -z "$ac_aux_dir"; then
2956 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2959 # These three variables are undocumented and unsupported,
2960 # and are intended to be withdrawn in a future Autoconf release.
2961 # They can cause serious problems if a builder's source tree is in a directory
2962 # whose full name contains unusual characters.
2963 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2964 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2965 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2968 # Make sure we can run config.sub.
2969 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2970 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2973 $as_echo_n "checking build system type... " >&6; }
2974 if test "${ac_cv_build+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2977 ac_build_alias=$build_alias
2978 test "x$ac_build_alias" = x &&
2979 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2980 test "x$ac_build_alias" = x &&
2981 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2982 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2983 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2987 $as_echo "$ac_cv_build" >&6; }
2988 case $ac_cv_build in
2990 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2993 ac_save_IFS=$IFS; IFS='-'
2999 # Remember, the first character of IFS is used to create $*,
3000 # except with old shells:
3003 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3006 case ${build_alias} in
3007 "") build_noncanonical=${build} ;;
3008 *) build_noncanonical=${build_alias} ;;
3011 case ${host_alias} in
3012 "") host_noncanonical=${build_noncanonical} ;;
3013 *) host_noncanonical=${host_alias} ;;
3016 case ${target_alias} in
3017 "") target_noncanonical=${host_noncanonical} ;;
3018 *) target_noncanonical=${target_alias} ;;
3022 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3023 # have matching libraries, they should use host libraries: Makefile.tpl
3024 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3025 # However, they still use the build modules, because the corresponding
3026 # host modules (e.g. bison) are only built for the host when bootstrap
3028 # - build_subdir is where we find build modules, and never changes.
3029 # - build_libsubdir is where we find build libraries, and can be overridden.
3031 # Prefix 'build-' so this never conflicts with target_subdir.
3032 build_subdir="build-${build_noncanonical}"
3034 # Check whether --with-build-libsubdir was given.
3035 if test "${with_build_libsubdir+set}" = set; then :
3036 withval=$with_build_libsubdir; build_libsubdir="$withval"
3038 build_libsubdir="$build_subdir"
3041 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3042 if ( test $srcdir = . && test -d gcc ) \
3043 || test -d $srcdir/../host-${host_noncanonical}; then
3044 host_subdir="host-${host_noncanonical}"
3049 target_subdir=${target_noncanonical}
3052 # We use these options to decide which functions to include.
3054 # Check whether --with-target-subdir was given.
3055 if test "${with_target_subdir+set}" = set; then :
3056 withval=$with_target_subdir;
3060 # We may get other options which we don't document:
3061 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3063 # Find the rest of the source tree framework.
3064 # Default to --enable-multilib
3065 # Check whether --enable-multilib was given.
3066 if test "${enable_multilib+set}" = set; then :
3067 enableval=$enable_multilib; case "$enableval" in
3068 yes) multilib=yes ;;
3070 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3077 # We may get other options which we leave undocumented:
3078 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3079 # See config-ml.in if you want the gory details.
3081 if test "$srcdir" = "."; then
3082 if test "$with_target_subdir" != "."; then
3083 multi_basedir="$srcdir/$with_multisrctop../.."
3085 multi_basedir="$srcdir/$with_multisrctop.."
3088 multi_basedir="$srcdir/.."
3092 # Even if the default multilib is not a cross compilation,
3093 # it may be that some of the other multilibs are.
3094 if test $cross_compiling = no && test $multilib = yes \
3095 && test "x${with_multisubdir}" != x ; then
3096 cross_compiling=maybe
3099 ac_config_commands="$ac_config_commands default-1"
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103 $as_echo_n "checking host system type... " >&6; }
3104 if test "${ac_cv_host+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3107 if test "x$host_alias" = x; then
3108 ac_cv_host=$ac_cv_build
3110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116 $as_echo "$ac_cv_host" >&6; }
3119 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3122 ac_save_IFS=$IFS; IFS='-'
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3136 $as_echo_n "checking target system type... " >&6; }
3137 if test "${ac_cv_target+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test "x$target_alias" = x; then
3141 ac_cv_target=$ac_cv_host
3143 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3144 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3149 $as_echo "$ac_cv_target" >&6; }
3150 case $ac_cv_target in
3152 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3154 target=$ac_cv_target
3155 ac_save_IFS=$IFS; IFS='-'
3161 # Remember, the first character of IFS is used to create $*,
3162 # except with old shells:
3165 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3168 # The aliases save the names the user supplied, while $host etc.
3169 # will get canonicalized.
3170 test -n "$target_alias" &&
3171 test "$program_prefix$program_suffix$program_transform_name" = \
3173 program_prefix=${target_alias}-
3175 case ${build_alias} in
3176 "") build_noncanonical=${build} ;;
3177 *) build_noncanonical=${build_alias} ;;
3180 case ${target_alias} in
3181 "") target_noncanonical=${host_noncanonical} ;;
3182 *) target_noncanonical=${target_alias} ;;
3188 # This works around the fact that libtool configuration may change LD
3189 # for this particular configuration, but some shells, instead of
3190 # keeping the changes in LD private, export them just because LD is
3192 ORIGINAL_LD_FOR_MULTILIBS=$LD
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3195 $as_echo_n "checking whether ln -s works... " >&6; }
3197 if test "$LN_S" = "ln -s"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3199 $as_echo "yes" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3202 $as_echo "no, using $LN_S" >&6; }
3206 # This works around an automake problem.
3207 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3211 # Check whether --with-cross-host was given.
3212 if test "${with_cross_host+set}" = set; then :
3213 withval=$with_cross_host;
3218 # Check whether --with-newlib was given.
3219 if test "${with_newlib+set}" = set; then :
3220 withval=$with_newlib;
3224 # Check whether --enable-version-specific-runtime-libs was given.
3225 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3226 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
3227 yes) version_specific_libs=yes ;;
3228 no) version_specific_libs=no ;;
3229 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3232 version_specific_libs=no
3237 # Check whether --enable-browser-plugin was given.
3238 if test "${enable_browser_plugin+set}" = set; then :
3239 enableval=$enable_browser_plugin; case "$enableval" in
3240 yes) browser_plugin_enabled=yes ;;
3241 no) browser_plugin_enabled=no ;;
3242 *) as_fn_error "Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3245 browser_plugin_enabled=no
3250 # Check whether --enable-gconf-peer was given.
3251 if test "${enable_gconf_peer+set}" = set; then :
3252 enableval=$enable_gconf_peer; case "$enableval" in
3253 yes) gconf_enabled=yes ;;
3254 no) gconf_enabled=no ;;
3255 *) as_fn_error "Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3264 # Check whether --with-antlr-jar was given.
3265 if test "${with_antlr_jar+set}" = set; then :
3266 withval=$with_antlr_jar;
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3277 $as_echo_n "checking for antlr.jar... " >&6; }
3278 if test "x$ANTLR_JAR" = x; then
3279 for antlr_lib_home in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3280 /usr/share/antlr/lib /usr/share/java /usr/lib;
3282 if test -f "$antlr_lib_home/antlr.jar"; then
3283 # FIXME: version check for antlr needed without using a VM
3284 ANTLR_JAR="$antlr_lib_home/antlr.jar"
3288 if test "x$ANTLR_JAR" = x; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3290 $as_echo "not found" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3293 $as_echo "$ANTLR_JAR" >&6; }
3296 if test -f "${ANTLR_JAR}"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3298 $as_echo "$ANTLR_JAR" >&6; }
3300 as_fn_error "antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3305 # Check whether --enable-gjdoc was given.
3306 if test "${enable_gjdoc+set}" = set; then :
3307 enableval=$enable_gjdoc; case "${enableval}" in
3308 yes) BUILD_GJDOC=yes ;;
3309 no) BUILD_GJDOC=no ;;
3310 *) BUILD_GJDOC=yes ;;
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3318 $as_echo_n "checking whether to build gjdoc... " >&6; }
3319 if test "x$BUILD_GJDOC" = xmaybe; then
3320 if test -f "${ANTLR_JAR}"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3327 $as_echo "no, antlr.jar not found" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3331 $as_echo "$BUILD_GJDOC" >&6; }
3333 if test "x${BUILD_GJDOC}" = xyes; then
3335 CREATE_GJDOC_FALSE='#'
3337 CREATE_GJDOC_TRUE='#'
3342 # Check whether --enable-java-maintainer-mode was given.
3343 if test "${enable_java_maintainer_mode+set}" = set; then :
3344 enableval=$enable_java_maintainer_mode;
3347 if test "$enable_java_maintainer_mode" = yes; then
3348 JAVA_MAINTAINER_MODE_TRUE=
3349 JAVA_MAINTAINER_MODE_FALSE='#'
3351 JAVA_MAINTAINER_MODE_TRUE='#'
3352 JAVA_MAINTAINER_MODE_FALSE=
3356 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3359 # For libstdc++-v3, -fno-builtin must be present here so that a
3360 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3361 # used in later tests. This may not be necessary in libjava; I don't know.
3362 save_CXXFLAGS="$CXXFLAGS"
3363 CXXFLAGS="$CXXFLAGS -fno-builtin"
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 if test -n "$ac_tool_prefix"; then
3370 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3371 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if test "${ac_cv_prog_CC+set}" = set; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$CC"; then
3378 ac_cv_prog_CC="$CC" # Let the user override the test.
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 if test -n "$CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3400 $as_echo "$CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3408 if test -z "$ac_cv_prog_CC"; then
3410 # Extract the first word of "gcc", so it can be a program name with args.
3411 set dummy gcc; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$ac_ct_CC"; then
3418 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_ac_ct_CC="gcc"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3438 if test -n "$ac_ct_CC"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3440 $as_echo "$ac_ct_CC" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3446 if test "x$ac_ct_CC" = x; then
3449 case $cross_compiling:$ac_tool_warned in
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3453 ac_tool_warned=yes ;;
3461 if test -z "$CC"; then
3462 if test -n "$ac_tool_prefix"; then
3463 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3464 set dummy ${ac_tool_prefix}cc; ac_word=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if test "${ac_cv_prog_CC+set}" = set; then :
3468 $as_echo_n "(cached) " >&6
3470 if test -n "$CC"; then
3471 ac_cv_prog_CC="$CC" # Let the user override the test.
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir=.
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480 ac_cv_prog_CC="${ac_tool_prefix}cc"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 if test -n "$CC"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3493 $as_echo "$CC" >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3502 if test -z "$CC"; then
3503 # Extract the first word of "cc", so it can be a program name with args.
3504 set dummy cc; ac_word=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if test "${ac_cv_prog_CC+set}" = set; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC="$CC" # Let the user override the test.
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3522 ac_prog_rejected=yes
3526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 if test $ac_prog_rejected = yes; then
3534 # We found a bogon in the path, so make sure we never use it.
3535 set dummy $ac_cv_prog_CC
3537 if test $# != 0; then
3538 # We chose a different compiler from the bogus one.
3539 # However, it has the same basename, so the bogon will be chosen
3540 # first if we set CC to just the basename; use the full file name.
3542 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3548 if test -n "$CC"; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3550 $as_echo "$CC" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3558 if test -z "$CC"; then
3559 if test -n "$ac_tool_prefix"; then
3560 for ac_prog in cl.exe
3562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3563 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if test "${ac_cv_prog_CC+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 if test -n "$CC"; then
3570 ac_cv_prog_CC="$CC" # Let the user override the test.
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3579 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 if test -n "$CC"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3592 $as_echo "$CC" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3599 test -n "$CC" && break
3602 if test -z "$CC"; then
3604 for ac_prog in cl.exe
3606 # Extract the first word of "$ac_prog", so it can be a program name with args.
3607 set dummy $ac_prog; ac_word=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -n "$ac_ct_CC"; then
3614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623 ac_cv_prog_ac_ct_CC="$ac_prog"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3634 if test -n "$ac_ct_CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3636 $as_echo "$ac_ct_CC" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3643 test -n "$ac_ct_CC" && break
3646 if test "x$ac_ct_CC" = x; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned=yes ;;
3662 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3664 as_fn_error "no acceptable C compiler found in \$PATH
3665 See \`config.log' for more details." "$LINENO" 5; }
3667 # Provide some information about the compiler.
3668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3671 for ac_option in --version -v -V -qversion; do
3672 { { ac_try="$ac_compiler $ac_option >&5"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3681 if test -s conftest.err; then
3683 ... rest of stderr output deleted ...
3684 10q' conftest.err >conftest.er1
3685 cat conftest.er1 >&5
3686 rm -f conftest.er1 conftest.err
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3705 (eval $ac_link) 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3713 if test x$gcc_no_link = xyes; then
3714 # Setting cross_compile will disable run tests; it will
3715 # also disable AC_CHECK_FILE but that's generally
3716 # correct if we can't link.
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3731 ac_clean_files_save=$ac_clean_files
3732 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3733 # Try to create an executable without -o first, disregard a.out.
3734 # It will help us diagnose broken compilers, and finding out an intuition
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3737 $as_echo_n "checking for C compiler default output file name... " >&6; }
3738 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3740 # The possible output files:
3741 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3744 for ac_file in $ac_files
3747 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3748 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3753 if { { ac_try="$ac_link_default"
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3759 $as_echo "$ac_try_echo"; } >&5