From 4d5377061da49f84df7406ac5008ea66dcbc292a Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 8 Oct 2007 18:36:17 +0000 Subject: Also check for libxul-1.9.pc, which exists in ubuntu's xulrunner-1.9-dev. svn path=/trunk/; revision=7526 --- m4/libxul.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'm4') 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 -- cgit v1.2.3