Hi.
Attached is a proposed patch to error at configure time if gcjwebplugin
is enabled but mozilla plugin support is not found. This resolves PR
28933 - build fails at compile time with default configure options if
mozilla plugin support is not available.
Would it be better to disable plugin with a warning but allow build to
continue instead of throwing an error here?
Paul
2006-09-02 Paul Jenner <[EMAIL PROTECTED]>
PR 28933
* configure.ac (MOZILLA_FOUND): Error if plugin enabled but
Mozilla not found.
--
Paul Jenner <[EMAIL PROTECTED]>
--- classpath/configure.ac 2006-09-01 05:00:26.000000000 +0100
+++ classpath.psj/configure.ac 2006-09-02 14:38:27.000000000 +0100
@@ -588,6 +588,10 @@
if test "x${MOZILLA_FOUND}" = xno; then
PKG_CHECK_MODULES(MOZILLA, seamonkey-plugin, [MOZILLA_FOUND=yes], [MOZILLA_FOUND=no])
fi
+ if test "x${MOZILLA_FOUND}" = xno; then
+ AC_MSG_ERROR([Mozilla plugin support not found - try building with --disable-plugin])
+ fi
+
PKG_CHECK_MODULES(GLIB, glib-2.0)
AC_SUBST(MOZILLA_CFLAGS)