From ffccc6bee2b00018fd09b26a5ce5d0bbc6900e94 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Fri, 15 Oct 1999 06:07:41 +0000 Subject: libtool-version: Catch up by incrementing current. * libtool-version: Catch up by incrementing current. * configure.host: Disable use of GCJ_PROPERTIES for mips-tx39. * configure, include/config.h.in: Rebuilt. * acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine. * configure.in: Added --disable-getenv-properties and new define `DISABLE_GETENV_PROPERTIES'. * prims.cc (PROCESS_GCJ_PROPERTIES): Define. (next_property_key): New function. (next_property_value): New function. (process_gcj_properties): New function. (JvRunMain): Call process_gcj_properties. (_JvRunMain): Ditto. * java/lang/natSystem.cc (init_properties): Set properties defined in GCJ_PROPERTIES. Also add 1.2 style versioning properties. * include/java-props.h: New file. * java/lang/natSystem.cc (init_properties): Add new properties to conform with Java Product Versioning Specification. From-SVN: r30007 --- libjava/include/config.h.in | 4 ++++ libjava/include/java-props.h | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 libjava/include/java-props.h (limited to 'libjava/include') diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 969a8bf..7fa60b5 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -128,6 +128,10 @@ /* Define if java.net native functions should be stubbed out. */ #undef DISABLE_JAVA_NET +/* Define if system properties shouldn't be read from + getenv("GCJ_PROPERTIES"). */ +#undef DISABLE_GETENV_PROPERTIES + /* Define if you have the access function. */ #undef HAVE_ACCESS diff --git a/libjava/include/java-props.h b/libjava/include/java-props.h new file mode 100644 index 0000000..f18bea4 --- /dev/null +++ b/libjava/include/java-props.h @@ -0,0 +1,15 @@ +// java-props.h - Properties -*- c++ -*- + +#ifndef __JAVA_PROPS_H__ +#define __JAVA_PROPS_H__ + +typedef struct +{ + char *key; + size_t key_length; + char *value; + size_t value_length; +} property_pair; + +#endif + -- cgit v1.1