From fddba713a82b2d16da2b67cf609795a2ce89b71c Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 2 Sep 2012 15:34:53 +0200 Subject: [PATCH] libnl-3.2.12 - ./configure --disable-doc: error: conditional "LINK_DOC" was never defined. \ Usually this means the macro was only invoked conditionally. configure: error: conditional "LINK_DOC" was never defined. Usually this means the macro was only invoked conditionally. Attached patch provided by Martin Jansa. See also https://bugs.gentoo.org/show_bug.cgi?id=433565 --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 5016842..7fb3da0 100644 --- a/configure.in +++ b/configure.in @@ -147,12 +147,12 @@ if test "x$generate_doc" != "xno"; then AC_MSG_WARN([*** Disabling API linking due to missing doxygen package]) link_doc=no fi - - AM_CONDITIONAL([LINK_DOC], [test "x$link_doc" = "xyes"]) - AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$HAVE_DOXYGEN" = "xyes"]) - AM_CONDITIONAL([HAVE_ASCIIDOC], [test "x$HAVE_ASCIIDOC" = "xyes"]) fi +AM_CONDITIONAL([LINK_DOC], [test "x$link_doc" = "xyes"]) +AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$HAVE_DOXYGEN" = "xyes"]) +AM_CONDITIONAL([HAVE_ASCIIDOC], [test "x$HAVE_ASCIIDOC" = "xyes"]) + AM_CONDITIONAL([GENERATE_DOC], [test "x$generate_doc" != "xno"]) AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=PATH], -- 2.40.0