aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.in
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2002-02-07 03:24:12 +0000
committerAnthony Green <green@gcc.gnu.org>2002-02-07 03:24:12 +0000
commitb5ee195f1e3f11a5979841bedbf932926ffe5322 (patch)
tree27d9ff28c3ab0424e26761a6636a9afcbf395114 /libjava/configure.in
parent383aa2ef4972a828f0be6f36ff7f3e1c742fb173 (diff)
downloadgcc-b5ee195f1e3f11a5979841bedbf932926ffe5322.zip
gcc-b5ee195f1e3f11a5979841bedbf932926ffe5322.tar.gz
gcc-b5ee195f1e3f11a5979841bedbf932926ffe5322.tar.bz2
embedded updates
From-SVN: r49562
Diffstat (limited to 'libjava/configure.in')
-rw-r--r--libjava/configure.in15
1 files changed, 11 insertions, 4 deletions
diff --git a/libjava/configure.in b/libjava/configure.in
index 921c6687..206b496 100644
--- a/libjava/configure.in
+++ b/libjava/configure.in
@@ -63,6 +63,14 @@ if test "$enable_getenv_properties" = no; then
AC_DEFINE(DISABLE_GETENV_PROPERTIES)
fi
+dnl Whether we should use arguments to main()
+if test -z "$enable_main_args"; then
+ enable_main_args=${enable_main_args_default-yes}
+fi
+if test "$enable_main_args" = no; then
+ AC_DEFINE(DISABLE_MAIN_ARGS)
+fi
+
dnl Should we use hashtable-based synchronization?
dnl Currently works only for Linux X86/ia64
@@ -187,7 +195,7 @@ dnl If the target is an eCos system, use the appropriate eCos
dnl I/O routines.
dnl FIXME: this should not be a local option but a global target
dnl system; at present there is no eCos target.
-TARGET_ECOS="no"
+TARGET_ECOS=${PROCESS-"no"}
AC_ARG_WITH(ecos,
[ --with-ecos enable runtime eCos target support],
TARGET_ECOS="$with_ecos"
@@ -463,7 +471,7 @@ if test -n "${with_cross_host}"; then
fi
NATIVE=no
else
- AC_CHECK_FUNCS(strerror ioctl select fstat open fsync sleep)
+ AC_CHECK_FUNCS(strerror ioctl select fstat open fsync sleep opendir)
AC_CHECK_FUNCS(gmtime_r localtime_r readdir_r getpwuid_r getcwd)
AC_CHECK_FUNCS(access stat mkdir rename rmdir unlink realpath utime chmod)
AC_CHECK_FUNCS(nl_langinfo setlocale)
@@ -707,8 +715,7 @@ LT_AC_PROG_GCJ
CPPFLAGS=$GCJ_SAVE_CPPFLAGS
-dnl FIXME: cross compilation
-AC_CHECK_SIZEOF(void *)
+AC_COMPILE_CHECK_SIZEOF(void *)
ZLIBS=
ZDEPS=