aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-10-09 02:36:17 +0800
committerChristian Persch <chpe@src.gnome.org>2007-10-09 02:36:17 +0800
commit4d5377061da49f84df7406ac5008ea66dcbc292a (patch)
tree6fbe0f2720574b4fc08268b2b2345c3f464015a6 /m4
parent219463337c1ca677c80d1da7ab849f803bba35f8 (diff)
downloadgsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.tar
gsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.tar.gz
gsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.tar.bz2
gsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.tar.lz
gsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.tar.xz
gsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.tar.zst
gsoc2013-epiphany-4d5377061da49f84df7406ac5008ea66dcbc292a.zip
Also check for libxul-1.9.pc, which exists in ubuntu's xulrunner-1.9-dev.
svn path=/trunk/; revision=7526
Diffstat (limited to '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