Skip to content

Commit

Permalink
Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane committed Sep 29, 2011
1 parent c1b5d58 commit 8513555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acinclude.m4
@@ -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], [{
Expand All @@ -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.])
Expand Down

0 comments on commit 8513555

Please sign in to comment.