summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-15 06:07:41 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-15 06:07:41 +0000
commitf5fddbf2d840fc50ed043ec01cd90a2bf489d23b (patch)
treebbd6554459daad973191b77a62d0237b045595f3 /libjava/include
parenta597770e89f0bb82199dc77f99a5a1b720dc33da (diff)
downloadppe42-gcc-f5fddbf2d840fc50ed043ec01cd90a2bf489d23b.tar.gz
ppe42-gcc-f5fddbf2d840fc50ed043ec01cd90a2bf489d23b.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30007 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in4
-rw-r--r--libjava/include/java-props.h15
2 files changed, 19 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index 969a8bf4673..7fa60b53dd6 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 00000000000..f18bea4a19e
--- /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
+
OpenPOWER on IntegriCloud