Commits

braindamaged committed e1139be

Test if xsltproc is present when building with manpages

  • Participants
  • Parent commits 2f95810

Comments (0)

Files changed (1)

File configure.ac

 AC_ARG_ENABLE([manpages],
         AS_HELP_STRING([--disable-manpages], [disable man pages @<:@default=enabled@:>@]),
         [], enable_manpages=yes)
+AS_IF([test "x$enable_manpages" = xyes -a "x$XSLTPROC" = x],
+       [AC_MSG_ERROR([*** Manpages requested but xsltproc not found])])
 AM_CONDITIONAL([ENABLE_MANPAGES], [test "x$enable_manpages" = "xyes"])
 
 if test "x$cross_compiling" = "xno" ; then