aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2009-03-09 19:48:59 +0100
committerJon Masters <jcm@jonmasters.org>2009-04-30 15:43:04 -0400
commitdcc5cad1e0f43ca29b221c8df52d3c8b1021135b (patch)
tree1928aa95c22b2f7a267961b6b7c11430cb3610da
parent08da2582714ea581b3962afc524b4fbb76618cb5 (diff)
downloadmodule-init-tools-dcc5cad1e0f43ca29b221c8df52d3c8b1021135b.tar.gz
Don't abort the build if docbook2man is missing
Instead of aborting the build, print a warning if neither docbook2man nor docbook-to-man is found. Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Jon Masters <jcm@jonmasters.org>
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1dfd32a..91c6512 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,9 @@ AC_PROG_RANLIB
AC_CHECK_PROGS(DOCBOOKTOMAN, docbook-to-man docbook2man, [no],)
if test x"$DOCBOOKTOMAN" = xno
then
- AC_MSG_ERROR([docbook2man not found])
+ AC_MSG_WARN([docbook2man not found])
+ # fail with a meaningfull error if $DOCBOOKTOMAN called by the makefile
+ DOCBOOKTOMAN=docbook2man
fi
# Delay adding the zlib_flags until after AC_PROG_CC, so we can distinguish