summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2007-12-21 00:08:44 +0000
committernpmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56>2007-12-21 00:08:44 +0000
commitda415428c2ec71dc6730984b571caa116a77f507 (patch)
treee2b29f2373ebafe3e76143bedea8415c610e6282
parent007de84b6eb0b984af8716a7e9e6b838de7775ba (diff)
downloadlibproxy-da415428c2ec71dc6730984b571caa116a77f507.tar.gz
fixed mozjs autodetection
git-svn-id: http://libproxy.googlecode.com/svn/trunk@163 c587cffe-e639-0410-9787-d7902ae8ed56
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e83d7dc..51f872a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,8 +15,8 @@ AC_PROG_MAKE_SET
PKG_CHECK_MODULES(x11, x11, have_x11=yes, have_x11=no)
PKG_CHECK_MODULES(xmu, xmu, have_xmu=yes, have_xmu=no)
PKG_CHECK_MODULES(gconf, gconf-2.0, have_gconf=yes, have_gconf=no)
-PKG_CHECK_MODULES(mozjs, firefox-js, have_mozjs=yes, have_mozjs=no)
-PKG_CHECK_MODULES(mozjs, xulrunner-js, have_mozjs=yes, :)
+PKG_CHECK_MODULES(mozjs, xulrunner-js, have_mozjs=yes,
+ [PKG_CHECK_MODULES(mozjs, firefox-js, have_mozjs=yes, have_mozjs=no)])
PKG_CHECK_MODULES(NetworkManager, NetworkManager,
have_networkmanager=yes, have_networkmanager=no)