[cp-patches] [release] FYI: Allow native-only build #08: Handle --with-glibj

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Jun 5 21:31:36 UTC 2008


This final patch makes the native-only build work
on Debian alpha; it makes the javac omission test
also respect --with-glibj which may also stop the
class library being built.

ChangeLog:

2008-06-05  Andrew John Hughes  <gnu_andrew at member.fsf.org>

	* configure.ac:
	Check for --with-glibj too when disabling
	the javac check.

-- 
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /sources/classpath/classpath/configure.ac,v
retrieving revision 1.225.2.6
diff -u -u -r1.225.2.6 configure.ac
--- configure.ac	2 Jun 2008 01:37:29 -0000	1.225.2.6
+++ configure.ac	5 Jun 2008 20:56:51 -0000
@@ -889,8 +889,9 @@
 # the examples or the tools
 if test "x${use_glibj_zip}" = xfalse || \
    test "x${EXAMPLESDIR}" != x || \
-   test "x${TOOLSDIR}" != x; then
- 	AC_PROG_JAVAC
+   test "x${TOOLSDIR}" != x && \
+   test "x${build_class_files}" != xno; then 	
+	AC_PROG_JAVAC
   	CLASSPATH_JAVAC_MEM_CHECK
 fi
 


More information about the Classpath-patches mailing list