[PATCH] Don't abort the build if docbook2man is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Instead of aborting the build, print a warning if neither
docbook2man nor docbook-to-man is found.

Signed-off-by: Michal Marek <mmarek@xxxxxxx>
---
 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index e6e1a34..93ea871 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,9 @@ AC_PROG_CC
 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
-- 
1.6.0.2
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux