]> granicus.if.org Git - libnl/commitdiff
libnl-3.2.12 - ./configure --disable-doc: error: conditional "LINK_DOC" was never...
authorJeroen Roovers <jer@gentoo.org>
Sun, 2 Sep 2012 13:34:53 +0000 (15:34 +0200)
committerThomas Graf <tgraf@redhat.com>
Mon, 3 Sep 2012 10:13:01 +0000 (12:13 +0200)
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

index 50168426f07b776629e97a6e2574ad1d9926c188..7fb3da09ba67c658f856bac23a8c5039cc8f49aa 100644 (file)
@@ -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],