diff options
| author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-02-28 22:44:19 +0000 |
|---|---|---|
| committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-02-28 22:44:19 +0000 |
| commit | c0daa0df39fcb3be58fba09bb936f515368b085e (patch) | |
| tree | 2e34f6ff45835a1575bb81690a45f1c4f7e4207a /gnu/classpath/Configuration.java.in | |
| parent | 16ccc49aedb2f5edc29d4d0c70a84d8fc06f78c2 (diff) | |
| download | classpath-c0daa0df39fcb3be58fba09bb936f515368b085e.tar.gz | |
2008-02-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/28664
* include/Makefile.am:
Add generation of header file java_math_VMBigInteger.h
* java/math/BigInteger.java: Separate NativeMPI into
VMBigInteger.
* native/jni/Makefile.am: Add java-math.
* native/jni/java-math/java_math_VMBigInteger.c:
Renamed from java_math_BigInteger.c.
* vm/reference/java/math/VMBigInteger.java:
Former NativeMPI class from java.math.BigInteger.
2006-11-28 Raif S. Naffah <classpath@naffah-raif.name>
Jeroen Frijters <jeroen@sumatra.nl>
PR classpath/28664
* configure.ac: Add support for configuring GNU MP.
* native/jni/Makefile.am: Include java-math directory if required.
* native/jni/java-math/.cvsignore: New file.
* native/jni/java-math/Makefile.am: Likewise.
* native/jni/java-math/java_math_BigInteger.c: Likewise.
* java/math/BigInteger.java: Added support for native methods.
* gnu/classpath/Configuration.java.in (WANT_NATIVE_BIG_INTEGER): New field.
Diffstat (limited to 'gnu/classpath/Configuration.java.in')
| -rw-r--r-- | gnu/classpath/Configuration.java.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/classpath/Configuration.java.in b/gnu/classpath/Configuration.java.in index 7fb864093..4a9b65f56 100644 --- a/gnu/classpath/Configuration.java.in +++ b/gnu/classpath/Configuration.java.in @@ -101,4 +101,14 @@ public interface Configuration * com.sun.tools.javac implementation in tools.zip. */ String ECJ_JAR = "@ECJ_JAR@"; + + /** + * Set to <code>true</code> if the config script found that (a) an + * implementation of java.math.BigInteger, based on the GNU MP library, is + * desired in preference to a pure Java one, and (b) the GNU MP library was + * found on the platform where the JVM is to run. Otherwise, this field is + * set to <code>false</code>. + */ + boolean WANT_NATIVE_BIG_INTEGER = @WANT_NATIVE_BIG_INTEGER@; + } |
