From: Jeroen Roovers Date: Sun, 2 Sep 2012 13:34:53 +0000 (+0200) Subject: libnl-3.2.12 - ./configure --disable-doc: error: conditional "LINK_DOC" was never... X-Git-Tag: libnl3_2_13~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fddba713a82b2d16da2b67cf609795a2ce89b71c;p=libnl 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 --- 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],