]> git.meshlink.io Git - catta/blobdiff - configure.ac
* Check if the manpages have been generated, if not error about missing xmltoman...
[catta] / configure.ac
index 14b816b18296a2f0a6a964b60feb0ae26ae22196..4dac56632880f80d7be0b36be969464011e3022c 100644 (file)
@@ -326,6 +326,10 @@ if test x$xmltoman = xyes ; then
    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