Merge pull request #2173 from bluca/without_docs

Problem: build API incompatible with 4.1
This commit is contained in:
Constantin Rack 2016-10-27 18:34:05 +02:00 committed by GitHub
commit 2e9264354c

View File

@ -95,8 +95,13 @@ AC_DEFUN([LIBZMQ_CHECK_DOC_BUILD], [{
AS_HELP_STRING([--without-docs],
[Don't build and install man pages [default=build]]),
[with_docs=$withval])
AC_ARG_WITH([documentation], [AS_HELP_STRING([--without-documentation],
[Don't build and install man pages [default=build] DEPRECATED: use --without-docs])])
if test "x$with_docs" = "xno"; then
if test "x$with_documentation" = "xno"; then
AC_MSG_WARN([--without-documentation is DEPRECATED and will be removed in the next release, use --without-docs])
fi
if test "x$with_docs" = "xno" || test "x$with_documentation" = "xno"; then
libzmq_build_doc="no"
libzmq_install_man="no"
else