Fix $build_doc/$install_man check yet again

This commit is contained in:
Martin Lucina 2010-02-22 16:42:13 +01:00
parent 1294c1d33a
commit 3a69cca386

View File

@ -101,7 +101,7 @@ fi
AC_MSG_CHECKING([whether to build documentation])
AC_MSG_RESULT([$build_doc])
AC_MSG_CHECKING([whether to install manpages])
if test "x$install_man" = "xyes" -a ! -f "./doc/zmq.7"; then
if test "x$build_doc" = "xno" -a "x$install_man" = "xyes" -a ! -f "./doc/zmq.7"; then
AC_MSG_ERROR([configure thinks we want to install manpages but they're not present. Help!])
fi
AC_MSG_RESULT([$install_man])