Skip to content

Commit 2e92643

Browse files
authored
Merge pull request #2173 from bluca/without_docs
Problem: build API incompatible with 4.1
2 parents 1e69309 + 8345fe9 commit 2e92643

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

acinclude.m4

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,13 @@ AC_DEFUN([LIBZMQ_CHECK_DOC_BUILD], [{
9595
AS_HELP_STRING([--without-docs],
9696
[Don't build and install man pages [default=build]]),
9797
[with_docs=$withval])
98+
AC_ARG_WITH([documentation], [AS_HELP_STRING([--without-documentation],
99+
[Don't build and install man pages [default=build] DEPRECATED: use --without-docs])])
98100
99-
if test "x$with_docs" = "xno"; then
101+
if test "x$with_documentation" = "xno"; then
102+
AC_MSG_WARN([--without-documentation is DEPRECATED and will be removed in the next release, use --without-docs])
103+
fi
104+
if test "x$with_docs" = "xno" || test "x$with_documentation" = "xno"; then
100105
libzmq_build_doc="no"
101106
libzmq_install_man="no"
102107
else

0 commit comments

Comments
 (0)