[glom/glom-1-18] Require the latest mm-common and dist the mm-common scripts.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-18] Require the latest mm-common and dist the mm-common scripts.
- Date: Mon, 4 Apr 2011 11:00:04 +0000 (UTC)
commit 53229f4c480a8f543243c333a09a077ca5da65f9
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Apr 4 11:47:30 2011 +0200
Require the latest mm-common and dist the mm-common scripts.
* configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call so that the scripts will
be distributed with the tarball, avoiding a runtime dependency on mm-common.
ChangeLog | 7 +++++++
configure.ac | 16 ++++++++++++----
2 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0bfc338..9b6b273 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-04 Murray Cumming <murrayc murrayc com>
+
+ Require the latest mm-common and dist the mm-common scripts.
+
+ * configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call so that the scripts will
+ be distributed with the tarball, avoiding a runtime dependency on mm-common.
+
2011-03-30 Murray Cumming <murrayc murrayc com>
A simpler way to avoid the PyDateTime_Check() crash.
diff --git a/configure.ac b/configure.ac
index 7ce4cfa..60ca3e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ AC_ARG_ENABLE([glom-ui],
[glom_enable_ui=$enableval],
[glom_enable_ui=yes])
AM_CONDITIONAL([GLOM_ENABLE_UI], [test "x$glom_enable_ui" = xyes])
-
+
# In most cases, you'll want all these options for the maemo build:
# ./configure --prefix=/usr --enable-postgesql --enable-sqlite --enable-maemo;make all install
# And you might need to do:
@@ -101,7 +101,7 @@ AC_ARG_ENABLE([client-only],
[build without developer mode and self-hosting])],
[glom_enable_client_only=$enableval],
[glom_enable_client_only=$glom_enable_maemo])
-
+
# Bail out if --enable-maemo and --disable-client-only are used together.
AS_IF([test "x$glom_enable_maemo" = xyes && test "x$glom_enable_client_only" != xyes],
@@ -179,7 +179,7 @@ AS_IF([test "x$glom_enable_maemo" = xyes],
AS_IF([test "x$glom_maemo_launcher" = xyes],
[REQUIRED_GLOM_LIBS="$REQUIRED_GLOM_LIBS maemo-launcher-app"])
-#TODO: Remove this check, because we checked again later anyway,
+#TODO: Remove this check, because we checked again later anyway,
#because we add REQUIRED_LIBGLOM_LIBS to REQUIRED_GLOM_LIBS?
PKG_CHECK_MODULES([LIBGLOM], [$REQUIRED_LIBGLOM_LIBS])
@@ -197,8 +197,16 @@ AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX], ["$ISO_CODES_PREFIX"],
[Define to the installation prefix of the iso-codes module.])
+# Allow use of mm-common macros for the warnings option and for installing developer documentation.
+MM_PREREQ([0.9.5])
+MM_INIT_MODULE([libglom-1.18])
+
+# Copy the mm-common .pl scripts into docs/,
+# and use them from there,
+# so we can dist them to avoid a tarball-build dependency.
+MM_CONFIG_DOCTOOL_DIR([docs/libglom_reference])
+
# Evaluate the --enable-warnings=level option.
-MM_PREREQ([0.8])
AC_LANG([C])
MM_ARG_ENABLE_WARNINGS([GLOM_WFLAGS],
[-Wall],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]