This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] detect xulrunner-1.9
- From: Matthias Klose <doko at ubuntu dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Sun, 15 Mar 2009 15:28:16 +0100
- Subject: [patch] detect xulrunner-1.9
The following patch is needed to detect xulrunner-1.9; it is the same approach
as taken in the IcedTea configure. Should be checked in to the classpath
repository as well. Ok to check in?
Matthias
* libjava/classpath/configure.ac> Add configure check for xulrunner-1.9.
--- src/libjava/classpath/configure.ac
+++ src/libjava/classpath/configure.ac
@@ -723,7 +723,10 @@ if test "x${COMPILE_JNI}" = xyes; then
dnl Check for plugin support headers and libraries.
if test "x${COMPILE_PLUGIN}" = xyes; then
- PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ PKG_CHECK_MODULES(MOZILLA, mozilla-plugin libxul-unstable, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ if test "x${MOZILLA_FOUND}" = xno; then
+ PKG_CHECK_MODULES(MOZILLA, mozilla-plugin, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
+ fi
if test "x${MOZILLA_FOUND}" = xno; then
PKG_CHECK_MODULES(MOZILLA, firefox-plugin firefox-xpcom, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
fi