IT_PROG_INTLTOOL([0.40.0])
+XGETTEXT="${XGETTEXT} --keyword=_:1,2 --keyword=N_:1,2 --no-location"
+
GETTEXT_PACKAGE=pakfire-build-service
AC_SUBST(GETTEXT_PACKAGE)
# Python
AM_PATH_PYTHON([3.9])
+# pygmentize (from pygments)
+AC_CHECK_PROG(PYGMENTIZE, [pygmentize], [pygmentize])
+if test -z "${PYGMENTIZE}"; then
+ AC_MSG_ERROR([pygmentize is required])
+fi
+
+# SASSC
+AC_CHECK_PROG(SASSC, [sassc], [sassc])
+if test -z "${SASSC}"; then
+ AC_MSG_ERROR([sassc is required])
+fi
+
+# uglifyjs
+AC_CHECK_PROG(UGLIFYJS, [uglifyjs], [uglifyjs])
+if test -z "${UGLIFYJS}"; then
+ AC_MSG_ERROR([uglifyjs is required])
+fi
+
save_LIBS="$LIBS"
# pkg-config
# ------------------------------------------------------------------------------
+AX_PYTHON_MODULE([boto3], [fatal])
+AX_PYTHON_MODULE([kerberos], [fatal])
AX_PYTHON_MODULE([location], [fatal])
+AX_PYTHON_MODULE([markdown], [fatal])
+AX_PYTHON_MODULE([psycopg], [fatal])
+AX_PYTHON_MODULE([psycopg_pool], [fatal])
+AX_PYTHON_MODULE([pygments], [fatal])
+AX_PYTHON_MODULE([systemd.journal], [fatal])
# ------------------------------------------------------------------------------