File liferea-1.4.18-xulrunner-1.9.patch of Package liferea
--- configure.ac.org 2008-10-01 20:34:33.224841843 +0800
+++ configure.ac 2008-10-01 20:36:19.839833763 +0800
@@ -168,7 +168,7 @@
if test "x$enable_xulrunner" = "xyes" ; then
AC_MSG_CHECKING([for XulRunner 1.9+ support])
- PKG_CHECK_MODULES(XULRUNNER, libxul-embedding, XULRUNNER_PROVIDER=libxul-embedding, XULRUNNER_PROVIDER=)
+ PKG_CHECK_MODULES(XULRUNNER, [libxul-embedding-unstable nspr], XULRUNNER_PROVIDER=libxul-embedding-unstable, XULRUNNER_PROVIDER=)
if test "x$XULRUNNER_PROVIDER" = "x" ; then
AC_MSG_CHECKING([for XulRunner 1.8 support])
@@ -185,8 +185,8 @@
AC_SUBST(XULRUNNER_CFLAGS)
AC_SUBST(XULRUNNER_LIBS)
- if test "x$XULRUNNER_HOME" = "x" ; then
- AC_MSG_RESULT([Fatal: XulRunner enabled, but library directory could not be determined! This usually happens when running against unstable versions of XulRunner 1.9 which is not supported in all Linux distros. Please compile against a stable build of XulRunner 1.9 instead.])
+ if test "x`echo $XULRUNNER_CFLAGS | grep -e '-DXPCOM_GLUE'`" = "x" && test "x$XULRUNNER_HOME" = "x" ; then
+ AC_MSG_RESULT([Fatal: XulRunner enabled without XPCOM_GLUE, but XULRUNNER_HOME is empty!])
exit 1
fi