[gjs] configure: Accept Fedora's "libjs" for js185
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] configure: Accept Fedora's "libjs" for js185
- Date: Thu, 23 Jun 2011 00:00:33 +0000 (UTC)
commit 13ad0f7346210d8dbcc5f92778d7fb1300db1e32
Author: Colin Walters <walters verbum org>
Date: Wed Jun 22 16:18:33 2011 -0400
configure: Accept Fedora's "libjs" for js185
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ec5e164..2996c03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,9 @@ AC_CHECK_FUNCS(mallinfo)
# First, try separate mozjs185 release
AC_MSG_CHECKING([for standalone mozjs185])
PKG_CHECK_EXISTS([mozjs185], JS_PACKAGE=mozjs185,)
+if test x$JS_PACKAGE = x; then
+ PKG_CHECK_EXISTS([libjs = 1.8.5], JS_PACKAGE=libjs,)
+fi
if test x$JS_PACKAGE != x; then
FIREFOX_JS_LIBDIR=
MOZJS_IS_STANDALONE=yes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]