diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-22 05:49:05 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-22 05:59:21 -0700 |
commit | 6db906ca51cc13d752f0b7e3462fd372ef06a49f (patch) | |
tree | 42b1fadfc9d373e8f876c77c115c25269c8f7565 /configure.ac | |
parent | 6b1b26a50be94eef59df0a735a2b4ba0358662a7 (diff) |
Only build manpages when xmlto is available
Don't require users to have xmlto and DocBook XML installed just to try
pm-utils. However, since the man pages are required for dist, prebuilt
pages will be available in the tarballs.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index cec6cc1..65aa1e1 100644 --- a/configure.ac +++ b/configure.ac @@ -22,9 +22,7 @@ dnl --------------------------------------------------------------------------- dnl - Manual page build dnl --------------------------------------------------------------------------- AC_PATH_PROG(XMLTO, xmlto, no) -if test "$XMLTO" = "no" ; then - AC_MSG_ERROR([Cannot find xmlto. Aborting...]) -fi +AM_CONDITIONAL(HAVE_XMLTO, [test "x$XMLTO" != xno]) dnl --------------------------------------------------------------------------- dnl - Make paths available for source files |