]> git.proxmox.com Git - mirror_kronosnet.git/commitdiff
Always define the Automake conditional
authorFerenc Wágner <wferi@debian.org>
Tue, 28 Apr 2020 20:08:20 +0000 (22:08 +0200)
committerFerenc Wágner <wferi@debian.org>
Wed, 29 Apr 2020 06:19:58 +0000 (08:19 +0200)
Otherwise ./configure --disable-man fails with

configure: error: conditional "BUILD_DOXYXML" was never defined.
Usually this means the macro was only invoked conditionally.

configure.ac

index 56124540f236b8eaa26904731d310a78fec28245..88695c77e6dc4b7d9efba4d8b0e23a172b5ba9d2 100644 (file)
@@ -287,8 +287,8 @@ if test "x$enable_man" = "xyes"; then
                ac_cv_path_PKG_CONFIG="$saved_ac_cv_path_PKG_CONFIG"
        fi
        AC_SUBST([DOXYGEN2MAN])
-       AM_CONDITIONAL([BUILD_DOXYXML], [test "x$build_doxy" = "xyes"])
 fi
+AM_CONDITIONAL([BUILD_DOXYXML], [test "x$build_doxy" = "xyes"])
 
 # checks for libnozzle
 if test "x$enable_libnozzle" = xyes; then