]> git.meshlink.io Git - catta/commitdiff
* Check if the manpages have been generated, if not error about missing xmltoman...
authorTrent Lloyd <lathiat@bur.st>
Tue, 23 Aug 2005 09:14:07 +0000 (09:14 +0000)
committerTrent Lloyd <lathiat@bur.st>
Tue, 23 Aug 2005 09:14:07 +0000 (09:14 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@410 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

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