From: Jérémie Galarneau Date: Mon, 10 Feb 2014 20:31:46 +0000 (-0500) Subject: Fix: Fail configuration if libxml2 is not found X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=27df255210fe8e836c36fa1d924d2a24e585ebca Fix: Fail configuration if libxml2 is not found Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index 56f7475cf..614c8d1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -146,7 +146,7 @@ AC_CHECK_LIB([popt], [poptGetContext], [], [AC_MSG_ERROR([Cannot find libpopt. Use [LDFLAGS]=-Ldir to specify its location.])] ) -AM_PATH_XML2(2.7.6) +AM_PATH_XML2(2.7.6, 1, AC_MSG_ERROR(No supported version of libxml2 found.)) # Check for libuuid AC_CHECK_LIB([uuid], [uuid_generate],