From 61660c9cba389dd297ef55c2df4871f7d75e1885 Mon Sep 17 00:00:00 2001 From: c rempel Date: Wed, 28 Jun 2017 20:16:32 -0700 Subject: [PATCH] fix the xmlto check in configure.ac, so fails when xmlto is not installed --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7e103ca..07de2a2 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,12 @@ AC_INIT(xdg-utils, 1, portland@lists.freedesktop.org) AC_PROG_MAKE_SET AC_PROG_INSTALL -AC_PATH_PROG(XMLTO, xmlto, /usr/bin/xmlto) + +AC_CHECK_PROG(XMLTO,xmlto,yes) + +if test x"$XMLTO" != x"yes" ; then + AC_MSG_ERROR([Please install xmlto before installing.]) +fi AC_CONFIG_FILES([ Makefile -- 2.7.4