From 802e4ad59a46d9d3066b2e0861263c1432a81905 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 3 Oct 2019 10:27:06 +0200 Subject: [PATCH] build: Ensure that RUN_RST2MAN conditional is always defined --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index db225597..c186424a 100644 --- a/configure.ac +++ b/configure.ac @@ -192,9 +192,9 @@ AC_ARG_ENABLE([manual-pages], AC_HELP_STRING([--disable-manual-pages], [enable_manual_pages=${enableval}]) if (test "${enable_manual_pages}" != "no"); then AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no") - AM_CONDITIONAL(RUN_RST2MAN, test "${RST2MAN}" != "no") fi AM_CONDITIONAL(MANUAL_PAGES, test "${enable_manual_pages}" != "no") +AM_CONDITIONAL(RUN_RST2MAN, test "${enable_manual_pages}" != "no" && test "${RST2MAN}" != "no") AC_ARG_WITH([dbus-busdir], AC_HELP_STRING([--with-dbus-busdir=DIR], [path to D-Bus bus services directory]),