[llvm-commits] CVS: llvm-java/autoconf/configure.ac
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Dec 7 22:32:25 PST 2004
Changes in directory llvm-java/autoconf:
configure.ac updated: 1.9 -> 1.10
---
Log message:
Build system cleanups.
---
Diffs of the changes: (+12 -1)
Index: llvm-java/autoconf/configure.ac
diff -u llvm-java/autoconf/configure.ac:1.9 llvm-java/autoconf/configure.ac:1.10
--- llvm-java/autoconf/configure.ac:1.9 Tue Dec 7 01:06:12 2004
+++ llvm-java/autoconf/configure.ac Wed Dec 8 00:32:14 2004
@@ -34,10 +34,21 @@
dnl **************************************************************************
dnl * Check for programs.
dnl **************************************************************************
-AC_CHECK_PROG(JIKES, jikes, jikes)
+AC_ARG_VAR(JAVAC, [The java compiler (used for testing)])
AC_CHECK_PROG(JAVAC, javac, javac)
+AC_ARG_VAR(JAVA, [The Java Virtual Machine (used for testing)])
AC_CHECK_PROG(JAVA, java, java)
+if test -z "$JAVA"
+then
+ AC_MSG_WARN([A Java Virtual Machine is required for the test suite, but it was not found])
+fi
+
+if test -z "$JAVAC"
+then
+ AC_MSG_WARN([A Java compiler is required for the test suite, but it was not found])
+fi
+
dnl Verify that the source directory is valid
AC_CONFIG_SRCDIR(Makefile.common.in)
More information about the llvm-commits
mailing list