aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authorAnthony Green <green@cygnus.com>1999-10-15 06:07:41 +0000
committerAnthony Green <green@gcc.gnu.org>1999-10-15 06:07:41 +0000
commitffccc6bee2b00018fd09b26a5ce5d0bbc6900e94 (patch)
treebbd6554459daad973191b77a62d0237b045595f3 /libjava/include
parent7901f53f77683ef41d462b2f554faad3c4ae9d76 (diff)
downloadgcc-ffccc6bee2b00018fd09b26a5ce5d0bbc6900e94.zip
gcc-ffccc6bee2b00018fd09b26a5ce5d0bbc6900e94.tar.gz
gcc-ffccc6bee2b00018fd09b26a5ce5d0bbc6900e94.tar.bz2
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
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 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
+