summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBrian Jones <cbj@gnu.org>2001-06-25 04:43:56 +0000
committerBrian Jones <cbj@gnu.org>2001-06-25 04:43:56 +0000
commitc91e001c1848e4d310474d87489d027c794fd6d7 (patch)
tree9373829c484899ed1ef77e1c8ece45b4ee2509ba /gnu
parenta894ae6f805b85cbaad4bf533fb99384c8d28855 (diff)
downloadclasspath-c91e001c1848e4d310474d87489d027c794fd6d7.tar.gz
* acconfig.h: added HAVE_INT32_DEFINED and HAVE_BSD_INT32_DEFINED
* doc/hacking.texinfo: fixed typo * configure.in: rename --enable-libgcj-debug to --enable-debug. Created new option --enable-load-library potentially to be used to limit all System.loadLibrary() calls in class initializers. Added more header checks and define HAVE_INT32_DEFINED or HAVE_BSD_INT32_DEFINED similarly to gcj. Renamed libgcj-debug to the neutral sounding debug. Checks for more headers. * gnu/classpath/Configuration.java.in: INIT_LOAD_LIBRARY added. Should be helpful for more directly using classpath code in gcj. * TODO: added URL to javadoc docs for writing serial tags * java/lang/Double.java: merged with gcj version, credit to Andrew Haley. (byteValue): added missing function (shortValue): added missing function (compareTo): properly return 0 if both values are NaN * java/lang/Float.java: merged with gcj version, credit to Andrew Haley. (Float): removed NullPointerException from throws clause (toString): calls Double.toString (valueOf): removed NullPointerException from throws clause (floatToRawIntBits): new native method (parseFloat): removed NullPointerException from throws clause. Calls Double.parseDouble now. * native/jni/java_lang_Float.c (*): aligned with gcj implementation * native/jni/java_lang_Double.c (*): aligned with gcj implementation * lib/Makefile.am: changed to handle separate builddir * lib/gen-classlib.sh.in: changed to handle separate builddir * lib/mkdep.pl.in: changed to handle separate builddir * lib/standard.omit: changed to handle regex of separate builddir * native/jni/Makefile.am: include $(top_builddir)/include instead of $(top_srcdir). Additions to javalang shared library. * native/jni/awt/Makefile.am: include $(top_builddir)/include instead of $(top_srcdir).
Diffstat (limited to 'gnu')
-rw-r--r--gnu/classpath/Configuration.java.in25
1 files changed, 19 insertions, 6 deletions
diff --git a/gnu/classpath/Configuration.java.in b/gnu/classpath/Configuration.java.in
index 5b9781cdd..09aed1feb 100644
--- a/gnu/classpath/Configuration.java.in
+++ b/gnu/classpath/Configuration.java.in
@@ -32,10 +32,23 @@ package gnu.classpath;
*/
public interface Configuration
{
- // The value of DEBUG is substituted according to whether the
- // "--enable-libgcj-debug" argument was passed to configure. Code
- // which is made conditional based on the value of this flag will
- // be removed by the optimizer in a non-debug build.
-
- boolean DEBUG = @LIBGCJDEBUG@;
+ /**
+ * The value of DEBUG is substituted according to whether the
+ * "--enable-debug" argument was passed to configure. Code
+ * which is made conditional based on the value of this flag will
+ * be removed by the optimizer in a non-debug build.
+ */
+ boolean DEBUG = @LIBDEBUG@;
+
+ /**
+ * The value of LOAD_LIBRARY is substituted according to whether the
+ * "--enable-load-library" argument was passed to configure. By
+ * default, configure should define this is as true and typically a
+ * user would use "--disable-load-library" to avert loading
+ * libraries static initializers of all classes. Code which is made
+ * conditional based on the value of this flag will be removed by
+ * the optimizer in a non-debug build.
+ */
+ boolean INIT_LOAD_LIBRARY = @INIT_LOAD_LIBRARY@;
+
}