summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorH. Habighorst <h.habighorst@googlemail.com>2009-09-30 16:13:27 +0300
committerStefan Kost <ensonic@users.sf.net>2009-09-30 16:13:27 +0300
commit5561666e571a4326e2716ddebbee7328f942eee2 (patch)
treed73a6d3d6adcce7aecc6a5206cc743b17eee607f /m4
parent982623eb8931ac6a7b6fb56159d1ed5bfe0543a7 (diff)
downloadgtk-doc-5561666e571a4326e2716ddebbee7328f942eee2.tar.gz
build: various build cleanups. Fixes #591450
- acinclude.m4 shouldn't be used if a m4 folder exists. Splitted the two macros out in the m4 folder. - renamed configure.in to configure.ac. - kills off whitespace in configure.ac and formats it. - replace AC_HELP_STRING by AS_HELP_STRING. - Makefile.am -> use ACLOCAL_AMFLAGS=-I m4 to include the macros - replaced # by dnl
Diffstat (limited to 'm4')
-rw-r--r--m4/gnome-doc-utils.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/gnome-doc-utils.m4 b/m4/gnome-doc-utils.m4
index 4aef712..402bb3e 100644
--- a/m4/gnome-doc-utils.m4
+++ b/m4/gnome-doc-utils.m4
@@ -40,12 +40,15 @@ AC_DEFUN([GNOME_DOC_INIT],
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
+AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
[gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
if test "$gdu_cv_have_gdu" = "yes"; then
+ AC_MSG_RESULT([yes])
ifelse([$2],,[:],[$2])
else
+ AC_MSG_RESULT([no])
ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
fi