commit 802e4ad59a46d9d3066b2e0861263c1432a81905
parent 05de140e37f78fc7b5ac54435b8bbbbe447845e6
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Thu, 3 Oct 2019 10:27:06 +0200
build: Ensure that RUN_RST2MAN conditional is always defined
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]),