[PATCH] configure.ac: check for program xsltproc availability

Giacinto Cifelli gciofono at gmail.com
Fri Mar 20 15:48:07 UTC 2020


---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 57495032..fad73a66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,9 @@ AM_PROG_CC_C_O
 AC_PROG_INSTALL
 AC_PROG_MKDIR_P
 
+AC_CHECK_PROG(XSLTPROC_CHECK,xsltproc,yes)
+AS_IF([test x"$XSLTPROC_CHECK" != x"yes"], [AC_MSG_ERROR([Please install xsltproc before configuring.])])
+
 dnl Initialize libtool
 LT_PREREQ([2.2])
 LT_INIT([disable-static])
-- 
2.17.1



More information about the ModemManager-devel mailing list