Permalink
Browse files

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

  • Loading branch information...
1 parent c1b5d58 commit 8513555868b46969ada45b812c31c43fb3a14407 @stephane committed Sep 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 acinclude.m4
View
@@ -1,5 +1,5 @@
dnl ##############################################################################
-dnl # AC_LIBMODBUS_CHECK_DOC_BUILD #
+dnl # AC_LIBMODBUS_CHECK_DOC_BUILD #
dnl # Check whether to build documentation and install man-pages #
dnl ##############################################################################
AC_DEFUN([AC_LIBMODBUS_CHECK_DOC_BUILD], [{
@@ -20,7 +20,7 @@ AC_DEFUN([AC_LIBMODBUS_CHECK_DOC_BUILD], [{
if test "x$ac_libmodbus_have_asciidoc" = "xno" -o "x$ac_libmodbus_have_xmlto" = "xno"; then
ac_libmodbus_build_doc="no"
# Tarballs built with 'make dist' ship with prebuilt documentation.
- if ! test -f doc/modbus.7; then
+ if ! test -f doc/libmodbus.7; then
ac_libmodbus_install_man="no"
AC_MSG_WARN([You are building an unreleased version of libmodbus and asciidoc or xmlto are not installed.])
AC_MSG_WARN([Documentation will not be built and manual pages will not be installed.])

0 comments on commit 8513555

Please sign in to comment.