From 3a69cca386a895313729f418ee44443794feed0f Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 22 Feb 2010 16:42:13 +0100 Subject: Fix $build_doc/$install_man check yet again --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 4268809..2420fa6 100644 --- a/configure.in +++ b/configure.in @@ -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]) -- cgit v1.2.3