[gjs] configure: Check for JS_DefinePropertyById
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] configure: Check for JS_DefinePropertyById
- Date: Wed, 1 Sep 2010 19:49:12 +0000 (UTC)
commit 0e109e0f21c233b2414b6c57f2ed2f8b28accc7b
Author: Colin Walters <walters verbum org>
Date: Wed Sep 1 15:48:17 2010 -0400
configure: Check for JS_DefinePropertyById
https://bugzilla.gnome.org/show_bug.cgi?id=627383
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 043a9e3..891c1e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,9 @@ AC_SUBST(FIREFOX_JS_LIBDIR)
AC_CHECK_LIB([mozjs], [JS_CallTracer], :,
[AC_MSG_ERROR([SpiderMonkey is too old, Firefox 3 is required])],
[$JS_LIBS])
+AC_CHECK_LIB([mozjs], [JS_DefinePropertyById], :,
+ [AC_MSG_ERROR([SpiderMonkey is too old, xulrunner 1.9.1 is required])],
+ [$JS_LIBS])
## workaround for Ubuntu Hardy bug where mozilla-js.pc gives CFLAGS
## -I.../stable while jsapi.h is in .../unstable
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]