aboutsummaryrefslogtreecommitdiffstats
path: root/m4/libxul.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/libxul.m4')
-rw-r--r--m4/libxul.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/libxul.m4 b/m4/libxul.m4
index 19ddd48b0..5f6ea77e8 100644
--- a/m4/libxul.m4
+++ b/m4/libxul.m4
@@ -41,6 +41,12 @@ fi
PKG_CHECK_EXISTS([$libxul_cv_libxul_pkg],[libxul_cv_have_libxul=yes],[libxul_cv_have_libxul=no])
if test "$libxul_cv_have_libxul" != "yes"; then
+ # Debian/Ubuntu xulrunner-1.9-dev has versioned pc files, try again
+ libxul_cv_libxul_pkg="${libxul_cv_libxul_pkg}-1.9"
+ PKG_CHECK_EXISTS([$libxul_cv_libxul_pkg],[libxul_cv_have_libxul=yes],[libxul_cv_have_libxul=no])
+fi
+if test "$libxul_cv_have_libxul" != "yes"; then
+ # Still nothing? Error out
AC_MSG_ERROR([libxul not found])
fi