From 16eba6648eb97b082ccb3e0b299f6704bb02ea5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sat, 21 Mar 2009 11:25:21 +0000 Subject: [PATCH] make missing libxml-2.0 non fatal git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2678 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2b6a9a5d3..ac5d6b85d 100644 --- a/configure.ac +++ b/configure.ac @@ -211,7 +211,8 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[struct{char a;int b;}s[8]={[3]={.b=5} dnl libxml2 required rigmem xml support PKG_CHECK_MODULES([LIBXML2], [libxml-2.0], - [AC_DEFINE(HAVE_XML2,[1],[Define if libxml2 is available])]) + [AC_DEFINE(HAVE_XML2,[1],[Define if libxml2 is available])], + [AC_MSG_WARN([libxml-2.0 pkg-config not found, XML support will be disabled])]) AC_SUBST(LIBXML2_LIBS) AC_SUBST(LIBXML2_CFLAGS)