Commit 8513555868b46969ada45b812c31c43fb3a14407

Authored by Stéphane Raimbault
1 parent c1b5d585

Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28)

Showing 1 changed file with 2 additions and 2 deletions
acinclude.m4
1 dnl ############################################################################## 1 dnl ##############################################################################
2 -dnl # AC_LIBMODBUS_CHECK_DOC_BUILD # 2 +dnl # AC_LIBMODBUS_CHECK_DOC_BUILD #
3 dnl # Check whether to build documentation and install man-pages # 3 dnl # Check whether to build documentation and install man-pages #
4 dnl ############################################################################## 4 dnl ##############################################################################
5 AC_DEFUN([AC_LIBMODBUS_CHECK_DOC_BUILD], [{ 5 AC_DEFUN([AC_LIBMODBUS_CHECK_DOC_BUILD], [{
@@ -20,7 +20,7 @@ AC_DEFUN([AC_LIBMODBUS_CHECK_DOC_BUILD], [{ @@ -20,7 +20,7 @@ AC_DEFUN([AC_LIBMODBUS_CHECK_DOC_BUILD], [{
20 if test "x$ac_libmodbus_have_asciidoc" = "xno" -o "x$ac_libmodbus_have_xmlto" = "xno"; then 20 if test "x$ac_libmodbus_have_asciidoc" = "xno" -o "x$ac_libmodbus_have_xmlto" = "xno"; then
21 ac_libmodbus_build_doc="no" 21 ac_libmodbus_build_doc="no"
22 # Tarballs built with 'make dist' ship with prebuilt documentation. 22 # Tarballs built with 'make dist' ship with prebuilt documentation.
23 - if ! test -f doc/modbus.7; then 23 + if ! test -f doc/libmodbus.7; then
24 ac_libmodbus_install_man="no" 24 ac_libmodbus_install_man="no"
25 AC_MSG_WARN([You are building an unreleased version of libmodbus and asciidoc or xmlto are not installed.]) 25 AC_MSG_WARN([You are building an unreleased version of libmodbus and asciidoc or xmlto are not installed.])
26 AC_MSG_WARN([Documentation will not be built and manual pages will not be installed.]) 26 AC_MSG_WARN([Documentation will not be built and manual pages will not be installed.])