All of lore.kernel.org
 help / color / mirror / Atom feed
* [BlueZ PATCH v2 1/2] config: Show error if rst2man not found when manpages are enabled
@ 2021-05-11 20:08 Tedd Ho-Jeong An
  2021-05-11 20:08 ` [BlueZ PATCH v2 2/2] config: Change the config option for manpages Tedd Ho-Jeong An
  2021-05-11 20:41 ` [BlueZ,v2,1/2] config: Show error if rst2man not found when manpages are enabled bluez.test.bot
  0 siblings, 2 replies; 4+ messages in thread
From: Tedd Ho-Jeong An @ 2021-05-11 20:08 UTC (permalink / raw)
  To: linux-bluetooth

From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds a check if the conversion tool is installed when the
manpages is enabled, and show error if it is not installed.
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index f445589b0..2b044f8e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -328,6 +328,9 @@ AC_ARG_ENABLE(manpages, AC_HELP_STRING([--enable-manpages],
 					[enable_manpages=${enableval}])
 if (test "${enable_manpages}" != "no"); then
 	AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no")
+	if (test "${RST2MAN}" = "no" ); then
+		AC_MSG_ERROR([rst2man is required])
+	fi
 fi
 AM_CONDITIONAL(MANPAGES, test "${enable_manpages}" = "yes")
 AM_CONDITIONAL(RUN_RST2MAN, test "${enable_manpages}" = "yes" && test "${RST2MAN}" != "no")
-- 
2.26.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-11 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-11 20:08 [BlueZ PATCH v2 1/2] config: Show error if rst2man not found when manpages are enabled Tedd Ho-Jeong An
2021-05-11 20:08 ` [BlueZ PATCH v2 2/2] config: Change the config option for manpages Tedd Ho-Jeong An
2021-05-11 20:41 ` [BlueZ,v2,1/2] config: Show error if rst2man not found when manpages are enabled bluez.test.bot
2021-05-11 22:40   ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.