[PATCH v1 02/10] configure: Add check for UI build
Geoff Levand
geoff at infradead.org
Tue Jul 10 07:21:54 AEST 2018
Emit configure warning if no UI program is to be built.
Signed-off-by: Geoff Levand <geoff at infradead.org>
---
configure.ac | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index ed2ea82..72bdbf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,6 +135,13 @@ AM_CONDITIONAL(
[WITH_TWIN],
[test "x$with_twin_x11" = "xyes" || test "x$with_twin_fbdev" = "xyes"])
+AS_IF(
+ [test "x$with_twin_x11" != "xyes" && \
+ test "x$with_twin_fbdev" != "xyes" && \
+ test "x$ax_cv_curses" != "xyes"],
+ [AC_MSG_WARN([ No user interface programs configured. Consider using --with-ncurses, --with-twin-x11 or --with-twin-fbdev'])]
+)
+
AS_IF(
[test "x$with_twin_x11" = "xyes" || test "x$with_twin_fbdev" = "xyes"],
[PKG_CHECK_MODULES(
--
2.14.1
More information about the Petitboot
mailing list