[devhelp] build: Use more AX_REQUIRE_DEFINED
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] build: Use more AX_REQUIRE_DEFINED
- Date: Sat, 12 Nov 2016 17:30:24 +0000 (UTC)
commit 348fb1b67f6e49439f41f5acd37d642b95a71f27
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Nov 10 16:56:00 2016 -0600
build: Use more AX_REQUIRE_DEFINED
Now that we depend on autoconf-archive, give some better error messages
in the case autoconf-archive is available but other required macros are
not.
https://bugzilla.gnome.org/show_bug.cgi?id=774069
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 44378a1..8a170ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,7 @@ AC_PROG_CC
LT_PREREQ([2.2])
LT_INIT([disable-static])
+AX_REQUIRE_DEFINED([GLIB_GSETTINGS])
GLIB_GSETTINGS
GOBJECT_INTROSPECTION_CHECK([1.30.0])
@@ -49,6 +50,8 @@ AX_COMPILER_FLAGS
AC_CHECK_LIBM
AC_SUBST(LIBM)
+AX_REQUIRE_DEFINED([PKG_CHECK_MODULES])
+
PKG_CHECK_MODULES(DEVHELP, [
gio-2.0 >= 2.38
gtk+-3.0 >= 3.20
@@ -84,6 +87,7 @@ AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
AM_PATH_PYTHON([2.3],[],[no])
+AX_REQUIRE_DEFINED([GTK_DOC_CHECK])
GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
AC_CONFIG_FILES([
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]