[gnome-js-common] Add checks for Seed and gjs
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-js-common] Add checks for Seed and gjs
- Date: Thu, 14 May 2009 00:46:43 -0400 (EDT)
commit f82a5d781025f1890e7fe74fbc2c85871cd0254d
Author: Robert Carr <racarr svn gnome org>
Date: Thu May 14 00:37:15 2009 -0400
Add checks for Seed and gjs
---
configure.ac | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 248f95c..9d98e77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,8 +23,35 @@ IT_PROG_INTLTOOL([0.35.0])
AM_PROG_LIBTOOL
+AC_ARG_ENABLE(seed,
+ AC_HELP_STRING([--enable-seed],
+ [enable building and testing of Seed. [default=yes]]),
+ [want_seed=$enableval],[want_seed="yes"])
+
+if test x"$want_seed" == x"yes" ; then
+ PKG_CHECK_MODULES(SEED, seed)
+ AC_SUBST(SEED_CFLAGS)
+ AC_SUBST(SEED_LDFLAGS)
+fi
+
+AC_ARG_ENABLE(gjs,
+ AC_HELP_STRING([--enable-gjs],
+ [enable building and testing of gjs. [default=yes]]),
+ [want_gjs=$enableval],[want_gjs="yes"])
+
+if test x"$want_gjs" == x"yes" ; then
+ PKG_CHECK_MODULES(GJS, gjs-1.0)
+ AC_SUBST(GJS_CFLAGS)
+ AC_SUBST(GJS_LDFLAGS)
+fi
+
AC_OUTPUT([
Makefile
-src/Makefile
po/Makefile.in
])
+
+echo "
+Configured Engines:
+ Seed......................$want_seed
+ gjs.......................$want_gjs
+"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]