summaryrefslogtreecommitdiffstats
path: root/libjava/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/configure.in')
-rw-r--r--libjava/configure.in16
1 files changed, 15 insertions, 1 deletions
diff --git a/libjava/configure.in b/libjava/configure.in
index e654fcdfec4..751a7630282 100644
--- a/libjava/configure.in
+++ b/libjava/configure.in
@@ -9,7 +9,7 @@ AC_CANONICAL_SYSTEM
dnl We use these options to decide which functions to include.
AC_ARG_WITH(target-subdir,
[ --with-target-subdir=SUBDIR
- configuring in a subdirectory])
+ configuring in a subdirectory])
AC_ARG_WITH(cross-host,
[ --with-cross-host=HOST configuring with a cross compiler])
@@ -36,6 +36,20 @@ AC_ARG_ENABLE(fast-character,
# Nothing
, AC_DEFINE(COMPACT_CHARACTER))
+dnl Should the runtime set system properties by examining the
+dnl environment variable GCJ_PROPERTIES?
+AC_ARG_ENABLE(getenv-properties,
+[ --disable-getenv-properties
+ don't set system properties from GCJ_PROPERTIES])
+
+dnl Whether GCJ_PROPERTIES is used depends on the target.
+if test -n "$enable_getenv_properties"; then
+ enable_getenv_properties=${enable_getenv_properties_default-yes}
+fi
+if test "$enable_getenv_properties" = no; then
+ AC_DEFINE(DISABLE_GETENV_PROPERTIES)
+fi
+
dnl See if the user has requested runtime debugging.
AC_ARG_ENABLE(libgcj-debug,
[ --enable-libgcj-debug enable runtime debugging code],
OpenPOWER on IntegriCloud