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
602 ac_subst_vars='am__EXEEXT_FALSE
624 CREATE_JAVA_HOME_FALSE
625 CREATE_JAVA_HOME_TRUE
626 INSTALL_AOT_RPM_FALSE
629 python_mod_dir_expanded
632 LD_FINISH_STATIC_SPEC
647 INSTALL_BINARIES_FALSE
648 INSTALL_BINARIES_TRUE
649 NEEDS_DATA_START_FALSE
650 NEEDS_DATA_START_TRUE
681 USING_NO_THREADS_FALSE
682 USING_NO_THREADS_TRUE
683 USING_WIN32_THREADS_FALSE
684 USING_WIN32_THREADS_TRUE
685 USING_POSIX_THREADS_FALSE
686 USING_POSIX_THREADS_TRUE
707 extra_ldflags_libjava
716 USING_DARWIN_CRT_FALSE
717 USING_DARWIN_CRT_TRUE
718 USING_POSIX_PLATFORM_FALSE
719 USING_POSIX_PLATFORM_TRUE
720 USING_WIN32_PLATFORM_FALSE
721 USING_WIN32_PLATFORM_TRUE
728 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
729 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
730 SUPPRESS_LIBGCJ_BC_FALSE
731 SUPPRESS_LIBGCJ_BC_TRUE
735 INSTALL_ECJ_JAR_FALSE
780 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
782 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
783 LIBGCJ_SUBLIB_LTFLAGS
788 MAINTAINER_MODE_FALSE
818 INSTALL_STRIP_PROGRAM
843 JAVA_MAINTAINER_MODE_FALSE
844 JAVA_MAINTAINER_MODE_TRUE
895 program_transform_name
908 enable_option_checking
914 enable_version_specific_runtime_libs
915 enable_browser_plugin
919 enable_java_maintainer_mode
920 enable_dependency_tracking
921 enable_maintainer_mode
922 enable_libgcj_sublibs
932 enable_getenv_properties
933 enable_hash_synchronization
937 enable_reduced_reflection
941 enable_sjlj_exceptions
952 with_system_libunwind
954 enable_aot_compile_rpm
964 ac_precious_vars='build_alias
978 ac_subdirs_all='classpath libltdl'
980 # Initialize some variables set by options.
982 ac_init_version=false
983 ac_unrecognized_opts=
985 # The variables have the same names as the options, with
986 # dashes changed to underlines.
994 program_transform_name=s,x,x,
1002 # Installation directory options.
1003 # These are left unexpanded so users can "make install exec_prefix=/foo"
1004 # and all the variables that are supposed to be based on exec_prefix
1005 # by default will actually change.
1006 # Use braces instead of parens because sh, perl, etc. also accept them.
1007 # (The list follows the same order as the GNU Coding Standards.)
1008 bindir='${exec_prefix}/bin'
1009 sbindir='${exec_prefix}/sbin'
1010 libexecdir='${exec_prefix}/libexec'
1011 datarootdir='${prefix}/share'
1012 datadir='${datarootdir}'
1013 sysconfdir='${prefix}/etc'
1014 sharedstatedir='${prefix}/com'
1015 localstatedir='${prefix}/var'
1016 includedir='${prefix}/include'
1017 oldincludedir='/usr/include'
1018 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1019 infodir='${datarootdir}/info'
1024 libdir='${exec_prefix}/lib'
1025 localedir='${datarootdir}/locale'
1026 mandir='${datarootdir}/man'
1032 # If the previous option needs an argument, assign it.
1033 if test -n "$ac_prev"; then
1034 eval $ac_prev=\$ac_option
1040 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1044 # Accept the important Cygnus configure options, so we can diagnose typos.
1046 case $ac_dashdash$ac_option in
1050 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1052 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1053 bindir=$ac_optarg ;;
1055 -build | --build | --buil | --bui | --bu)
1056 ac_prev=build_alias ;;
1057 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1058 build_alias=$ac_optarg ;;
1060 -cache-file | --cache-file | --cache-fil | --cache-fi \
1061 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1062 ac_prev=cache_file ;;
1063 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1064 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1065 cache_file=$ac_optarg ;;
1067 --config-cache | -C)
1068 cache_file=config.cache ;;
1070 -datadir | --datadir | --datadi | --datad)
1072 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1073 datadir=$ac_optarg ;;
1075 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1076 | --dataroo | --dataro | --datar)
1077 ac_prev=datarootdir ;;
1078 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1079 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1080 datarootdir=$ac_optarg ;;
1082 -disable-* | --disable-*)
1083 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 as_fn_error "invalid feature name: $ac_useropt"
1087 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1091 "enable_$ac_useropt"
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1096 eval enable_$ac_useropt=no ;;
1098 -docdir | --docdir | --docdi | --doc | --do)
1100 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1101 docdir=$ac_optarg ;;
1103 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1105 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1106 dvidir=$ac_optarg ;;
1108 -enable-* | --enable-*)
1109 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112 as_fn_error "invalid feature name: $ac_useropt"
1113 ac_useropt_orig=$ac_useropt
1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1117 "enable_$ac_useropt"
1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1120 ac_unrecognized_sep=', ';;
1122 eval enable_$ac_useropt=\$ac_optarg ;;
1124 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1125 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1126 | --exec | --exe | --ex)
1127 ac_prev=exec_prefix ;;
1128 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1129 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1130 | --exec=* | --exe=* | --ex=*)
1131 exec_prefix=$ac_optarg ;;
1133 -gas | --gas | --ga | --g)
1134 # Obsolete; use --with-gas.
1137 -help | --help | --hel | --he | -h)
1138 ac_init_help=long ;;
1139 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1140 ac_init_help=recursive ;;
1141 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1142 ac_init_help=short ;;
1144 -host | --host | --hos | --ho)
1145 ac_prev=host_alias ;;
1146 -host=* | --host=* | --hos=* | --ho=*)
1147 host_alias=$ac_optarg ;;
1149 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1151 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1153 htmldir=$ac_optarg ;;
1155 -includedir | --includedir | --includedi | --included | --include \
1156 | --includ | --inclu | --incl | --inc)
1157 ac_prev=includedir ;;
1158 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1159 | --includ=* | --inclu=* | --incl=* | --inc=*)
1160 includedir=$ac_optarg ;;
1162 -infodir | --infodir | --infodi | --infod | --info | --inf)
1164 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1165 infodir=$ac_optarg ;;
1167 -libdir | --libdir | --libdi | --libd)
1169 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1170 libdir=$ac_optarg ;;
1172 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1173 | --libexe | --libex | --libe)
1174 ac_prev=libexecdir ;;
1175 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1176 | --libexe=* | --libex=* | --libe=*)
1177 libexecdir=$ac_optarg ;;
1179 -localedir | --localedir | --localedi | --localed | --locale)
1180 ac_prev=localedir ;;
1181 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1182 localedir=$ac_optarg ;;
1184 -localstatedir | --localstatedir | --localstatedi | --localstated \
1185 | --localstate | --localstat | --localsta | --localst | --locals)
1186 ac_prev=localstatedir ;;
1187 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1188 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1189 localstatedir=$ac_optarg ;;
1191 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1193 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1194 mandir=$ac_optarg ;;
1196 -nfp | --nfp | --nf)
1197 # Obsolete; use --without-fp.
1200 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1201 | --no-cr | --no-c | -n)
1204 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1205 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1208 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1209 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1210 | --oldin | --oldi | --old | --ol | --o)
1211 ac_prev=oldincludedir ;;
1212 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1213 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1214 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1215 oldincludedir=$ac_optarg ;;
1217 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1219 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1220 prefix=$ac_optarg ;;
1222 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1223 | --program-pre | --program-pr | --program-p)
1224 ac_prev=program_prefix ;;
1225 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1226 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1227 program_prefix=$ac_optarg ;;
1229 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1230 | --program-suf | --program-su | --program-s)
1231 ac_prev=program_suffix ;;
1232 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1233 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1234 program_suffix=$ac_optarg ;;
1236 -program-transform-name | --program-transform-name \
1237 | --program-transform-nam | --program-transform-na \
1238 | --program-transform-n | --program-transform- \
1239 | --program-transform | --program-transfor \
1240 | --program-transfo | --program-transf \
1241 | --program-trans | --program-tran \
1242 | --progr-tra | --program-tr | --program-t)
1243 ac_prev=program_transform_name ;;
1244 -program-transform-name=* | --program-transform-name=* \
1245 | --program-transform-nam=* | --program-transform-na=* \
1246 | --program-transform-n=* | --program-transform-=* \
1247 | --program-transform=* | --program-transfor=* \
1248 | --program-transfo=* | --program-transf=* \
1249 | --program-trans=* | --program-tran=* \
1250 | --progr-tra=* | --program-tr=* | --program-t=*)
1251 program_transform_name=$ac_optarg ;;
1253 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1255 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1256 pdfdir=$ac_optarg ;;
1258 -psdir | --psdir | --psdi | --psd | --ps)
1260 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1267 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1269 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1271 sbindir=$ac_optarg ;;
1273 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1274 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1275 | --sharedst | --shareds | --shared | --share | --shar \
1277 ac_prev=sharedstatedir ;;
1278 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1279 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1280 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1282 sharedstatedir=$ac_optarg ;;
1284 -site | --site | --sit)
1286 -site=* | --site=* | --sit=*)
1289 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1291 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1292 srcdir=$ac_optarg ;;
1294 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1295 | --syscon | --sysco | --sysc | --sys | --sy)
1296 ac_prev=sysconfdir ;;
1297 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1298 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1299 sysconfdir=$ac_optarg ;;
1301 -target | --target | --targe | --targ | --tar | --ta | --t)
1302 ac_prev=target_alias ;;
1303 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1304 target_alias=$ac_optarg ;;
1306 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1309 -version | --version | --versio | --versi | --vers | -V)
1310 ac_init_version=: ;;
1313 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316 as_fn_error "invalid package name: $ac_useropt"
1317 ac_useropt_orig=$ac_useropt
1318 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319 case $ac_user_opts in
1323 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1324 ac_unrecognized_sep=', ';;
1326 eval with_$ac_useropt=\$ac_optarg ;;
1328 -without-* | --without-*)
1329 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1330 # Reject names that are not valid shell variable names.
1331 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332 as_fn_error "invalid package name: $ac_useropt"
1333 ac_useropt_orig=$ac_useropt
1334 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335 case $ac_user_opts in
1339 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1340 ac_unrecognized_sep=', ';;
1342 eval with_$ac_useropt=no ;;
1345 # Obsolete; use --with-x.
1348 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1349 | --x-incl | --x-inc | --x-in | --x-i)
1350 ac_prev=x_includes ;;
1351 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1352 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1353 x_includes=$ac_optarg ;;
1355 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1356 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1357 ac_prev=x_libraries ;;
1358 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1359 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1360 x_libraries=$ac_optarg ;;
1362 -*) as_fn_error "unrecognized option: \`$ac_option'
1363 Try \`$0 --help' for more information."
1367 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1368 # Reject names that are not valid shell variable names.
1369 case $ac_envvar in #(
1370 '' | [0-9]* | *[!_$as_cr_alnum]* )
1371 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1373 eval $ac_envvar=\$ac_optarg
1374 export $ac_envvar ;;
1377 # FIXME: should be removed in autoconf 3.0.
1378 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1379 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1381 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1387 if test -n "$ac_prev"; then
1388 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1389 as_fn_error "missing argument to $ac_option"
1392 if test -n "$ac_unrecognized_opts"; then
1393 case $enable_option_checking in
1395 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1396 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400 # Check all directory arguments for consistency.
1401 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1402 datadir sysconfdir sharedstatedir localstatedir includedir \
1403 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1404 libdir localedir mandir
1406 eval ac_val=\$$ac_var
1407 # Remove trailing slashes.
1410 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1411 eval $ac_var=\$ac_val;;
1413 # Be sure to have absolute directory names.
1415 [\\/$]* | ?:[\\/]* ) continue;;
1416 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1418 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1421 # There might be people who depend on the old broken behavior: `$host'
1422 # used to hold the argument of --host etc.
1423 # FIXME: To remove some day.
1426 target=$target_alias
1428 # FIXME: To remove some day.
1429 if test "x$host_alias" != x; then
1430 if test "x$build_alias" = x; then
1431 cross_compiling=maybe
1432 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1433 If a cross compiler is detected then cross compile mode will be used." >&2
1434 elif test "x$build_alias" != "x$host_alias"; then
1440 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1442 test "$silent" = yes && exec 6>/dev/null
1445 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1446 ac_ls_di=`ls -di .` &&
1447 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1448 as_fn_error "working directory cannot be determined"
1449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1450 as_fn_error "pwd does not report name of working directory"
1453 # Find the source files, if location was not specified.
1454 if test -z "$srcdir"; then
1455 ac_srcdir_defaulted=yes
1456 # Try the directory containing this script, then the parent directory.
1457 ac_confdir=`$as_dirname -- "$as_myself" ||
1458 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459 X"$as_myself" : 'X\(//\)[^/]' \| \
1460 X"$as_myself" : 'X\(//\)$' \| \
1461 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1462 $as_echo X"$as_myself" |
1463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1485 ac_srcdir_defaulted=no
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1488 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1489 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1491 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1495 # When building in place, set srcdir=.
1496 if test "$ac_abs_confdir" = "$ac_pwd"; then
1499 # Remove unnecessary trailing slashes from srcdir.
1500 # Double slashes in file names in object file debugging info
1501 # mess up M-x gdb in Emacs.
1503 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 for ac_var in $ac_precious_vars; do
1506 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1507 eval ac_env_${ac_var}_value=\$${ac_var}
1508 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1509 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1513 # Report the --help message.
1515 if test "$ac_init_help" = "long"; then
1516 # Omit some internal or obsolete options to make the list less imposing.
1517 # This message is too long to be a string in the A/UX 3.1 sh.
1519 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1521 Usage: $0 [OPTION]... [VAR=VALUE]...
1523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1524 VAR=VALUE. See below for descriptions of some of the useful variables.
1526 Defaults for the options are specified in brackets.
1529 -h, --help display this help and exit
1530 --help=short display options specific to this package
1531 --help=recursive display the short help of all the included packages
1532 -V, --version display version information and exit
1533 -q, --quiet, --silent do not print \`checking...' messages
1534 --cache-file=FILE cache test results in FILE [disabled]
1535 -C, --config-cache alias for \`--cache-file=config.cache'
1536 -n, --no-create do not create output files
1537 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1539 Installation directories:
1540 --prefix=PREFIX install architecture-independent files in PREFIX
1541 [$ac_default_prefix]
1542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1545 By default, \`make install' will install all the files in
1546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1548 for instance \`--prefix=\$HOME'.
1550 For better control, use the options below.
1552 Fine tuning of the installation directories:
1553 --bindir=DIR user executables [EPREFIX/bin]
1554 --sbindir=DIR system admin executables [EPREFIX/sbin]
1555 --libexecdir=DIR program executables [EPREFIX/libexec]
1556 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1557 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1558 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1559 --libdir=DIR object code libraries [EPREFIX/lib]
1560 --includedir=DIR C header files [PREFIX/include]
1561 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1562 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1563 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1564 --infodir=DIR info documentation [DATAROOTDIR/info]
1565 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1566 --mandir=DIR man documentation [DATAROOTDIR/man]
1567 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1568 --htmldir=DIR html documentation [DOCDIR]
1569 --dvidir=DIR dvi documentation [DOCDIR]
1570 --pdfdir=DIR pdf documentation [DOCDIR]
1571 --psdir=DIR ps documentation [DOCDIR]
1577 --program-prefix=PREFIX prepend PREFIX to installed program names
1578 --program-suffix=SUFFIX append SUFFIX to installed program names
1579 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1582 --x-includes=DIR X include files are in DIR
1583 --x-libraries=DIR X library files are in DIR
1586 --build=BUILD configure for building on BUILD [guessed]
1587 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1588 --target=TARGET configure for building compilers for TARGET [HOST]
1592 if test -n "$ac_init_help"; then
1593 case $ac_init_help in
1594 short | recursive ) echo "Configuration of libjava version-unused:";;
1599 --disable-option-checking ignore unrecognized --enable/--with options
1600 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1601 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1602 --enable-multilib build many library versions (default)
1603 --enable-version-specific-runtime-libs
1604 specify that runtime libraries should be installed
1605 in a compiler-specific directory
1606 --enable-browser-plugin build gcjwebplugin web browser plugin
1607 --enable-gconf-peer compile GConf native peers for util.preferences
1608 --disable-gjdoc compile GJDoc (disabled by --disable-gjdoc)
1610 --enable-java-maintainer-mode
1611 allow rebuilding of .class and .h files
1612 --disable-dependency-tracking speeds up one-time build
1613 --enable-dependency-tracking do not reject slow dependency extractors
1614 --enable-maintainer-mode enable make rules and dependencies not useful
1615 (and sometimes confusing) to the casual installer
1616 --enable-libgcj-sublibs build libgcj as many sub-libraries
1617 --enable-libgcj-debug enable runtime debugging code
1618 --enable-java-awt list of AWT peer implementations to be built
1619 --enable-shared[=PKGS] build shared libraries [default=yes]
1620 --enable-static[=PKGS] build static libraries [default=yes]
1621 --enable-fast-install[=PKGS]
1622 optimize for fast installation [default=yes]
1623 --disable-libtool-lock avoid locking (might break parallel builds)
1624 --disable-getenv-properties
1625 don't set system properties from GCJ_PROPERTIES
1626 --enable-hash-synchronization
1627 use global hash table for monitor locks
1628 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1630 --enable-reduced-reflection
1631 enable or disable(default) -freduced-reflection when
1632 building portions of libgcj
1633 --enable-gc-debug include full support for pointer backtracing etc.
1634 --enable-interpreter enable interpreter
1635 --enable-sjlj-exceptions
1636 force use of builtin_setjmp for exceptions
1637 --disable-java-net disable java.net
1638 --disable-jvmpi disable JVMPI support
1639 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1640 --disable-rpath do not hardcode runtime library paths
1641 --enable-tls Use thread-local storage [default=yes]
1642 --enable-aot-compile-rpm
1643 enable installation of aot-compile-rpm [default=no]
1644 --enable-java-home create a standard JDK-style directory layout in the
1645 install tree [default=no]
1648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1650 --with-build-libsubdir=DIR Directory where to find libraries for build system
1651 --with-target-subdir=SUBDIR
1652 configure in a subdirectory
1653 --with-cross-host=HOST configure with a cross compiler from HOST
1654 --with-newlib configure with newlib
1655 --with-antlr-jar=file Use ANTLR from the specified jar file
1656 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1657 --with-pic try to use only PIC/non-PIC objects [default=use
1659 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1660 --with-ecj-jar=FILE use preinstalled ecj jar
1661 --with-java-home=DIRECTORY
1662 value of java.home system property
1663 --with-win32-nlsapi=ansi or unicows or unicode
1664 native MinGW libgcj Win32 OS API (default is ansi)
1665 --without-libffi don't use libffi
1666 --with-ecos enable runtime eCos target support
1667 --with-system-zlib use installed libz
1668 --with-x use the X Window System
1669 --with-gnu-ld assume the C compiler uses GNU ld default=no
1670 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1671 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1672 --with-system-libunwind use installed libunwind
1673 --with-python-dir the location to install Python modules. This path
1674 should NOT include the prefix.
1675 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1676 --with-arch-directory the arch directory under jre/lib (defaults to
1678 --with-os-directory the os directory under include (defaults to
1680 --with-origin-name the JPackage origin name of this package (default is
1682 --with-arch-suffix the arch directory suffix (default is the empty
1684 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1685 --with-jvm-jar-dir where to install jars (default is
1686 ${prefix}/lib/jvm-exports)
1688 Some influential environment variables:
1689 CC C compiler command
1690 CFLAGS C compiler flags
1691 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1692 nonstandard directory <lib dir>
1693 LIBS libraries to pass to the linker, e.g. -l<library>
1694 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1695 you have headers in a nonstandard directory <include dir>
1696 CXX C++ compiler command
1697 CXXFLAGS C++ compiler flags
1699 CXXCPP C++ preprocessor
1700 XMKMF Path to xmkmf, Makefile generator for X Window System
1702 Use these variables to override the choices made by `configure' or to help
1703 it to find libraries and programs with nonstandard names/locations.
1705 Report bugs to the package provider.
1710 if test "$ac_init_help" = "recursive"; then
1711 # If there are subdirs, report their specific --help.
1712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1713 test -d "$ac_dir" ||
1714 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1722 # A ".." for each directory in $ac_dir_suffix.
1723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1724 case $ac_top_builddir_sub in
1725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1729 ac_abs_top_builddir=$ac_pwd
1730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1731 # for backward compatibility:
1732 ac_top_builddir=$ac_top_build_prefix
1735 .) # We are building in place.
1737 ac_top_srcdir=$ac_top_builddir_sub
1738 ac_abs_top_srcdir=$ac_pwd ;;
1739 [\\/]* | ?:[\\/]* ) # Absolute name.
1740 ac_srcdir=$srcdir$ac_dir_suffix;
1741 ac_top_srcdir=$srcdir
1742 ac_abs_top_srcdir=$srcdir ;;
1744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1745 ac_top_srcdir=$ac_top_build_prefix$srcdir
1746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1750 cd "$ac_dir" || { ac_status=$?; continue; }
1751 # Check for guested configure.
1752 if test -f "$ac_srcdir/configure.gnu"; then
1754 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1755 elif test -f "$ac_srcdir/configure"; then
1757 $SHELL "$ac_srcdir/configure" --help=recursive
1759 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1761 cd "$ac_pwd" || { ac_status=$?; break; }
1765 test -n "$ac_init_help" && exit $ac_status
1766 if $ac_init_version; then
1768 libjava configure version-unused
1769 generated by GNU Autoconf 2.64
1771 Copyright (C) 2009 Free Software Foundation, Inc.
1772 This configure script is free software; the Free Software Foundation
1773 gives unlimited permission to copy, distribute and modify it.
1778 ## ------------------------ ##
1779 ## Autoconf initialization. ##
1780 ## ------------------------ ##
1782 # ac_fn_c_try_compile LINENO
1783 # --------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_c_try_compile ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 rm -f conftest.$ac_objext
1789 if { { ac_try="$ac_compile"
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.$ac_objext; then :
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_c_try_compile
1820 # ac_fn_cxx_try_compile LINENO
1821 # ----------------------------
1822 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_cxx_try_compile ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 rm -f conftest.$ac_objext
1827 if { { ac_try="$ac_compile"
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_compile") 2>conftest.err
1836 if test -s conftest.err; then
1837 grep -v '^ *+' conftest.err >conftest.er1
1838 cat conftest.er1 >&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_cxx_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest.$ac_objext; then :
1848 $as_echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.$ac_ext >&5
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856 } # ac_fn_cxx_try_compile
1858 # ac_fn_c_try_link LINENO
1859 # -----------------------
1860 # Try to link conftest.$ac_ext, and return whether this succeeded.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 rm -f conftest.$ac_objext conftest$ac_exeext
1865 if { { ac_try="$ac_link"
1867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868 *) ac_try_echo=$ac_try;;
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_link") 2>conftest.err
1874 if test -s conftest.err; then
1875 grep -v '^ *+' conftest.err >conftest.er1
1876 cat conftest.er1 >&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && {
1881 test -z "$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1883 } && test -s conftest$ac_exeext && {
1884 test "$cross_compiling" = yes ||
1885 $as_test_x conftest$ac_exeext
1889 $as_echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.$ac_ext >&5
1894 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1895 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1896 # interfere with the next link command; also delete a directory that is
1897 # left behind by Apple's compiler. We do this before executing the actions.
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_try_link
1904 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1905 # -------------------------------------------------------
1906 # Tests whether HEADER exists and can be compiled using the include files in
1907 # INCLUDES, setting the cache variable VAR accordingly.
1908 ac_fn_c_check_header_compile ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914 $as_echo_n "(cached) " >&6
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1921 if ac_fn_c_try_compile "$LINENO"; then :
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933 } # ac_fn_c_check_header_compile
1935 # ac_fn_c_try_cpp LINENO
1936 # ----------------------
1937 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 if { { ac_try="$ac_cpp conftest.$ac_ext"
1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1950 if test -s conftest.err; then
1951 grep -v '^ *+' conftest.err >conftest.er1
1952 cat conftest.er1 >&5
1953 mv -f conftest.er1 conftest.err
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } >/dev/null && {
1957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1958 test ! -s conftest.err
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.$ac_ext >&5
1967 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 # ac_fn_c_try_run LINENO
1973 # ----------------------
1974 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1975 # that executables *can* be run.
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 if { { ac_try="$ac_link"
1981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_link") 2>&5
1988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1989 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1990 { { case "(($ac_try" in
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_try") 2>&5
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; }; }; then :
2002 $as_echo "$as_me: program exited with status $ac_status" >&5
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 ac_retval=$ac_status
2008 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 # ac_fn_c_check_func LINENO FUNC VAR
2015 # ----------------------------------
2016 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2017 ac_fn_c_check_func ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021 $as_echo_n "checking for $2... " >&6; }
2022 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2023 $as_echo_n "(cached) " >&6
2025 if test x$gcc_no_link = xyes; then
2026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2030 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2032 #define $2 innocuous_$2
2034 /* System header to define __stub macros and hopefully few prototypes,
2035 which can conflict with char $2 (); below.
2036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2037 <limits.h> exists even on freestanding compilers. */
2040 # include <limits.h>
2042 # include <assert.h>
2047 /* Override any GCC internal prototype to avoid an error.
2048 Use char because int might match the return type of a GCC
2049 builtin and then its argument prototype would still apply. */
2054 /* The GNU C library defines this for functions which it implements
2055 to always fail with ENOSYS. Some functions are actually named
2056 something starting with __ and the normal name is an alias. */
2057 #if defined __stub_$2 || defined __stub___$2
2069 if ac_fn_c_try_link "$LINENO"; then :
2074 rm -f core conftest.err conftest.$ac_objext \
2075 conftest$ac_exeext conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2082 } # ac_fn_c_check_func
2084 # ac_fn_cxx_try_cpp LINENO
2085 # ------------------------
2086 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2087 ac_fn_cxx_try_cpp ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 if { { ac_try="$ac_cpp conftest.$ac_ext"
2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2093 *) ac_try_echo=$ac_try;;
2095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2096 $as_echo "$ac_try_echo"; } >&5
2097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2099 if test -s conftest.err; then
2100 grep -v '^ *+' conftest.err >conftest.er1
2101 cat conftest.er1 >&5
2102 mv -f conftest.er1 conftest.err
2104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105 test $ac_status = 0; } >/dev/null && {
2106 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2107 test ! -s conftest.err
2111 $as_echo "$as_me: failed program was:" >&5
2112 sed 's/^/| /' conftest.$ac_ext >&5
2116 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2119 } # ac_fn_cxx_try_cpp
2121 # ac_fn_cxx_try_link LINENO
2122 # -------------------------
2123 # Try to link conftest.$ac_ext, and return whether this succeeded.
2124 ac_fn_cxx_try_link ()
2126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127 rm -f conftest.$ac_objext conftest$ac_exeext
2128 if { { ac_try="$ac_link"
2130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2134 $as_echo "$ac_try_echo"; } >&5
2135 (eval "$ac_link") 2>conftest.err
2137 if test -s conftest.err; then
2138 grep -v '^ *+' conftest.err >conftest.er1
2139 cat conftest.er1 >&5
2140 mv -f conftest.er1 conftest.err
2142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2143 test $ac_status = 0; } && {
2144 test -z "$ac_cxx_werror_flag" ||
2145 test ! -s conftest.err
2146 } && test -s conftest$ac_exeext && {
2147 test "$cross_compiling" = yes ||
2148 $as_test_x conftest$ac_exeext
2152 $as_echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.$ac_ext >&5
2157 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2158 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2159 # interfere with the next link command; also delete a directory that is
2160 # left behind by Apple's compiler. We do this before executing the actions.
2161 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2162 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2165 } # ac_fn_cxx_try_link
2167 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2168 # -------------------------------------------------------
2169 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2170 # the include files in INCLUDES and setting the cache variable VAR
2172 ac_fn_c_check_header_mongrel ()
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 $as_echo_n "(cached) " >&6
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2185 # Is the header compilable?
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2187 $as_echo_n "checking $2 usability... " >&6; }
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h. */
2193 if ac_fn_c_try_compile "$LINENO"; then :
2194 ac_header_compiler=yes
2196 ac_header_compiler=no
2198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2200 $as_echo "$ac_header_compiler" >&6; }
2202 # Is the header present?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2204 $as_echo_n "checking $2 presence... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2209 if ac_fn_c_try_cpp "$LINENO"; then :
2210 ac_header_preproc=yes
2212 ac_header_preproc=no
2214 rm -f conftest.err conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2216 $as_echo "$ac_header_preproc" >&6; }
2218 # So? What about this header?
2219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2222 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2224 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2228 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2230 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2232 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2234 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2236 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2240 $as_echo_n "checking for $2... " >&6; }
2241 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2242 $as_echo_n "(cached) " >&6
2244 eval "$3=\$ac_header_compiler"
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2250 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2252 } # ac_fn_c_check_header_mongrel
2254 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2255 # ----------------------------------------------------
2256 # Tries to find if the field MEMBER exists in type AGGR, after including
2257 # INCLUDES, setting cache variable VAR accordingly.
2258 ac_fn_c_check_member ()
2260 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2262 $as_echo_n "checking for $2.$3... " >&6; }
2263 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2264 $as_echo_n "(cached) " >&6
2266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2267 /* end confdefs.h. */
2279 if ac_fn_c_try_compile "$LINENO"; then :
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2289 if (sizeof ac_aggr.$3)
2295 if ac_fn_c_try_compile "$LINENO"; then :
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2306 $as_echo "$ac_res" >&6; }
2307 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2309 } # ac_fn_c_check_member
2311 # ac_fn_c_check_decl LINENO SYMBOL VAR
2312 # ------------------------------------
2313 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2314 ac_fn_c_check_decl ()
2316 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2318 $as_echo_n "checking whether $2 is declared... " >&6; }
2319 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2320 $as_echo_n "(cached) " >&6
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2336 if ac_fn_c_try_compile "$LINENO"; then :
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2345 $as_echo "$ac_res" >&6; }
2346 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2348 } # ac_fn_c_check_decl
2350 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2351 # --------------------------------------------
2352 # Tries to find the compile-time value of EXPR in a program that includes
2353 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2355 ac_fn_c_compute_int ()
2357 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2358 if test "$cross_compiling" = yes; then
2359 # Depending upon the size, compute the lo and hi bounds.
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2366 static int test_array [1 - 2 * !(($2) >= 0)];
2373 if ac_fn_c_try_compile "$LINENO"; then :
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2382 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2389 if ac_fn_c_try_compile "$LINENO"; then :
2390 ac_hi=$ac_mid; break
2392 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2393 if test $ac_lo -le $ac_mid; then
2397 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2408 static int test_array [1 - 2 * !(($2) < 0)];
2415 if ac_fn_c_try_compile "$LINENO"; then :
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2424 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2431 if ac_fn_c_try_compile "$LINENO"; then :
2432 ac_lo=$ac_mid; break
2434 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2435 if test $ac_mid -le $ac_hi; then
2439 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 # Binary search between lo and hi bounds.
2450 while test "x$ac_lo" != "x$ac_hi"; do
2451 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2453 /* end confdefs.h. */
2458 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2465 if ac_fn_c_try_compile "$LINENO"; then :
2468 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2480 static long int longval () { return $2; }
2481 static unsigned long int ulongval () { return $2; }
2488 FILE *f = fopen ("conftest.val", "w");
2493 long int i = longval ();
2496 fprintf (f, "%ld", i);
2500 unsigned long int i = ulongval ();
2503 fprintf (f, "%lu", i);
2505 /* Do not output a trailing newline, as this causes \r\n confusion
2506 on some platforms. */
2507 return ferror (f) || fclose (f) != 0;
2513 if ac_fn_c_try_run "$LINENO"; then :
2514 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2519 conftest.$ac_objext conftest.beam conftest.$ac_ext
2523 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2526 } # ac_fn_c_compute_int
2528 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2529 # -------------------------------------------
2530 # Tests whether TYPE exists after having included INCLUDES, setting cache
2531 # variable VAR accordingly.
2532 ac_fn_c_check_type ()
2534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2538 $as_echo_n "(cached) " >&6
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2553 if ac_fn_c_try_compile "$LINENO"; then :
2554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2566 if ac_fn_c_try_compile "$LINENO"; then :
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2577 $as_echo "$ac_res" >&6; }
2578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2580 } # ac_fn_c_check_type
2581 cat >config.log <<_ACEOF
2582 This file contains any messages produced by compilers while
2583 running configure, to aid debugging if configure makes a mistake.
2585 It was created by libjava $as_me version-unused, which was
2586 generated by GNU Autoconf 2.64. Invocation command line was
2598 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2599 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2600 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2601 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2602 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2604 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2605 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2607 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2608 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2609 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2610 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2611 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2612 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2613 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 $as_echo "PATH: $as_dir"
2638 # Keep a trace of the command line.
2639 # Strip out --no-create and --no-recursion so they do not pile up.
2640 # Strip out --silent because we don't want to record it for future runs.
2641 # Also quote any args containing shell meta-characters.
2642 # Make two passes to allow for proper duplicate-argument suppression.
2646 ac_must_keep_next=false
2652 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2654 | -silent | --silent | --silen | --sile | --sil)
2657 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2660 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2662 as_fn_append ac_configure_args1 " '$ac_arg'"
2663 if test $ac_must_keep_next = true; then
2664 ac_must_keep_next=false # Got value, back to normal.
2667 *=* | --config-cache | -C | -disable-* | --disable-* \
2668 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2669 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2670 | -with-* | --with-* | -without-* | --without-* | --x)
2671 case "$ac_configure_args0 " in
2672 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2675 -* ) ac_must_keep_next=true ;;
2678 as_fn_append ac_configure_args " '$ac_arg'"
2683 { ac_configure_args0=; unset ac_configure_args0;}
2684 { ac_configure_args1=; unset ac_configure_args1;}
2686 # When interrupted or exit'd, cleanup temporary files, and complete
2687 # config.log. We remove comments because anyway the quotes in there
2688 # would cause problems or look ugly.
2689 # WARNING: Use '\'' to represent an apostrophe within the trap.
2690 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2691 trap 'exit_status=$?
2692 # Save into config.log some information that might help in debugging.
2697 ## ---------------- ##
2698 ## Cache variables. ##
2699 ## ---------------- ##
2702 # The following way of writing the cache mishandles newlines in values,
2704 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2705 eval ac_val=\$$ac_var
2709 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2710 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2713 _ | IFS | as_nl) ;; #(
2714 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2715 *) { eval $ac_var=; unset $ac_var;} ;;
2720 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2721 *${as_nl}ac_space=\ *)
2723 "s/'\''/'\''\\\\'\'''\''/g;
2724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2735 ## ----------------- ##
2736 ## Output variables. ##
2737 ## ----------------- ##
2740 for ac_var in $ac_subst_vars
2742 eval ac_val=\$$ac_var
2744 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2746 $as_echo "$ac_var='\''$ac_val'\''"
2750 if test -n "$ac_subst_files"; then
2752 ## ------------------- ##
2753 ## File substitutions. ##
2754 ## ------------------- ##
2757 for ac_var in $ac_subst_files
2759 eval ac_val=\$$ac_var
2761 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2763 $as_echo "$ac_var='\''$ac_val'\''"
2768 if test -s confdefs.h; then
2778 test "$ac_signal" != 0 &&
2779 $as_echo "$as_me: caught signal $ac_signal"
2780 $as_echo "$as_me: exit $exit_status"
2782 rm -f core *.core core.conftest.* &&
2783 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2786 for ac_signal in 1 2 13 15; do
2787 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2791 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2792 rm -f -r conftest* confdefs.h
2794 $as_echo "/* confdefs.h */" > confdefs.h
2796 # Predefined preprocessor variables.
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_NAME "$PACKAGE_NAME"
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2810 cat >>confdefs.h <<_ACEOF
2811 #define PACKAGE_STRING "$PACKAGE_STRING"
2814 cat >>confdefs.h <<_ACEOF
2815 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2818 cat >>confdefs.h <<_ACEOF
2819 #define PACKAGE_URL "$PACKAGE_URL"
2823 # Let the site file select an alternate cache file if it wants to.
2824 # Prefer an explicitly selected file to automatically selected ones.
2827 if test -n "$CONFIG_SITE"; then
2828 ac_site_file1=$CONFIG_SITE
2829 elif test "x$prefix" != xNONE; then
2830 ac_site_file1=$prefix/share/config.site
2831 ac_site_file2=$prefix/etc/config.site
2833 ac_site_file1=$ac_default_prefix/share/config.site
2834 ac_site_file2=$ac_default_prefix/etc/config.site
2836 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2838 test "x$ac_site_file" = xNONE && continue
2839 if test -r "$ac_site_file"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2841 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2842 sed 's/^/| /' "$ac_site_file" >&5
2847 if test -r "$cache_file"; then
2848 # Some versions of bash will fail to source /dev/null (special
2849 # files actually), so we avoid doing that.
2850 if test -f "$cache_file"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2852 $as_echo "$as_me: loading cache $cache_file" >&6;}
2854 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2855 *) . "./$cache_file";;
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2860 $as_echo "$as_me: creating cache $cache_file" >&6;}
2864 # Check that the precious variables saved in the cache have kept the same
2866 ac_cache_corrupted=false
2867 for ac_var in $ac_precious_vars; do
2868 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2869 eval ac_new_set=\$ac_env_${ac_var}_set
2870 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2871 eval ac_new_val=\$ac_env_${ac_var}_value
2872 case $ac_old_set,$ac_new_set in
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2875 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2876 ac_cache_corrupted=: ;;
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2879 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2880 ac_cache_corrupted=: ;;
2883 if test "x$ac_old_val" != "x$ac_new_val"; then
2884 # differences in whitespace do not lead to failure.
2885 ac_old_val_w=`echo x $ac_old_val`
2886 ac_new_val_w=`echo x $ac_new_val`
2887 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2889 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2890 ac_cache_corrupted=:
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2893 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2894 eval $ac_var=\$ac_old_val
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2897 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2899 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2902 # Pass precious variables to config.status.
2903 if test "$ac_new_set" = set; then
2905 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2906 *) ac_arg=$ac_var=$ac_new_val ;;
2908 case " $ac_configure_args " in
2909 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2910 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2914 if $ac_cache_corrupted; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2918 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2919 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2921 ## -------------------- ##
2922 ## Main body of script. ##
2923 ## -------------------- ##
2926 ac_cpp='$CPP $CPPFLAGS'
2927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2939 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2940 for ac_t in install-sh install.sh shtool; do
2941 if test -f "$ac_dir/$ac_t"; then
2943 ac_install_sh="$ac_aux_dir/$ac_t -c"
2948 if test -z "$ac_aux_dir"; then
2949 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2952 # These three variables are undocumented and unsupported,
2953 # and are intended to be withdrawn in a future Autoconf release.
2954 # They can cause serious problems if a builder's source tree is in a directory
2955 # whose full name contains unusual characters.
2956 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2957 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2958 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2961 # Make sure we can run config.sub.
2962 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2963 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2966 $as_echo_n "checking build system type... " >&6; }
2967 if test "${ac_cv_build+set}" = set; then :
2968 $as_echo_n "(cached) " >&6
2970 ac_build_alias=$build_alias
2971 test "x$ac_build_alias" = x &&
2972 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2973 test "x$ac_build_alias" = x &&
2974 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2975 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2976 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2980 $as_echo "$ac_cv_build" >&6; }
2981 case $ac_cv_build in
2983 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2986 ac_save_IFS=$IFS; IFS='-'
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2996 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2999 case ${build_alias} in
3000 "") build_noncanonical=${build} ;;
3001 *) build_noncanonical=${build_alias} ;;
3004 case ${host_alias} in
3005 "") host_noncanonical=${build_noncanonical} ;;
3006 *) host_noncanonical=${host_alias} ;;
3009 case ${target_alias} in
3010 "") target_noncanonical=${host_noncanonical} ;;
3011 *) target_noncanonical=${target_alias} ;;
3015 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3016 # have matching libraries, they should use host libraries: Makefile.tpl
3017 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3018 # However, they still use the build modules, because the corresponding
3019 # host modules (e.g. bison) are only built for the host when bootstrap
3021 # - build_subdir is where we find build modules, and never changes.
3022 # - build_libsubdir is where we find build libraries, and can be overridden.
3024 # Prefix 'build-' so this never conflicts with target_subdir.
3025 build_subdir="build-${build_noncanonical}"
3027 # Check whether --with-build-libsubdir was given.
3028 if test "${with_build_libsubdir+set}" = set; then :
3029 withval=$with_build_libsubdir; build_libsubdir="$withval"
3031 build_libsubdir="$build_subdir"
3034 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3035 if ( test $srcdir = . && test -d gcc ) \
3036 || test -d $srcdir/../host-${host_noncanonical}; then
3037 host_subdir="host-${host_noncanonical}"
3042 target_subdir=${target_noncanonical}
3045 # We use these options to decide which functions to include.
3047 # Check whether --with-target-subdir was given.
3048 if test "${with_target_subdir+set}" = set; then :
3049 withval=$with_target_subdir;
3053 # We may get other options which we don't document:
3054 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3056 # Find the rest of the source tree framework.
3057 # Default to --enable-multilib
3058 # Check whether --enable-multilib was given.
3059 if test "${enable_multilib+set}" = set; then :
3060 enableval=$enable_multilib; case "$enableval" in
3061 yes) multilib=yes ;;
3063 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3070 # We may get other options which we leave undocumented:
3071 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3072 # See config-ml.in if you want the gory details.
3074 if test "$srcdir" = "."; then
3075 if test "$with_target_subdir" != "."; then
3076 multi_basedir="$srcdir/$with_multisrctop../.."
3078 multi_basedir="$srcdir/$with_multisrctop.."
3081 multi_basedir="$srcdir/.."
3085 # Even if the default multilib is not a cross compilation,
3086 # it may be that some of the other multilibs are.
3087 if test $cross_compiling = no && test $multilib = yes \
3088 && test "x${with_multisubdir}" != x ; then
3089 cross_compiling=maybe
3092 ac_config_commands="$ac_config_commands default-1"
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3096 $as_echo_n "checking host system type... " >&6; }
3097 if test "${ac_cv_host+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 if test "x$host_alias" = x; then
3101 ac_cv_host=$ac_cv_build
3103 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3104 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3109 $as_echo "$ac_cv_host" >&6; }
3112 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3115 ac_save_IFS=$IFS; IFS='-'
3121 # Remember, the first character of IFS is used to create $*,
3122 # except with old shells:
3125 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3129 $as_echo_n "checking target system type... " >&6; }
3130 if test "${ac_cv_target+set}" = set; then :
3131 $as_echo_n "(cached) " >&6
3133 if test "x$target_alias" = x; then
3134 ac_cv_target=$ac_cv_host
3136 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3142 $as_echo "$ac_cv_target" >&6; }
3143 case $ac_cv_target in
3145 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3147 target=$ac_cv_target
3148 ac_save_IFS=$IFS; IFS='-'
3154 # Remember, the first character of IFS is used to create $*,
3155 # except with old shells:
3158 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3161 # The aliases save the names the user supplied, while $host etc.
3162 # will get canonicalized.
3163 test -n "$target_alias" &&
3164 test "$program_prefix$program_suffix$program_transform_name" = \
3166 program_prefix=${target_alias}-
3168 case ${build_alias} in
3169 "") build_noncanonical=${build} ;;
3170 *) build_noncanonical=${build_alias} ;;
3173 case ${target_alias} in
3174 "") target_noncanonical=${host_noncanonical} ;;
3175 *) target_noncanonical=${target_alias} ;;
3181 # This works around the fact that libtool configuration may change LD
3182 # for this particular configuration, but some shells, instead of
3183 # keeping the changes in LD private, export them just because LD is
3185 ORIGINAL_LD_FOR_MULTILIBS=$LD
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3188 $as_echo_n "checking whether ln -s works... " >&6; }
3190 if test "$LN_S" = "ln -s"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3192 $as_echo "yes" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3195 $as_echo "no, using $LN_S" >&6; }
3199 # This works around an automake problem.
3200 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3204 # Check whether --with-cross-host was given.
3205 if test "${with_cross_host+set}" = set; then :
3206 withval=$with_cross_host;
3211 # Check whether --with-newlib was given.
3212 if test "${with_newlib+set}" = set; then :
3213 withval=$with_newlib;
3217 # Check whether --enable-version-specific-runtime-libs was given.
3218 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3219 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
3220 yes) version_specific_libs=yes ;;
3221 no) version_specific_libs=no ;;
3222 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3225 version_specific_libs=no
3230 # Check whether --enable-browser-plugin was given.
3231 if test "${enable_browser_plugin+set}" = set; then :
3232 enableval=$enable_browser_plugin; case "$enableval" in
3233 yes) browser_plugin_enabled=yes ;;
3234 no) browser_plugin_enabled=no ;;
3235 *) as_fn_error "Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3238 browser_plugin_enabled=no
3243 # Check whether --enable-gconf-peer was given.
3244 if test "${enable_gconf_peer+set}" = set; then :
3245 enableval=$enable_gconf_peer; case "$enableval" in
3246 yes) gconf_enabled=yes ;;
3247 no) gconf_enabled=no ;;
3248 *) as_fn_error "Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3257 # Check whether --with-antlr-jar was given.
3258 if test "${with_antlr_jar+set}" = set; then :
3259 withval=$with_antlr_jar;
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3270 $as_echo_n "checking for antlr.jar... " >&6; }
3271 if test "x$ANTLR_JAR" = x; then
3272 for antlr_lib_home in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3273 /usr/share/antlr/lib /usr/share/java /usr/lib;
3275 if test -f "$antlr_lib_home/antlr.jar"; then
3276 # FIXME: version check for antlr needed without using a VM
3277 ANTLR_JAR="$antlr_lib_home/antlr.jar"
3281 if test "x$ANTLR_JAR" = x; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3283 $as_echo "not found" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3286 $as_echo "$ANTLR_JAR" >&6; }
3289 if test -f "${ANTLR_JAR}"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3291 $as_echo "$ANTLR_JAR" >&6; }
3293 as_fn_error "antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3298 # Check whether --enable-gjdoc was given.
3299 if test "${enable_gjdoc+set}" = set; then :
3300 enableval=$enable_gjdoc; case "${enableval}" in
3301 yes) BUILD_GJDOC=yes ;;
3302 no) BUILD_GJDOC=no ;;
3303 *) BUILD_GJDOC=yes ;;
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3311 $as_echo_n "checking whether to build gjdoc... " >&6; }
3312 if test "x$BUILD_GJDOC" = xmaybe; then
3313 if test -f "${ANTLR_JAR}"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3320 $as_echo "no, antlr.jar not found" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3324 $as_echo "$BUILD_GJDOC" >&6; }
3326 if test "x${BUILD_GJDOC}" = xyes; then
3328 CREATE_GJDOC_FALSE='#'
3330 CREATE_GJDOC_TRUE='#'
3335 # Check whether --enable-java-maintainer-mode was given.
3336 if test "${enable_java_maintainer_mode+set}" = set; then :
3337 enableval=$enable_java_maintainer_mode;
3340 if test "$enable_java_maintainer_mode" = yes; then
3341 JAVA_MAINTAINER_MODE_TRUE=
3342 JAVA_MAINTAINER_MODE_FALSE='#'
3344 JAVA_MAINTAINER_MODE_TRUE='#'
3345 JAVA_MAINTAINER_MODE_FALSE=
3349 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3352 # For libstdc++-v3, -fno-builtin must be present here so that a
3353 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3354 # used in later tests. This may not be necessary in libjava; I don't know.
3355 save_CXXFLAGS="$CXXFLAGS"
3356 CXXFLAGS="$CXXFLAGS -fno-builtin"
3358 ac_cpp='$CPP $CPPFLAGS'
3359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3362 if test -n "$ac_tool_prefix"; then
3363 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3364 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_CC+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$CC"; then
3371 ac_cv_prog_CC="$CC" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3401 if test -z "$ac_cv_prog_CC"; then
3403 # Extract the first word of "gcc", so it can be a program name with args.
3404 set dummy gcc; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$ac_ct_CC"; then
3411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_ac_ct_CC="gcc"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3431 if test -n "$ac_ct_CC"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3433 $as_echo "$ac_ct_CC" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3439 if test "x$ac_ct_CC" = x; then
3442 case $cross_compiling:$ac_tool_warned in
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3446 ac_tool_warned=yes ;;
3454 if test -z "$CC"; then
3455 if test -n "$ac_tool_prefix"; then
3456 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3457 set dummy ${ac_tool_prefix}cc; ac_word=$2
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3459 $as_echo_n "checking for $ac_word... " >&6; }
3460 if test "${ac_cv_prog_CC+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 if test -n "$CC"; then
3464 ac_cv_prog_CC="$CC" # Let the user override the test.
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3473 ac_cv_prog_CC="${ac_tool_prefix}cc"
3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 if test -n "$CC"; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3486 $as_echo "$CC" >&6; }
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3495 if test -z "$CC"; then
3496 # Extract the first word of "cc", so it can be a program name with args.
3497 set dummy cc; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if test "${ac_cv_prog_CC+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3503 if test -n "$CC"; then
3504 ac_cv_prog_CC="$CC" # Let the user override the test.
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3515 ac_prog_rejected=yes
3519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3526 if test $ac_prog_rejected = yes; then
3527 # We found a bogon in the path, so make sure we never use it.
3528 set dummy $ac_cv_prog_CC
3530 if test $# != 0; then
3531 # We chose a different compiler from the bogus one.
3532 # However, it has the same basename, so the bogon will be chosen
3533 # first if we set CC to just the basename; use the full file name.
3535 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3551 if test -z "$CC"; then
3552 if test -n "$ac_tool_prefix"; then
3553 for ac_prog in cl.exe
3555 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if test "${ac_cv_prog_CC+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$CC"; then
3563 ac_cv_prog_CC="$CC" # Let the user override the test.
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 if test -n "$CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3585 $as_echo "$CC" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3592 test -n "$CC" && break
3595 if test -z "$CC"; then
3597 for ac_prog in cl.exe
3599 # Extract the first word of "$ac_prog", so it can be a program name with args.
3600 set dummy $ac_prog; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3604 $as_echo_n "(cached) " >&6
3606 if test -n "$ac_ct_CC"; then
3607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616 ac_cv_prog_ac_ct_CC="$ac_prog"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3627 if test -n "$ac_ct_CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3629 $as_echo "$ac_ct_CC" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3636 test -n "$ac_ct_CC" && break
3639 if test "x$ac_ct_CC" = x; then
3642 case $cross_compiling:$ac_tool_warned in
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3646 ac_tool_warned=yes ;;
3655 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error "no acceptable C compiler found in \$PATH
3658 See \`config.log' for more details." "$LINENO" 5; }
3660 # Provide some information about the compiler.
3661 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3664 for ac_option in --version -v -V -qversion; do
3665 { { ac_try="$ac_compiler $ac_option >&5"
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671 $as_echo "$ac_try_echo"; } >&5
3672 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3674 if test -s conftest.err; then
3676 ... rest of stderr output deleted ...
3677 10q' conftest.err >conftest.er1
3678 cat conftest.er1 >&5
3679 rm -f conftest.er1 conftest.err
3681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682 test $ac_status = 0; }
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3698 (eval $ac_link) 2>&5
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }; then :
3706 if test x$gcc_no_link = xyes; then
3707 # Setting cross_compile will disable run tests; it will
3708 # also disable AC_CHECK_FILE but that's generally
3709 # correct if we can't link.
3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3724 ac_clean_files_save=$ac_clean_files
3725 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3726 # Try to create an executable without -o first, disregard a.out.
3727 # It will help us diagnose broken compilers, and finding out an intuition
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3730 $as_echo_n "checking for C compiler default output file name... " >&6; }
3731 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3733 # The possible output files:
3734 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3737 for ac_file in $ac_files
3740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3741 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3746 if { { ac_try="$ac_link_default"
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752 $as_echo "$ac_try_echo"; } >&5
3753 (eval "$ac_link_default") 2>&5
3755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756 test $ac_status = 0; }; then :
3757 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3758 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3759 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3760 # so that the user can short-circuit this test for compilers unknown to
3762 for ac_file in $ac_files ''
3764 test -f "$ac_file" || continue
3766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3769 # We found the default executable, but exeext='' is most
3773 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3775 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3777 # We set ac_cv_exeext here because the later test for it is not
3778 # safe: cross compilers may not add the suffix if given an `-o'
3779 # argument, so we may need to know it at that point already.
3780 # Even if this section looks crufty: it has the advantage of
3787 test "$ac_cv_exeext" = no && ac_cv_exeext=
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3793 $as_echo "$ac_file" >&6; }
3794 if test -z "$ac_file"; then :
3795 $as_echo "$as_me: failed program was:" >&5
3796 sed 's/^/| /' conftest.$ac_ext >&5
3798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 { as_fn_set_status 77
3801 as_fn_error "C compiler cannot create executables
3802 See \`config.log' for more details." "$LINENO" 5; }; }
3804 ac_exeext=$ac_cv_exeext
3806 # Check that the compiler produces executables we can run. If not, either
3807 # the compiler is broken, or we cross compile.
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3809 $as_echo_n "checking whether the C compiler works... " >&6; }
3810 # If not cross compiling, check that we can run a simple program.
3811 if test "$cross_compiling" != yes; then
3812 if { ac_try='./$ac_file'
3813 { { case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_try") 2>&5
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }; }; then
3825 if test "$cross_compiling" = maybe; then
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error "cannot run C compiled programs.
3831 If you meant to cross compile, use \`--host'.
3832 See \`config.log' for more details." "$LINENO" 5; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3837 $as_echo "yes" >&6; }
3839 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3840 ac_clean_files=$ac_clean_files_save
3841 # Check that the compiler produces executables we can run. If not, either
3842 # the compiler is broken, or we cross compile.
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3844 $as_echo_n "checking whether we are cross compiling... " >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3846 $as_echo "$cross_compiling" >&6; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3849 $as_echo_n "checking for suffix of executables... " >&6; }
3850 if { { ac_try="$ac_link"
3852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3853 *) ac_try_echo=$ac_try;;
3855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856 $as_echo "$ac_try_echo"; } >&5
3857 (eval "$ac_link") 2>&5
3859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860 test $ac_status = 0; }; then :
3861 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3862 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3863 # work properly (i.e., refer to `conftest.exe'), while it won't with
3865 for ac_file in conftest.exe conftest conftest.*; do
3866 test -f "$ac_file" || continue
3868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3869 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877 as_fn_error "cannot compute suffix of executables: cannot compile and link
3878 See \`config.log' for more details." "$LINENO" 5; }
3880 rm -f conftest$ac_cv_exeext
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3882 $as_echo "$ac_cv_exeext" >&6; }
3884 rm -f conftest.$ac_ext
3885 EXEEXT=$ac_cv_exeext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3889 $as_echo_n "checking for suffix of object files... " >&6; }
3890 if test "${ac_cv_objext+set}" = set; then :
3891 $as_echo_n "(cached) " >&6
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3904 rm -f conftest.o conftest.obj
3905 if { { ac_try="$ac_compile"
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912 (eval "$ac_compile") 2>&5
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; then :
3916 for ac_file in conftest.o conftest.obj conftest.*; do
3917 test -f "$ac_file" || continue;
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3920 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3925 $as_echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.$ac_ext >&5
3928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930 as_fn_error "cannot compute suffix of object files: cannot compile
3931 See \`config.log' for more details." "$LINENO" 5; }
3933 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3936 $as_echo "$ac_cv_objext" >&6; }
3937 OBJEXT=$ac_cv_objext
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3940 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3941 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3942 $as_echo_n "(cached) " >&6
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3958 if ac_fn_c_try_compile "$LINENO"; then :
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3968 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3969 if test $ac_compiler_gnu = yes; then
3974 ac_test_CFLAGS=${CFLAGS+set}
3975 ac_save_CFLAGS=$CFLAGS
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3977 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3978 if test "${ac_cv_prog_cc_g+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 ac_save_c_werror_flag=$ac_c_werror_flag
3982 ac_c_werror_flag=yes
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3996 if ac_fn_c_try_compile "$LINENO"; then :
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4011 if ac_fn_c_try_compile "$LINENO"; then :
4014 ac_c_werror_flag=$ac_save_c_werror_flag
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4027 if ac_fn_c_try_compile "$LINENO"; then :
4030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 ac_c_werror_flag=$ac_save_c_werror_flag
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4038 $as_echo "$ac_cv_prog_cc_g" >&6; }
4039 if test "$ac_test_CFLAGS" = set; then
4040 CFLAGS=$ac_save_CFLAGS
4041 elif test $ac_cv_prog_cc_g = yes; then
4042 if test "$GCC" = yes; then
4048 if test "$GCC" = yes; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4055 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4056 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 ac_cv_prog_cc_c89=no
4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4065 #include <sys/types.h>
4066 #include <sys/stat.h>
4067 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4068 struct buf { int x; };
4069 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4070 static char *e (p, i)
4076 static char *f (char * (*g) (char **, int), char **p, ...)
4081 s = g (p, va_arg (v,int));
4086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4087 function prototypes and stuff, but not '\xHH' hex character constants.
4088 These don't provoke an error unfortunately, instead are silently treated
4089 as 'x'. The following induces an error, until -std is added to get
4090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4091 array size at least. It's necessary to write '\x00'==0 to get something
4092 that's true only with -std. */
4093 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4095 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4096 inside strings and character constants. */
4098 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4100 int test (int i, double x);
4101 struct s1 {int (*f) (int a);};
4102 struct s2 {int (*f) (double a);};
4103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4109 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4114 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4115 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4117 CC="$ac_save_CC $ac_arg"
4118 if ac_fn_c_try_compile "$LINENO"; then :
4119 ac_cv_prog_cc_c89=$ac_arg
4121 rm -f core conftest.err conftest.$ac_objext
4122 test "x$ac_cv_prog_cc_c89" != "xno" && break
4124 rm -f conftest.$ac_ext
4129 case "x$ac_cv_prog_cc_c89" in
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4132 $as_echo "none needed" >&6; } ;;
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4135 $as_echo "unsupported" >&6; } ;;
4137 CC="$CC $ac_cv_prog_cc_c89"
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4139 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4141 if test "x$ac_cv_prog_cc_c89" != xno; then :
4146 ac_cpp='$CPP $CPPFLAGS'
4147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4152 ac_cpp='$CXXCPP $CPPFLAGS'
4153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4156 if test -z "$CXX"; then
4157 if test -n "$CCC"; then
4160 if test -n "$ac_tool_prefix"; then
4161 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4163 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166 $as_echo_n "checking for $ac_word... " >&6; }
4167 if test "${ac_cv_prog_CXX+set}" = set; then :
4168 $as_echo_n "(cached) " >&6
4170 if test -n "$CXX"; then
4171 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4180 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 if test -n "$CXX"; then
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4193 $as_echo "$CXX" >&6; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196 $as_echo "no" >&6; }
4200 test -n "$CXX" && break
4203 if test -z "$CXX"; then
4205 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4207 # Extract the first word of "$ac_prog", so it can be a program name with args.
4208 set dummy $ac_prog; ac_word=$2
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210 $as_echo_n "checking for $ac_word... " >&6; }
4211 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -n "$ac_ct_CXX"; then
4215 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 ac_cv_prog_ac_ct_CXX="$ac_prog"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4235 if test -n "$ac_ct_CXX"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4237 $as_echo "$ac_ct_CXX" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4244 test -n "$ac_ct_CXX" && break
4247 if test "x$ac_ct_CXX" = x; then
4250 case $cross_compiling:$ac_tool_warned in
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4254 ac_tool_warned=yes ;;
4262 # Provide some information about the compiler.
4263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4266 for ac_option in --version -v -V -qversion; do
4267 { { ac_try="$ac_compiler $ac_option >&5"
4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4276 if test -s conftest.err; then
4278 ... rest of stderr output deleted ...
4279 10q' conftest.err >conftest.er1
4280 cat conftest.er1 >&5
4281 rm -f conftest.er1 conftest.err
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4288 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4289 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4290 $as_echo_n "(cached) " >&6
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4306 if ac_fn_cxx_try_compile "$LINENO"; then :
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4316 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4317 if test $ac_compiler_gnu = yes; then
4322 ac_test_CXXFLAGS=${CXXFLAGS+set}
4323 ac_save_CXXFLAGS=$CXXFLAGS
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4325 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4326 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4327 $as_echo_n "(cached) " >&6
4329 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4330 ac_cxx_werror_flag=yes
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4344 if ac_fn_cxx_try_compile "$LINENO"; then :
4345 ac_cv_prog_cxx_g=yes
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 if ac_fn_cxx_try_compile "$LINENO"; then :
4362 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4375 if ac_fn_cxx_try_compile "$LINENO"; then :
4376 ac_cv_prog_cxx_g=yes
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4386 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4387 if test "$ac_test_CXXFLAGS" = set; then
4388 CXXFLAGS=$ac_save_CXXFLAGS
4389 elif test $ac_cv_prog_cxx_g = yes; then
4390 if test "$GXX" = yes; then
4396 if test "$GXX" = yes; then
4403 ac_cpp='$CPP $CPPFLAGS'
4404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4408 CXXFLAGS="$save_CXXFLAGS"
4410 am__api_version='1.11'
4412 # Find a good install program. We prefer a C program (faster),
4413 # so one script is as good as another. But avoid the broken or
4414 # incompatible versions:
4415 # SysV /etc/install, /usr/sbin/install
4416 # SunOS /usr/etc/install
4417 # IRIX /sbin/install
4419 # AmigaOS /C/install, which installs bootblocks on floppy discs
4420 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4421 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4422 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4423 # OS/2's system install, which has a completely different semantic
4424 # ./install, which can be erroneously created by make from ./install.sh.
4425 # Reject install programs that cannot install multiple files.
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4427 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4428 if test -z "$INSTALL"; then
4429 if test "${ac_cv_path_install+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 # Account for people who put trailing slashes in PATH elements.
4438 case $as_dir/ in #((
4439 ./ | .// | /[cC]/* | \
4440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4441 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4444 # OSF1 and SCO ODT 3.0 have their own names for install.
4445 # Don't use installbsd from OSF since it installs stuff as root
4447 for ac_prog in ginstall scoinst install; do
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4450 if test $ac_prog = install &&
4451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4452 # AIX install. It has an incompatible calling convention.
4454 elif test $ac_prog = install &&
4455 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4456 # program-specific install script used by HP pwplus--don't use.
4459 rm -rf conftest.one conftest.two conftest.dir
4460 echo one > conftest.one
4461 echo two > conftest.two
4463 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4464 test -s conftest.one && test -s conftest.two &&
4465 test -s conftest.dir/conftest.one &&
4466 test -s conftest.dir/conftest.two
4468 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"