AC_CHECK_PROG(have_xmltoman, xmltoman, yes, no)
if test x$have_xmltoman = xno ; then
+ if ! test -e man/avahi-daemon.8 ; then
+ AC_MSG_ERROR([*** xmltoman was not found, it is required to build the manpages and they have not been pre-built])
+ exit 1
+ fi
AC_MSG_WARN([*** Not rebuilding man pages as xmltoman is not found ***])
xmltoman=no
fi