From 4ecbd8789b842eca110774345f08008beb9d06fd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 9 May 2025 13:24:39 +0000 Subject: [PATCH] configure: Require NPM to build the frontend Signed-off-by: Michael Tremer --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index a00830e..abdf1bc 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,12 @@ AM_PATH_PYTHON([3.4]) AX_PYTHON_MODULE([PAM], [fatal]) +# npm +AC_CHECK_PROG(NPM, npm, yes, no) +if test "x$NPM" = "xno"; then + AC_MSG_ERROR([npm is required to build the frontend]) +fi + # SASSC AC_CHECK_PROG(SASSC, [sassc], [sassc]) if test -z "${SASSC}"; then -- 2.47.3