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
635 ANONVERSCRIPT_SUN_FALSE
636 ANONVERSCRIPT_SUN_TRUE
637 ANONVERSCRIPT_GNU_FALSE
638 ANONVERSCRIPT_GNU_TRUE
652 INSTALL_BINARIES_FALSE
653 INSTALL_BINARIES_TRUE
654 NEEDS_DATA_START_FALSE
655 NEEDS_DATA_START_TRUE
686 USING_NO_THREADS_FALSE
687 USING_NO_THREADS_TRUE
688 USING_WIN32_THREADS_FALSE
689 USING_WIN32_THREADS_TRUE
690 USING_POSIX_THREADS_FALSE
691 USING_POSIX_THREADS_TRUE
712 extra_ldflags_libjava
721 USING_DARWIN_CRT_FALSE
722 USING_DARWIN_CRT_TRUE
723 USING_POSIX_PLATFORM_FALSE
724 USING_POSIX_PLATFORM_TRUE
725 USING_WIN32_PLATFORM_FALSE
726 USING_WIN32_PLATFORM_TRUE
733 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
734 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
735 SUPPRESS_LIBGCJ_BC_FALSE
736 SUPPRESS_LIBGCJ_BC_TRUE
740 INSTALL_ECJ_JAR_FALSE
785 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
787 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
788 LIBGCJ_SUBLIB_LTFLAGS
793 MAINTAINER_MODE_FALSE
823 INSTALL_STRIP_PROGRAM
848 JAVA_MAINTAINER_MODE_FALSE
849 JAVA_MAINTAINER_MODE_TRUE
900 program_transform_name
913 enable_option_checking
919 enable_version_specific_runtime_libs
920 enable_browser_plugin
924 enable_java_maintainer_mode
925 enable_dependency_tracking
926 enable_maintainer_mode
927 enable_libgcj_sublibs
937 enable_getenv_properties
938 enable_hash_synchronization
942 enable_reduced_reflection
946 enable_sjlj_exceptions
957 with_system_libunwind
959 enable_aot_compile_rpm
969 ac_precious_vars='build_alias
983 ac_subdirs_all='classpath libltdl'
985 # Initialize some variables set by options.
987 ac_init_version=false
988 ac_unrecognized_opts=
990 # The variables have the same names as the options, with
991 # dashes changed to underlines.
999 program_transform_name=s,x,x,
1007 # Installation directory options.
1008 # These are left unexpanded so users can "make install exec_prefix=/foo"
1009 # and all the variables that are supposed to be based on exec_prefix
1010 # by default will actually change.
1011 # Use braces instead of parens because sh, perl, etc. also accept them.
1012 # (The list follows the same order as the GNU Coding Standards.)
1013 bindir='${exec_prefix}/bin'
1014 sbindir='${exec_prefix}/sbin'
1015 libexecdir='${exec_prefix}/libexec'
1016 datarootdir='${prefix}/share'
1017 datadir='${datarootdir}'
1018 sysconfdir='${prefix}/etc'
1019 sharedstatedir='${prefix}/com'
1020 localstatedir='${prefix}/var'
1021 includedir='${prefix}/include'
1022 oldincludedir='/usr/include'
1023 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1024 infodir='${datarootdir}/info'
1029 libdir='${exec_prefix}/lib'
1030 localedir='${datarootdir}/locale'
1031 mandir='${datarootdir}/man'
1037 # If the previous option needs an argument, assign it.
1038 if test -n "$ac_prev"; then
1039 eval $ac_prev=\$ac_option
1045 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1049 # Accept the important Cygnus configure options, so we can diagnose typos.
1051 case $ac_dashdash$ac_option in
1055 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1057 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1058 bindir=$ac_optarg ;;
1060 -build | --build | --buil | --bui | --bu)
1061 ac_prev=build_alias ;;
1062 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1063 build_alias=$ac_optarg ;;
1065 -cache-file | --cache-file | --cache-fil | --cache-fi \
1066 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1067 ac_prev=cache_file ;;
1068 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1069 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1070 cache_file=$ac_optarg ;;
1072 --config-cache | -C)
1073 cache_file=config.cache ;;
1075 -datadir | --datadir | --datadi | --datad)
1077 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1078 datadir=$ac_optarg ;;
1080 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1081 | --dataroo | --dataro | --datar)
1082 ac_prev=datarootdir ;;
1083 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1084 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1085 datarootdir=$ac_optarg ;;
1087 -disable-* | --disable-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error "invalid feature name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_$ac_useropt"
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1101 eval enable_$ac_useropt=no ;;
1103 -docdir | --docdir | --docdi | --doc | --do)
1105 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1106 docdir=$ac_optarg ;;
1108 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1110 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1111 dvidir=$ac_optarg ;;
1113 -enable-* | --enable-*)
1114 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error "invalid feature name: $ac_useropt"
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1122 "enable_$ac_useropt"
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1127 eval enable_$ac_useropt=\$ac_optarg ;;
1129 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1130 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1131 | --exec | --exe | --ex)
1132 ac_prev=exec_prefix ;;
1133 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1134 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1135 | --exec=* | --exe=* | --ex=*)
1136 exec_prefix=$ac_optarg ;;
1138 -gas | --gas | --ga | --g)
1139 # Obsolete; use --with-gas.
1142 -help | --help | --hel | --he | -h)
1143 ac_init_help=long ;;
1144 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1145 ac_init_help=recursive ;;
1146 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1147 ac_init_help=short ;;
1149 -host | --host | --hos | --ho)
1150 ac_prev=host_alias ;;
1151 -host=* | --host=* | --hos=* | --ho=*)
1152 host_alias=$ac_optarg ;;
1154 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1156 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1158 htmldir=$ac_optarg ;;
1160 -includedir | --includedir | --includedi | --included | --include \
1161 | --includ | --inclu | --incl | --inc)
1162 ac_prev=includedir ;;
1163 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1164 | --includ=* | --inclu=* | --incl=* | --inc=*)
1165 includedir=$ac_optarg ;;
1167 -infodir | --infodir | --infodi | --infod | --info | --inf)
1169 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1170 infodir=$ac_optarg ;;
1172 -libdir | --libdir | --libdi | --libd)
1174 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1175 libdir=$ac_optarg ;;
1177 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1178 | --libexe | --libex | --libe)
1179 ac_prev=libexecdir ;;
1180 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1181 | --libexe=* | --libex=* | --libe=*)
1182 libexecdir=$ac_optarg ;;
1184 -localedir | --localedir | --localedi | --localed | --locale)
1185 ac_prev=localedir ;;
1186 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1187 localedir=$ac_optarg ;;
1189 -localstatedir | --localstatedir | --localstatedi | --localstated \
1190 | --localstate | --localstat | --localsta | --localst | --locals)
1191 ac_prev=localstatedir ;;
1192 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1193 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1194 localstatedir=$ac_optarg ;;
1196 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1198 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1199 mandir=$ac_optarg ;;
1201 -nfp | --nfp | --nf)
1202 # Obsolete; use --without-fp.
1205 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1206 | --no-cr | --no-c | -n)
1209 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1210 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1213 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1214 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1215 | --oldin | --oldi | --old | --ol | --o)
1216 ac_prev=oldincludedir ;;
1217 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1218 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1219 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1220 oldincludedir=$ac_optarg ;;
1222 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1224 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1225 prefix=$ac_optarg ;;
1227 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1228 | --program-pre | --program-pr | --program-p)
1229 ac_prev=program_prefix ;;
1230 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1231 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1232 program_prefix=$ac_optarg ;;
1234 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1235 | --program-suf | --program-su | --program-s)
1236 ac_prev=program_suffix ;;
1237 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1238 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1239 program_suffix=$ac_optarg ;;
1241 -program-transform-name | --program-transform-name \
1242 | --program-transform-nam | --program-transform-na \
1243 | --program-transform-n | --program-transform- \
1244 | --program-transform | --program-transfor \
1245 | --program-transfo | --program-transf \
1246 | --program-trans | --program-tran \
1247 | --progr-tra | --program-tr | --program-t)
1248 ac_prev=program_transform_name ;;
1249 -program-transform-name=* | --program-transform-name=* \
1250 | --program-transform-nam=* | --program-transform-na=* \
1251 | --program-transform-n=* | --program-transform-=* \
1252 | --program-transform=* | --program-transfor=* \
1253 | --program-transfo=* | --program-transf=* \
1254 | --program-trans=* | --program-tran=* \
1255 | --progr-tra=* | --program-tr=* | --program-t=*)
1256 program_transform_name=$ac_optarg ;;
1258 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1260 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1261 pdfdir=$ac_optarg ;;
1263 -psdir | --psdir | --psdi | --psd | --ps)
1265 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1272 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1274 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1276 sbindir=$ac_optarg ;;
1278 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1279 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1280 | --sharedst | --shareds | --shared | --share | --shar \
1282 ac_prev=sharedstatedir ;;
1283 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1284 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1285 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1287 sharedstatedir=$ac_optarg ;;
1289 -site | --site | --sit)
1291 -site=* | --site=* | --sit=*)
1294 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1296 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1297 srcdir=$ac_optarg ;;
1299 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1300 | --syscon | --sysco | --sysc | --sys | --sy)
1301 ac_prev=sysconfdir ;;
1302 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1303 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1304 sysconfdir=$ac_optarg ;;
1306 -target | --target | --targe | --targ | --tar | --ta | --t)
1307 ac_prev=target_alias ;;
1308 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1309 target_alias=$ac_optarg ;;
1311 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1314 -version | --version | --versio | --versi | --vers | -V)
1315 ac_init_version=: ;;
1318 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321 as_fn_error "invalid package name: $ac_useropt"
1322 ac_useropt_orig=$ac_useropt
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in
1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1329 ac_unrecognized_sep=', ';;
1331 eval with_$ac_useropt=\$ac_optarg ;;
1333 -without-* | --without-*)
1334 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1335 # Reject names that are not valid shell variable names.
1336 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1337 as_fn_error "invalid package name: $ac_useropt"
1338 ac_useropt_orig=$ac_useropt
1339 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1340 case $ac_user_opts in
1344 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1345 ac_unrecognized_sep=', ';;
1347 eval with_$ac_useropt=no ;;
1350 # Obsolete; use --with-x.
1353 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1354 | --x-incl | --x-inc | --x-in | --x-i)
1355 ac_prev=x_includes ;;
1356 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1357 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1358 x_includes=$ac_optarg ;;
1360 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1361 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1362 ac_prev=x_libraries ;;
1363 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1364 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1365 x_libraries=$ac_optarg ;;
1367 -*) as_fn_error "unrecognized option: \`$ac_option'
1368 Try \`$0 --help' for more information."
1372 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1373 # Reject names that are not valid shell variable names.
1374 case $ac_envvar in #(
1375 '' | [0-9]* | *[!_$as_cr_alnum]* )
1376 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1378 eval $ac_envvar=\$ac_optarg
1379 export $ac_envvar ;;
1382 # FIXME: should be removed in autoconf 3.0.
1383 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1384 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1385 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1386 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1392 if test -n "$ac_prev"; then
1393 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1394 as_fn_error "missing argument to $ac_option"
1397 if test -n "$ac_unrecognized_opts"; then
1398 case $enable_option_checking in
1400 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1401 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1405 # Check all directory arguments for consistency.
1406 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1407 datadir sysconfdir sharedstatedir localstatedir includedir \
1408 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1409 libdir localedir mandir
1411 eval ac_val=\$$ac_var
1412 # Remove trailing slashes.
1415 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1416 eval $ac_var=\$ac_val;;
1418 # Be sure to have absolute directory names.
1420 [\\/$]* | ?:[\\/]* ) continue;;
1421 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1423 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1426 # There might be people who depend on the old broken behavior: `$host'
1427 # used to hold the argument of --host etc.
1428 # FIXME: To remove some day.
1431 target=$target_alias
1433 # FIXME: To remove some day.
1434 if test "x$host_alias" != x; then
1435 if test "x$build_alias" = x; then
1436 cross_compiling=maybe
1437 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1438 If a cross compiler is detected then cross compile mode will be used." >&2
1439 elif test "x$build_alias" != "x$host_alias"; then
1445 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1447 test "$silent" = yes && exec 6>/dev/null
1450 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1451 ac_ls_di=`ls -di .` &&
1452 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1453 as_fn_error "working directory cannot be determined"
1454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455 as_fn_error "pwd does not report name of working directory"
1458 # Find the source files, if location was not specified.
1459 if test -z "$srcdir"; then
1460 ac_srcdir_defaulted=yes
1461 # Try the directory containing this script, then the parent directory.
1462 ac_confdir=`$as_dirname -- "$as_myself" ||
1463 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1464 X"$as_myself" : 'X\(//\)[^/]' \| \
1465 X"$as_myself" : 'X\(//\)$' \| \
1466 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1467 $as_echo X"$as_myself" |
1468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1486 if test ! -r "$srcdir/$ac_unique_file"; then
1490 ac_srcdir_defaulted=no
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1493 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1494 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1496 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1498 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1500 # When building in place, set srcdir=.
1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
1504 # Remove unnecessary trailing slashes from srcdir.
1505 # Double slashes in file names in object file debugging info
1506 # mess up M-x gdb in Emacs.
1508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1510 for ac_var in $ac_precious_vars; do
1511 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1512 eval ac_env_${ac_var}_value=\$${ac_var}
1513 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1514 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 # Report the --help message.
1520 if test "$ac_init_help" = "long"; then
1521 # Omit some internal or obsolete options to make the list less imposing.
1522 # This message is too long to be a string in the A/UX 3.1 sh.
1524 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1526 Usage: $0 [OPTION]... [VAR=VALUE]...
1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1529 VAR=VALUE. See below for descriptions of some of the useful variables.
1531 Defaults for the options are specified in brackets.
1534 -h, --help display this help and exit
1535 --help=short display options specific to this package
1536 --help=recursive display the short help of all the included packages
1537 -V, --version display version information and exit
1538 -q, --quiet, --silent do not print \`checking...' messages
1539 --cache-file=FILE cache test results in FILE [disabled]
1540 -C, --config-cache alias for \`--cache-file=config.cache'
1541 -n, --no-create do not create output files
1542 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1544 Installation directories:
1545 --prefix=PREFIX install architecture-independent files in PREFIX
1546 [$ac_default_prefix]
1547 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1550 By default, \`make install' will install all the files in
1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1553 for instance \`--prefix=\$HOME'.
1555 For better control, use the options below.
1557 Fine tuning of the installation directories:
1558 --bindir=DIR user executables [EPREFIX/bin]
1559 --sbindir=DIR system admin executables [EPREFIX/sbin]
1560 --libexecdir=DIR program executables [EPREFIX/libexec]
1561 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1562 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1563 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1564 --libdir=DIR object code libraries [EPREFIX/lib]
1565 --includedir=DIR C header files [PREFIX/include]
1566 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1567 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1568 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1569 --infodir=DIR info documentation [DATAROOTDIR/info]
1570 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1571 --mandir=DIR man documentation [DATAROOTDIR/man]
1572 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1573 --htmldir=DIR html documentation [DOCDIR]
1574 --dvidir=DIR dvi documentation [DOCDIR]
1575 --pdfdir=DIR pdf documentation [DOCDIR]
1576 --psdir=DIR ps documentation [DOCDIR]
1582 --program-prefix=PREFIX prepend PREFIX to installed program names
1583 --program-suffix=SUFFIX append SUFFIX to installed program names
1584 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1587 --x-includes=DIR X include files are in DIR
1588 --x-libraries=DIR X library files are in DIR
1591 --build=BUILD configure for building on BUILD [guessed]
1592 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1593 --target=TARGET configure for building compilers for TARGET [HOST]
1597 if test -n "$ac_init_help"; then
1598 case $ac_init_help in
1599 short | recursive ) echo "Configuration of libjava version-unused:";;
1604 --disable-option-checking ignore unrecognized --enable/--with options
1605 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1606 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1607 --enable-multilib build many library versions (default)
1608 --enable-version-specific-runtime-libs
1609 specify that runtime libraries should be installed
1610 in a compiler-specific directory
1611 --enable-browser-plugin build gcjwebplugin web browser plugin
1612 --enable-gconf-peer compile GConf native peers for util.preferences
1613 --disable-gjdoc compile GJDoc (disabled by --disable-gjdoc)
1615 --enable-java-maintainer-mode
1616 allow rebuilding of .class and .h files
1617 --disable-dependency-tracking speeds up one-time build
1618 --enable-dependency-tracking do not reject slow dependency extractors
1619 --enable-maintainer-mode enable make rules and dependencies not useful
1620 (and sometimes confusing) to the casual installer
1621 --enable-libgcj-sublibs build libgcj as many sub-libraries
1622 --enable-libgcj-debug enable runtime debugging code
1623 --enable-java-awt list of AWT peer implementations to be built
1624 --enable-shared[=PKGS] build shared libraries [default=yes]
1625 --enable-static[=PKGS] build static libraries [default=yes]
1626 --enable-fast-install[=PKGS]
1627 optimize for fast installation [default=yes]
1628 --disable-libtool-lock avoid locking (might break parallel builds)
1629 --disable-getenv-properties
1630 don't set system properties from GCJ_PROPERTIES
1631 --enable-hash-synchronization
1632 use global hash table for monitor locks
1633 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1635 --enable-reduced-reflection
1636 enable or disable(default) -freduced-reflection when
1637 building portions of libgcj
1638 --enable-gc-debug include full support for pointer backtracing etc.
1639 --enable-interpreter enable interpreter
1640 --enable-sjlj-exceptions
1641 force use of builtin_setjmp for exceptions
1642 --disable-java-net disable java.net
1643 --disable-jvmpi disable JVMPI support
1644 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1645 --disable-rpath do not hardcode runtime library paths
1646 --enable-tls Use thread-local storage [default=yes]
1647 --enable-aot-compile-rpm
1648 enable installation of aot-compile-rpm [default=no]
1649 --enable-java-home create a standard JDK-style directory layout in the
1650 install tree [default=no]
1653 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1654 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1655 --with-build-libsubdir=DIR Directory where to find libraries for build system
1656 --with-target-subdir=SUBDIR
1657 configure in a subdirectory
1658 --with-cross-host=HOST configure with a cross compiler from HOST
1659 --with-newlib configure with newlib
1660 --with-antlr-jar=file Use ANTLR from the specified jar file
1661 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1662 --with-pic try to use only PIC/non-PIC objects [default=use
1664 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1665 --with-ecj-jar=FILE use preinstalled ecj jar
1666 --with-java-home=DIRECTORY
1667 value of java.home system property
1668 --with-win32-nlsapi=ansi or unicows or unicode
1669 native MinGW libgcj Win32 OS API (default is ansi)
1670 --without-libffi don't use libffi
1671 --with-ecos enable runtime eCos target support
1672 --with-system-zlib use installed libz
1673 --with-x use the X Window System
1674 --with-gnu-ld assume the C compiler uses GNU ld default=no
1675 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1676 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1677 --with-system-libunwind use installed libunwind
1678 --with-python-dir the location to install Python modules. This path
1679 should NOT include the prefix.
1680 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1681 --with-arch-directory the arch directory under jre/lib (defaults to
1683 --with-os-directory the os directory under include (defaults to
1685 --with-origin-name the JPackage origin name of this package (default is
1687 --with-arch-suffix the arch directory suffix (default is the empty
1689 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1690 --with-jvm-jar-dir where to install jars (default is
1691 ${prefix}/lib/jvm-exports)
1693 Some influential environment variables:
1694 CC C compiler command
1695 CFLAGS C compiler flags
1696 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1697 nonstandard directory <lib dir>
1698 LIBS libraries to pass to the linker, e.g. -l<library>
1699 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1700 you have headers in a nonstandard directory <include dir>
1701 CXX C++ compiler command
1702 CXXFLAGS C++ compiler flags
1704 CXXCPP C++ preprocessor
1705 XMKMF Path to xmkmf, Makefile generator for X Window System
1707 Use these variables to override the choices made by `configure' or to help
1708 it to find libraries and programs with nonstandard names/locations.
1710 Report bugs to the package provider.
1715 if test "$ac_init_help" = "recursive"; then
1716 # If there are subdirs, report their specific --help.
1717 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1718 test -d "$ac_dir" ||
1719 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1724 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1727 # A ".." for each directory in $ac_dir_suffix.
1728 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1729 case $ac_top_builddir_sub in
1730 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1731 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1734 ac_abs_top_builddir=$ac_pwd
1735 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1736 # for backward compatibility:
1737 ac_top_builddir=$ac_top_build_prefix
1740 .) # We are building in place.
1742 ac_top_srcdir=$ac_top_builddir_sub
1743 ac_abs_top_srcdir=$ac_pwd ;;
1744 [\\/]* | ?:[\\/]* ) # Absolute name.
1745 ac_srcdir=$srcdir$ac_dir_suffix;
1746 ac_top_srcdir=$srcdir
1747 ac_abs_top_srcdir=$srcdir ;;
1749 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1750 ac_top_srcdir=$ac_top_build_prefix$srcdir
1751 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1753 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1755 cd "$ac_dir" || { ac_status=$?; continue; }
1756 # Check for guested configure.
1757 if test -f "$ac_srcdir/configure.gnu"; then
1759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1760 elif test -f "$ac_srcdir/configure"; then
1762 $SHELL "$ac_srcdir/configure" --help=recursive
1764 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1766 cd "$ac_pwd" || { ac_status=$?; break; }
1770 test -n "$ac_init_help" && exit $ac_status
1771 if $ac_init_version; then
1773 libjava configure version-unused
1774 generated by GNU Autoconf 2.64
1776 Copyright (C) 2009 Free Software Foundation, Inc.
1777 This configure script is free software; the Free Software Foundation
1778 gives unlimited permission to copy, distribute and modify it.
1783 ## ------------------------ ##
1784 ## Autoconf initialization. ##
1785 ## ------------------------ ##
1787 # ac_fn_c_try_compile LINENO
1788 # --------------------------
1789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_compile ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext
1794 if { { ac_try="$ac_compile"
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_compile") 2>conftest.err
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest.$ac_objext; then :
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_c_try_compile
1825 # ac_fn_cxx_try_compile LINENO
1826 # ----------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext
1832 if { { ac_try="$ac_compile"
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_cxx_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 } # ac_fn_cxx_try_compile
1863 # ac_fn_c_try_link LINENO
1864 # -----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 rm -f conftest.$ac_objext conftest$ac_exeext
1870 if { { ac_try="$ac_link"
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>conftest.err
1879 if test -s conftest.err; then
1880 grep -v '^ *+' conftest.err >conftest.er1
1881 cat conftest.er1 >&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_c_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest$ac_exeext && {
1889 test "$cross_compiling" = yes ||
1890 $as_test_x conftest$ac_exeext
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1899 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1900 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1901 # interfere with the next link command; also delete a directory that is
1902 # left behind by Apple's compiler. We do this before executing the actions.
1903 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 } # ac_fn_c_try_link
1909 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1910 # -------------------------------------------------------
1911 # Tests whether HEADER exists and can be compiled using the include files in
1912 # INCLUDES, setting the cache variable VAR accordingly.
1913 ac_fn_c_check_header_compile ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919 $as_echo_n "(cached) " >&6
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1926 if ac_fn_c_try_compile "$LINENO"; then :
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 } # ac_fn_c_check_header_compile
1940 # ac_fn_c_try_cpp LINENO
1941 # ----------------------
1942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if { { ac_try="$ac_cpp conftest.$ac_ext"
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1955 if test -s conftest.err; then
1956 grep -v '^ *+' conftest.err >conftest.er1
1957 cat conftest.er1 >&5
1958 mv -f conftest.er1 conftest.err
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } >/dev/null && {
1962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1963 test ! -s conftest.err
1967 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.$ac_ext >&5
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1977 # ac_fn_c_try_run LINENO
1978 # ----------------------
1979 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1980 # that executables *can* be run.
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 if { { ac_try="$ac_link"
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_link") 2>&5
1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1995 { { case "(($ac_try" in
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_try") 2>&5
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; }; }; then :
2007 $as_echo "$as_me: program exited with status $ac_status" >&5
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.$ac_ext >&5
2011 ac_retval=$ac_status
2013 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 # ac_fn_c_check_func LINENO FUNC VAR
2020 # ----------------------------------
2021 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2022 ac_fn_c_check_func ()
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2028 $as_echo_n "(cached) " >&6
2030 if test x$gcc_no_link = xyes; then
2031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2035 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2037 #define $2 innocuous_$2
2039 /* System header to define __stub macros and hopefully few prototypes,
2040 which can conflict with char $2 (); below.
2041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2042 <limits.h> exists even on freestanding compilers. */
2045 # include <limits.h>
2047 # include <assert.h>
2052 /* Override any GCC internal prototype to avoid an error.
2053 Use char because int might match the return type of a GCC
2054 builtin and then its argument prototype would still apply. */
2059 /* The GNU C library defines this for functions which it implements
2060 to always fail with ENOSYS. Some functions are actually named
2061 something starting with __ and the normal name is an alias. */
2062 #if defined __stub_$2 || defined __stub___$2
2074 if ac_fn_c_try_link "$LINENO"; then :
2079 rm -f core conftest.err conftest.$ac_objext \
2080 conftest$ac_exeext conftest.$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2085 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2087 } # ac_fn_c_check_func
2089 # ac_fn_cxx_try_cpp LINENO
2090 # ------------------------
2091 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2092 ac_fn_cxx_try_cpp ()
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095 if { { ac_try="$ac_cpp conftest.$ac_ext"
2097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2098 *) ac_try_echo=$ac_try;;
2100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101 $as_echo "$ac_try_echo"; } >&5
2102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2104 if test -s conftest.err; then
2105 grep -v '^ *+' conftest.err >conftest.er1
2106 cat conftest.er1 >&5
2107 mv -f conftest.er1 conftest.err
2109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2110 test $ac_status = 0; } >/dev/null && {
2111 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2112 test ! -s conftest.err
2116 $as_echo "$as_me: failed program was:" >&5
2117 sed 's/^/| /' conftest.$ac_ext >&5
2121 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2124 } # ac_fn_cxx_try_cpp
2126 # ac_fn_cxx_try_link LINENO
2127 # -------------------------
2128 # Try to link conftest.$ac_ext, and return whether this succeeded.
2129 ac_fn_cxx_try_link ()
2131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132 rm -f conftest.$ac_objext conftest$ac_exeext
2133 if { { ac_try="$ac_link"
2135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2136 *) ac_try_echo=$ac_try;;
2138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 $as_echo "$ac_try_echo"; } >&5
2140 (eval "$ac_link") 2>conftest.err
2142 if test -s conftest.err; then
2143 grep -v '^ *+' conftest.err >conftest.er1
2144 cat conftest.er1 >&5
2145 mv -f conftest.er1 conftest.err
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; } && {
2149 test -z "$ac_cxx_werror_flag" ||
2150 test ! -s conftest.err
2151 } && test -s conftest$ac_exeext && {
2152 test "$cross_compiling" = yes ||
2153 $as_test_x conftest$ac_exeext
2157 $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.$ac_ext >&5
2162 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2163 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2164 # interfere with the next link command; also delete a directory that is
2165 # left behind by Apple's compiler. We do this before executing the actions.
2166 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2167 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2170 } # ac_fn_cxx_try_link
2172 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2173 # -------------------------------------------------------
2174 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2175 # the include files in INCLUDES and setting the cache variable VAR
2177 ac_fn_c_check_header_mongrel ()
2179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2190 # Is the header compilable?
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2192 $as_echo_n "checking $2 usability... " >&6; }
2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199 ac_header_compiler=yes
2201 ac_header_compiler=no
2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2205 $as_echo "$ac_header_compiler" >&6; }
2207 # Is the header present?
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2209 $as_echo_n "checking $2 presence... " >&6; }
2210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2211 /* end confdefs.h. */
2214 if ac_fn_c_try_cpp "$LINENO"; then :
2215 ac_header_preproc=yes
2217 ac_header_preproc=no
2219 rm -f conftest.err conftest.$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2221 $as_echo "$ac_header_preproc" >&6; }
2223 # So? What about this header?
2224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2227 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2233 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2235 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2237 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2239 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245 $as_echo_n "checking for $2... " >&6; }
2246 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2247 $as_echo_n "(cached) " >&6
2249 eval "$3=\$ac_header_compiler"
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2255 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2257 } # ac_fn_c_check_header_mongrel
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member ()
2265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2284 if ac_fn_c_try_compile "$LINENO"; then :
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2294 if (sizeof ac_aggr.$3)
2300 if ac_fn_c_try_compile "$LINENO"; then :
2305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2314 } # ac_fn_c_check_member
2316 # ac_fn_c_check_decl LINENO SYMBOL VAR
2317 # ------------------------------------
2318 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2319 ac_fn_c_check_decl ()
2321 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2322 as_decl_name=`echo $2|sed 's/ *(.*//'`
2323 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2325 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2326 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2327 $as_echo_n "(cached) " >&6
2329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2335 #ifndef $as_decl_name
2337 (void) $as_decl_use;
2339 (void) $as_decl_name;
2347 if ac_fn_c_try_compile "$LINENO"; then :
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356 $as_echo "$ac_res" >&6; }
2357 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2359 } # ac_fn_c_check_decl
2361 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2362 # --------------------------------------------
2363 # Tries to find the compile-time value of EXPR in a program that includes
2364 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2366 ac_fn_c_compute_int ()
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2369 if test "$cross_compiling" = yes; then
2370 # Depending upon the size, compute the lo and hi bounds.
2371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2377 static int test_array [1 - 2 * !(($2) >= 0)];
2384 if ac_fn_c_try_compile "$LINENO"; then :
2387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2393 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2400 if ac_fn_c_try_compile "$LINENO"; then :
2401 ac_hi=$ac_mid; break
2403 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2404 if test $ac_lo -le $ac_mid; then
2408 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2419 static int test_array [1 - 2 * !(($2) < 0)];
2426 if ac_fn_c_try_compile "$LINENO"; then :
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2435 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_lo=$ac_mid; break
2445 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2446 if test $ac_mid -le $ac_hi; then
2450 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 # Binary search between lo and hi bounds.
2461 while test "x$ac_lo" != "x$ac_hi"; do
2462 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2469 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2476 if ac_fn_c_try_compile "$LINENO"; then :
2479 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2491 static long int longval () { return $2; }
2492 static unsigned long int ulongval () { return $2; }
2499 FILE *f = fopen ("conftest.val", "w");
2504 long int i = longval ();
2507 fprintf (f, "%ld", i);
2511 unsigned long int i = ulongval ();
2514 fprintf (f, "%lu", i);
2516 /* Do not output a trailing newline, as this causes \r\n confusion
2517 on some platforms. */
2518 return ferror (f) || fclose (f) != 0;
2524 if ac_fn_c_try_run "$LINENO"; then :
2525 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2530 conftest.$ac_objext conftest.beam conftest.$ac_ext
2534 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2537 } # ac_fn_c_compute_int
2539 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2540 # -------------------------------------------
2541 # Tests whether TYPE exists after having included INCLUDES, setting cache
2542 # variable VAR accordingly.
2543 ac_fn_c_check_type ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2549 $as_echo_n "(cached) " >&6
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2564 if ac_fn_c_try_compile "$LINENO"; then :
2565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2577 if ac_fn_c_try_compile "$LINENO"; then :
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 $as_echo "$ac_res" >&6; }
2589 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2591 } # ac_fn_c_check_type
2592 cat >config.log <<_ACEOF
2593 This file contains any messages produced by compilers while
2594 running configure, to aid debugging if configure makes a mistake.
2596 It was created by libjava $as_me version-unused, which was
2597 generated by GNU Autoconf 2.64. Invocation command line was
2609 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2610 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2611 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2612 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2613 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2615 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2616 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2618 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2619 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2620 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2621 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2622 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2623 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2624 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 $as_echo "PATH: $as_dir"
2649 # Keep a trace of the command line.
2650 # Strip out --no-create and --no-recursion so they do not pile up.
2651 # Strip out --silent because we don't want to record it for future runs.
2652 # Also quote any args containing shell meta-characters.
2653 # Make two passes to allow for proper duplicate-argument suppression.
2657 ac_must_keep_next=false
2663 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2664 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2665 | -silent | --silent | --silen | --sile | --sil)
2668 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2671 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2673 as_fn_append ac_configure_args1 " '$ac_arg'"
2674 if test $ac_must_keep_next = true; then
2675 ac_must_keep_next=false # Got value, back to normal.
2678 *=* | --config-cache | -C | -disable-* | --disable-* \
2679 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2680 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2681 | -with-* | --with-* | -without-* | --without-* | --x)
2682 case "$ac_configure_args0 " in
2683 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2686 -* ) ac_must_keep_next=true ;;
2689 as_fn_append ac_configure_args " '$ac_arg'"
2694 { ac_configure_args0=; unset ac_configure_args0;}
2695 { ac_configure_args1=; unset ac_configure_args1;}
2697 # When interrupted or exit'd, cleanup temporary files, and complete
2698 # config.log. We remove comments because anyway the quotes in there
2699 # would cause problems or look ugly.
2700 # WARNING: Use '\'' to represent an apostrophe within the trap.
2701 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2702 trap 'exit_status=$?
2703 # Save into config.log some information that might help in debugging.
2708 ## ---------------- ##
2709 ## Cache variables. ##
2710 ## ---------------- ##
2713 # The following way of writing the cache mishandles newlines in values,
2715 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2716 eval ac_val=\$$ac_var
2720 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2724 _ | IFS | as_nl) ;; #(
2725 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2726 *) { eval $ac_var=; unset $ac_var;} ;;
2731 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2732 *${as_nl}ac_space=\ *)
2734 "s/'\''/'\''\\\\'\'''\''/g;
2735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2746 ## ----------------- ##
2747 ## Output variables. ##
2748 ## ----------------- ##
2751 for ac_var in $ac_subst_vars
2753 eval ac_val=\$$ac_var
2755 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2757 $as_echo "$ac_var='\''$ac_val'\''"
2761 if test -n "$ac_subst_files"; then
2763 ## ------------------- ##
2764 ## File substitutions. ##
2765 ## ------------------- ##
2768 for ac_var in $ac_subst_files
2770 eval ac_val=\$$ac_var
2772 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2774 $as_echo "$ac_var='\''$ac_val'\''"
2779 if test -s confdefs.h; then
2789 test "$ac_signal" != 0 &&
2790 $as_echo "$as_me: caught signal $ac_signal"
2791 $as_echo "$as_me: exit $exit_status"
2793 rm -f core *.core core.conftest.* &&
2794 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2797 for ac_signal in 1 2 13 15; do
2798 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2802 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2803 rm -f -r conftest* confdefs.h
2805 $as_echo "/* confdefs.h */" > confdefs.h
2807 # Predefined preprocessor variables.
2809 cat >>confdefs.h <<_ACEOF
2810 #define PACKAGE_NAME "$PACKAGE_NAME"
2813 cat >>confdefs.h <<_ACEOF
2814 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2817 cat >>confdefs.h <<_ACEOF
2818 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2821 cat >>confdefs.h <<_ACEOF
2822 #define PACKAGE_STRING "$PACKAGE_STRING"
2825 cat >>confdefs.h <<_ACEOF
2826 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2829 cat >>confdefs.h <<_ACEOF
2830 #define PACKAGE_URL "$PACKAGE_URL"
2834 # Let the site file select an alternate cache file if it wants to.
2835 # Prefer an explicitly selected file to automatically selected ones.
2838 if test -n "$CONFIG_SITE"; then
2839 ac_site_file1=$CONFIG_SITE
2840 elif test "x$prefix" != xNONE; then
2841 ac_site_file1=$prefix/share/config.site
2842 ac_site_file2=$prefix/etc/config.site
2844 ac_site_file1=$ac_default_prefix/share/config.site
2845 ac_site_file2=$ac_default_prefix/etc/config.site
2847 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2849 test "x$ac_site_file" = xNONE && continue
2850 if test -r "$ac_site_file"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2852 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2853 sed 's/^/| /' "$ac_site_file" >&5
2858 if test -r "$cache_file"; then
2859 # Some versions of bash will fail to source /dev/null (special
2860 # files actually), so we avoid doing that.
2861 if test -f "$cache_file"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2863 $as_echo "$as_me: loading cache $cache_file" >&6;}
2865 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2866 *) . "./$cache_file";;
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2871 $as_echo "$as_me: creating cache $cache_file" >&6;}
2875 # Check that the precious variables saved in the cache have kept the same
2877 ac_cache_corrupted=false
2878 for ac_var in $ac_precious_vars; do
2879 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2880 eval ac_new_set=\$ac_env_${ac_var}_set
2881 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2882 eval ac_new_val=\$ac_env_${ac_var}_value
2883 case $ac_old_set,$ac_new_set in
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2886 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2887 ac_cache_corrupted=: ;;
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2890 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2891 ac_cache_corrupted=: ;;
2894 if test "x$ac_old_val" != "x$ac_new_val"; then
2895 # differences in whitespace do not lead to failure.
2896 ac_old_val_w=`echo x $ac_old_val`
2897 ac_new_val_w=`echo x $ac_new_val`
2898 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2900 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2901 ac_cache_corrupted=:
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2904 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2905 eval $ac_var=\$ac_old_val
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2908 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2910 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2913 # Pass precious variables to config.status.
2914 if test "$ac_new_set" = set; then
2916 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2917 *) ac_arg=$ac_var=$ac_new_val ;;
2919 case " $ac_configure_args " in
2920 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2921 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2925 if $ac_cache_corrupted; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2929 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2930 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2932 ## -------------------- ##
2933 ## Main body of script. ##
2934 ## -------------------- ##
2937 ac_cpp='$CPP $CPPFLAGS'
2938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2950 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2951 for ac_t in install-sh install.sh shtool; do
2952 if test -f "$ac_dir/$ac_t"; then
2954 ac_install_sh="$ac_aux_dir/$ac_t -c"
2959 if test -z "$ac_aux_dir"; then
2960 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2963 # These three variables are undocumented and unsupported,
2964 # and are intended to be withdrawn in a future Autoconf release.
2965 # They can cause serious problems if a builder's source tree is in a directory
2966 # whose full name contains unusual characters.
2967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2969 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2972 # Make sure we can run config.sub.
2973 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2974 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2977 $as_echo_n "checking build system type... " >&6; }
2978 if test "${ac_cv_build+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2981 ac_build_alias=$build_alias
2982 test "x$ac_build_alias" = x &&
2983 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2984 test "x$ac_build_alias" = x &&
2985 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2986 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2987 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2991 $as_echo "$ac_cv_build" >&6; }
2992 case $ac_cv_build in
2994 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2997 ac_save_IFS=$IFS; IFS='-'
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3007 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3010 case ${build_alias} in
3011 "") build_noncanonical=${build} ;;
3012 *) build_noncanonical=${build_alias} ;;
3015 case ${host_alias} in
3016 "") host_noncanonical=${build_noncanonical} ;;
3017 *) host_noncanonical=${host_alias} ;;
3020 case ${target_alias} in
3021 "") target_noncanonical=${host_noncanonical} ;;
3022 *) target_noncanonical=${target_alias} ;;
3026 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3027 # have matching libraries, they should use host libraries: Makefile.tpl
3028 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3029 # However, they still use the build modules, because the corresponding
3030 # host modules (e.g. bison) are only built for the host when bootstrap
3032 # - build_subdir is where we find build modules, and never changes.
3033 # - build_libsubdir is where we find build libraries, and can be overridden.
3035 # Prefix 'build-' so this never conflicts with target_subdir.
3036 build_subdir="build-${build_noncanonical}"
3038 # Check whether --with-build-libsubdir was given.
3039 if test "${with_build_libsubdir+set}" = set; then :
3040 withval=$with_build_libsubdir; build_libsubdir="$withval"
3042 build_libsubdir="$build_subdir"
3045 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3046 if ( test $srcdir = . && test -d gcc ) \
3047 || test -d $srcdir/../host-${host_noncanonical}; then
3048 host_subdir="host-${host_noncanonical}"
3053 target_subdir=${target_noncanonical}
3056 # We use these options to decide which functions to include.
3058 # Check whether --with-target-subdir was given.
3059 if test "${with_target_subdir+set}" = set; then :
3060 withval=$with_target_subdir;
3064 # We may get other options which we don't document:
3065 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3067 # Find the rest of the source tree framework.
3068 # Default to --enable-multilib
3069 # Check whether --enable-multilib was given.
3070 if test "${enable_multilib+set}" = set; then :
3071 enableval=$enable_multilib; case "$enableval" in
3072 yes) multilib=yes ;;
3074 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3081 # We may get other options which we leave undocumented:
3082 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3083 # See config-ml.in if you want the gory details.
3085 if test "$srcdir" = "."; then
3086 if test "$with_target_subdir" != "."; then
3087 multi_basedir="$srcdir/$with_multisrctop../.."
3089 multi_basedir="$srcdir/$with_multisrctop.."
3092 multi_basedir="$srcdir/.."
3096 # Even if the default multilib is not a cross compilation,
3097 # it may be that some of the other multilibs are.
3098 if test $cross_compiling = no && test $multilib = yes \
3099 && test "x${with_multisubdir}" != x ; then
3100 cross_compiling=maybe
3103 ac_config_commands="$ac_config_commands default-1"
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3107 $as_echo_n "checking host system type... " >&6; }
3108 if test "${ac_cv_host+set}" = set; then :
3109 $as_echo_n "(cached) " >&6
3111 if test "x$host_alias" = x; then
3112 ac_cv_host=$ac_cv_build
3114 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3115 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3120 $as_echo "$ac_cv_host" >&6; }
3123 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3126 ac_save_IFS=$IFS; IFS='-'
3132 # Remember, the first character of IFS is used to create $*,
3133 # except with old shells:
3136 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3140 $as_echo_n "checking target system type... " >&6; }
3141 if test "${ac_cv_target+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3144 if test "x$target_alias" = x; then
3145 ac_cv_target=$ac_cv_host
3147 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3148 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3153 $as_echo "$ac_cv_target" >&6; }
3154 case $ac_cv_target in
3156 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3158 target=$ac_cv_target
3159 ac_save_IFS=$IFS; IFS='-'
3165 # Remember, the first character of IFS is used to create $*,
3166 # except with old shells:
3169 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3172 # The aliases save the names the user supplied, while $host etc.
3173 # will get canonicalized.
3174 test -n "$target_alias" &&
3175 test "$program_prefix$program_suffix$program_transform_name" = \
3177 program_prefix=${target_alias}-
3179 case ${build_alias} in
3180 "") build_noncanonical=${build} ;;
3181 *) build_noncanonical=${build_alias} ;;
3184 case ${target_alias} in
3185 "") target_noncanonical=${host_noncanonical} ;;
3186 *) target_noncanonical=${target_alias} ;;
3192 # This works around the fact that libtool configuration may change LD
3193 # for this particular configuration, but some shells, instead of
3194 # keeping the changes in LD private, export them just because LD is
3196 ORIGINAL_LD_FOR_MULTILIBS=$LD
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3199 $as_echo_n "checking whether ln -s works... " >&6; }
3201 if test "$LN_S" = "ln -s"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3206 $as_echo "no, using $LN_S" >&6; }
3210 # This works around an automake problem.
3211 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3215 # Check whether --with-cross-host was given.
3216 if test "${with_cross_host+set}" = set; then :
3217 withval=$with_cross_host;
3222 # Check whether --with-newlib was given.
3223 if test "${with_newlib+set}" = set; then :
3224 withval=$with_newlib;
3228 # Check whether --enable-version-specific-runtime-libs was given.
3229 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3230 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
3231 yes) version_specific_libs=yes ;;
3232 no) version_specific_libs=no ;;
3233 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3236 version_specific_libs=no
3241 # Check whether --enable-browser-plugin was given.
3242 if test "${enable_browser_plugin+set}" = set; then :
3243 enableval=$enable_browser_plugin; case "$enableval" in
3244 yes) browser_plugin_enabled=yes ;;
3245 no) browser_plugin_enabled=no ;;
3246 *) as_fn_error "Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3249 browser_plugin_enabled=no
3254 # Check whether --enable-gconf-peer was given.
3255 if test "${enable_gconf_peer+set}" = set; then :
3256 enableval=$enable_gconf_peer; case "$enableval" in
3257 yes) gconf_enabled=yes ;;
3258 no) gconf_enabled=no ;;
3259 *) as_fn_error "Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3268 # Check whether --with-antlr-jar was given.
3269 if test "${with_antlr_jar+set}" = set; then :
3270 withval=$with_antlr_jar;
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3281 $as_echo_n "checking for antlr.jar... " >&6; }
3282 if test "x$ANTLR_JAR" = x; then
3283 for antlr_lib_home in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3284 /usr/share/antlr/lib /usr/share/java /usr/lib;
3286 if test -f "$antlr_lib_home/antlr.jar"; then
3287 # FIXME: version check for antlr needed without using a VM
3288 ANTLR_JAR="$antlr_lib_home/antlr.jar"
3292 if test "x$ANTLR_JAR" = x; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3294 $as_echo "not found" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3297 $as_echo "$ANTLR_JAR" >&6; }
3300 if test -f "${ANTLR_JAR}"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3302 $as_echo "$ANTLR_JAR" >&6; }
3304 as_fn_error "antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3309 # Check whether --enable-gjdoc was given.
3310 if test "${enable_gjdoc+set}" = set; then :
3311 enableval=$enable_gjdoc; case "${enableval}" in
3312 yes) BUILD_GJDOC=yes ;;
3313 no) BUILD_GJDOC=no ;;
3314 *) BUILD_GJDOC=yes ;;
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3322 $as_echo_n "checking whether to build gjdoc... " >&6; }
3323 if test "x$BUILD_GJDOC" = xmaybe; then
3324 if test -f "${ANTLR_JAR}"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3327 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3331 $as_echo "no, antlr.jar not found" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3335 $as_echo "$BUILD_GJDOC" >&6; }
3337 if test "x${BUILD_GJDOC}" = xyes; then
3339 CREATE_GJDOC_FALSE='#'
3341 CREATE_GJDOC_TRUE='#'
3346 # Check whether --enable-java-maintainer-mode was given.
3347 if test "${enable_java_maintainer_mode+set}" = set; then :
3348 enableval=$enable_java_maintainer_mode;
3351 if test "$enable_java_maintainer_mode" = yes; then
3352 JAVA_MAINTAINER_MODE_TRUE=
3353 JAVA_MAINTAINER_MODE_FALSE='#'
3355 JAVA_MAINTAINER_MODE_TRUE='#'
3356 JAVA_MAINTAINER_MODE_FALSE=
3360 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3363 # For libstdc++-v3, -fno-builtin must be present here so that a
3364 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3365 # used in later tests. This may not be necessary in libjava; I don't know.
3366 save_CXXFLAGS="$CXXFLAGS"
3367 CXXFLAGS="$CXXFLAGS -fno-builtin"
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 if test -n "$ac_tool_prefix"; then
3374 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3375 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if test "${ac_cv_prog_CC+set}" = set; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC="$CC" # Let the user override the test.
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3391 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 if test -n "$CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404 $as_echo "$CC" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3412 if test -z "$ac_cv_prog_CC"; then
3414 # Extract the first word of "gcc", so it can be a program name with args.
3415 set dummy gcc; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$ac_ct_CC"; then
3422 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431 ac_cv_prog_ac_ct_CC="gcc"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3442 if test -n "$ac_ct_CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3444 $as_echo "$ac_ct_CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3450 if test "x$ac_ct_CC" = x; then
3453 case $cross_compiling:$ac_tool_warned in
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3457 ac_tool_warned=yes ;;
3465 if test -z "$CC"; then
3466 if test -n "$ac_tool_prefix"; then
3467 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3468 set dummy ${ac_tool_prefix}cc; ac_word=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if test "${ac_cv_prog_CC+set}" = set; then :
3472 $as_echo_n "(cached) " >&6
3474 if test -n "$CC"; then
3475 ac_cv_prog_CC="$CC" # Let the user override the test.
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3484 ac_cv_prog_CC="${ac_tool_prefix}cc"
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 if test -n "$CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3497 $as_echo "$CC" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3506 if test -z "$CC"; then
3507 # Extract the first word of "cc", so it can be a program name with args.
3508 set dummy cc; ac_word=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC="$CC" # Let the user override the test.
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir=.
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3525 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3526 ac_prog_rejected=yes
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 if test $ac_prog_rejected = yes; then
3538 # We found a bogon in the path, so make sure we never use it.
3539 set dummy $ac_cv_prog_CC
3541 if test $# != 0; then
3542 # We chose a different compiler from the bogus one.
3543 # However, it has the same basename, so the bogon will be chosen
3544 # first if we set CC to just the basename; use the full file name.
3546 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3552 if test -n "$CC"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3554 $as_echo "$CC" >&6; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3562 if test -z "$CC"; then
3563 if test -n "$ac_tool_prefix"; then
3564 for ac_prog in cl.exe
3566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3567 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if test "${ac_cv_prog_CC+set}" = set; then :
3571 $as_echo_n "(cached) " >&6
3573 if test -n "$CC"; then
3574 ac_cv_prog_CC="$CC" # Let the user override the test.
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir=.
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 if test -n "$CC"; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3596 $as_echo "$CC" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3603 test -n "$CC" && break
3606 if test -z "$CC"; then
3608 for ac_prog in cl.exe
3610 # Extract the first word of "$ac_prog", so it can be a program name with args.
3611 set dummy $ac_prog; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$ac_ct_CC"; then
3618 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CC="$ac_prog"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3638 if test -n "$ac_ct_CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3640 $as_echo "$ac_ct_CC" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3647 test -n "$ac_ct_CC" && break
3650 if test "x$ac_ct_CC" = x; then
3653 case $cross_compiling:$ac_tool_warned in
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3657 ac_tool_warned=yes ;;
3666 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error "no acceptable C compiler found in \$PATH
3669 See \`config.log' for more details." "$LINENO" 5; }
3671 # Provide some information about the compiler.
3672 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3675 for ac_option in --version -v -V -qversion; do
3676 { { ac_try="$ac_compiler $ac_option >&5"
3678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3685 if test -s conftest.err; then
3687 ... rest of stderr output deleted ...
3688 10q' conftest.err >conftest.er1
3689 cat conftest.er1 >&5
3690 rm -f conftest.er1 conftest.err
3692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3693 test $ac_status = 0; }
3696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3709 (eval $ac_link) 2>&5
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; }; then :
3717 if test x$gcc_no_link = xyes; then
3718 # Setting cross_compile will disable run tests; it will
3719 # also disable AC_CHECK_FILE but that's generally
3720 # correct if we can't link.
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 ac_clean_files_save=$ac_clean_files
3736 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3737 # Try to create an executable without -o first, disregard a.out.
3738 # It will help us diagnose broken compilers, and finding out an intuition
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3741 $as_echo_n "checking for C compiler default output file name... " >&6; }
3742 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3744 # The possible output files:
3745 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3748 for ac_file in $ac_files
3751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3752 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3757 if { { ac_try="$ac_link_default"
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_link_default") 2>&5
3766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767 test $ac_status = 0; }; then :
3768 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3769 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3770 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3771 # so that the user can short-circuit this test for compilers unknown to
3773 for ac_file in $ac_files ''
3775 test -f "$ac_file" || continue
3777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3780 # We found the default executable, but exeext='' is most
3784 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3786 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3788 # We set ac_cv_exeext here because the later test for it is not
3789 # safe: cross compilers may not add the suffix if given an `-o'
3790 # argument, so we may need to know it at that point already.
3791 # Even if this section looks crufty: it has the advantage of
3798 test "$ac_cv_exeext" = no && ac_cv_exeext=
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3804 $as_echo "$ac_file" >&6; }
3805 if test -z "$ac_file"; then :
3806 $as_echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5
3809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 { as_fn_set_status 77
3812 as_fn_error "C compiler cannot create executables
3813 See \`config.log' for more details." "$LINENO" 5; }; }
3815 ac_exeext=$ac_cv_exeext
3817 # Check that the compiler produces executables we can run. If not, either
3818 # the compiler is broken, or we cross compile.
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3820 $as_echo_n "checking whether the C compiler works... " >&6; }
3821 # If not cross compiling, check that we can run a simple program.
3822 if test "$cross_compiling" != yes; then
3823 if { ac_try='./$ac_file'
3824 { { case "(($ac_try" in
3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_try") 2>&5
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; }; then
3836 if test "$cross_compiling" = maybe; then
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error "cannot run C compiled programs.
3842 If you meant to cross compile, use \`--host'.
3843 See \`config.log' for more details." "$LINENO" 5; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3848 $as_echo "yes" >&6; }
3850 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3851 ac_clean_files=$ac_clean_files_save
3852 # Check that the compiler produces executables we can run. If not, either
3853 # the compiler is broken, or we cross compile.
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3855 $as_echo_n "checking whether we are cross compiling... " >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3857 $as_echo "$cross_compiling" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3860 $as_echo_n "checking for suffix of executables... " >&6; }
3861 if { { ac_try="$ac_link"
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_link") 2>&5
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871 test $ac_status = 0; }; then :
3872 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3873 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3874 # work properly (i.e., refer to `conftest.exe'), while it won't with
3876 for ac_file in conftest.exe conftest conftest.*; do
3877 test -f "$ac_file" || continue
3879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3880 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error "cannot compute suffix of executables: cannot compile and link
3889 See \`config.log' for more details." "$LINENO" 5; }
3891 rm -f conftest$ac_cv_exeext
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3893 $as_echo "$ac_cv_exeext" >&6; }
3895 rm -f conftest.$ac_ext
3896 EXEEXT=$ac_cv_exeext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3900 $as_echo_n "checking for suffix of object files... " >&6; }
3901 if test "${ac_cv_objext+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 rm -f conftest.o conftest.obj
3916 if { { ac_try="$ac_compile"
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_compile") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 for ac_file in conftest.o conftest.obj conftest.*; do
3928 test -f "$ac_file" || continue;
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3936 $as_echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3941 as_fn_error "cannot compute suffix of object files: cannot compile
3942 See \`config.log' for more details." "$LINENO" 5; }
3944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3947 $as_echo "$ac_cv_objext" >&6; }
3948 OBJEXT=$ac_cv_objext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3952 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3969 if ac_fn_c_try_compile "$LINENO"; then :
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3980 if test $ac_compiler_gnu = yes; then
3985 ac_test_CFLAGS=${CFLAGS+set}
3986 ac_save_CFLAGS=$CFLAGS
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3989 if test "${ac_cv_prog_cc_g+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 ac_save_c_werror_flag=$ac_c_werror_flag
3993 ac_c_werror_flag=yes
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4007 if ac_fn_c_try_compile "$LINENO"; then :
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4022 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_c_werror_flag=$ac_save_c_werror_flag
4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4038 if ac_fn_c_try_compile "$LINENO"; then :
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 ac_c_werror_flag=$ac_save_c_werror_flag
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4049 $as_echo "$ac_cv_prog_cc_g" >&6; }
4050 if test "$ac_test_CFLAGS" = set; then
4051 CFLAGS=$ac_save_CFLAGS
4052 elif test $ac_cv_prog_cc_g = yes; then
4053 if test "$GCC" = yes; then
4059 if test "$GCC" = yes; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4067 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4070 ac_cv_prog_cc_c89=no
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 #include <sys/types.h>
4077 #include <sys/stat.h>
4078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4079 struct buf { int x; };
4080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4081 static char *e (p, i)
4087 static char *f (char * (*g) (char **, int), char **p, ...)
4092 s = g (p, va_arg (v,int));
4097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4098 function prototypes and stuff, but not '\xHH' hex character constants.
4099 These don't provoke an error unfortunately, instead are silently treated
4100 as 'x'. The following induces an error, until -std is added to get
4101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4102 array size at least. It's necessary to write '\x00'==0 to get something
4103 that's true only with -std. */
4104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4107 inside strings and character constants. */
4109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4111 int test (int i, double x);
4112 struct s1 {int (*f) (int a);};
4113 struct s2 {int (*f) (double a);};
4114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4128 CC="$ac_save_CC $ac_arg"
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 ac_cv_prog_cc_c89=$ac_arg
4132 rm -f core conftest.err conftest.$ac_objext
4133 test "x$ac_cv_prog_cc_c89" != "xno" && break
4135 rm -f conftest.$ac_ext
4140 case "x$ac_cv_prog_cc_c89" in
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4143 $as_echo "none needed" >&6; } ;;
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4146 $as_echo "unsupported" >&6; } ;;
4148 CC="$CC $ac_cv_prog_cc_c89"
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4152 if test "x$ac_cv_prog_cc_c89" != xno; then :
4157 ac_cpp='$CPP $CPPFLAGS'
4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 ac_cpp='$CXXCPP $CPPFLAGS'
4164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4167 if test -z "$CXX"; then
4168 if test -n "$CCC"; then
4171 if test -n "$ac_tool_prefix"; then
4172 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if test "${ac_cv_prog_CXX+set}" = set; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$CXX"; then
4182 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir=.
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 if test -n "$CXX"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4204 $as_echo "$CXX" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 test -n "$CXX" && break
4214 if test -z "$CXX"; then
4216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4218 # Extract the first word of "$ac_prog", so it can be a program name with args.
4219 set dummy $ac_prog; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$ac_ct_CXX"; then
4226 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235 ac_cv_prog_ac_ct_CXX="$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4246 if test -n "$ac_ct_CXX"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4248 $as_echo "$ac_ct_CXX" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$ac_ct_CXX" && break
4258 if test "x$ac_ct_CXX" = x; then
4261 case $cross_compiling:$ac_tool_warned in
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4265 ac_tool_warned=yes ;;
4273 # Provide some information about the compiler.
4274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4277 for ac_option in --version -v -V -qversion; do
4278 { { ac_try="$ac_compiler $ac_option >&5"
4280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281 *) ac_try_echo=$ac_try;;
4283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4284 $as_echo "$ac_try_echo"; } >&5
4285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4287 if test -s conftest.err; then
4289 ... rest of stderr output deleted ...
4290 10q' conftest.err >conftest.er1
4291 cat conftest.er1 >&5
4292 rm -f conftest.er1 conftest.err
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4299 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4300 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4317 if ac_fn_cxx_try_compile "$LINENO"; then :
4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4323 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4327 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4328 if test $ac_compiler_gnu = yes; then
4333 ac_test_CXXFLAGS=${CXXFLAGS+set}
4334 ac_save_CXXFLAGS=$CXXFLAGS
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4336 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4337 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4341 ac_cxx_werror_flag=yes
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4355 if ac_fn_cxx_try_compile "$LINENO"; then :
4356 ac_cv_prog_cxx_g=yes
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_cxx_try_compile "$LINENO"; then :
4373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4386 if ac_fn_cxx_try_compile "$LINENO"; then :
4387 ac_cv_prog_cxx_g=yes
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4394 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4397 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4398 if test "$ac_test_CXXFLAGS" = set; then
4399 CXXFLAGS=$ac_save_CXXFLAGS
4400 elif test $ac_cv_prog_cxx_g = yes; then
4401 if test "$GXX" = yes; then
4407 if test "$GXX" = yes; then
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419 CXXFLAGS="$save_CXXFLAGS"
4421 am__api_version='1.11'
4423 # Find a good install program. We prefer a C program (faster),
4424 # so one script is as good as another. But avoid the broken or
4425 # incompatible versions:
4426 # SysV /etc/install, /usr/sbin/install
4427 # SunOS /usr/etc/install
4428 # IRIX /sbin/install
4430 # AmigaOS /C/install, which installs bootblocks on floppy discs
4431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4434 # OS/2's system install, which has a completely different semantic
4435 # ./install, which can be erroneously created by make from ./install.sh.
4436 # Reject install programs that cannot install multiple files.
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4439 if test -z "$INSTALL"; then
4440 if test "${ac_cv_path_install+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 # Account for people who put trailing slashes in PATH elements.
4449 case $as_dir/ in #((
4450 ./ | .// | /[cC]/* | \
4451 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4452 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4455 # OSF1 and SCO ODT 3.0 have their own names for install.
4456 # Don't use installbsd from OSF since it installs stuff as root
4458 for ac_prog in ginstall scoinst install; do
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4461 if test $ac_prog = install &&
4462 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4463 # AIX install. It has an incompatible calling convention.
4465 elif test $ac_prog = install &&
4466 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4467 # program-specific install script used by HP pwplus--don't use.
4470 rm -rf conftest.one conftest.two conftest.dir
4471 echo one > conftest.one
4472 echo two > conftest.two
4474 if "$as_dir/$ac_prog$ac_exec_ext"&nbs