make missing libxml-2.0 non fatal

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2678 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.10
Stéphane Fillod, F8CFE 2009-03-21 11:25:21 +00:00
rodzic c14de60c41
commit 16eba6648e
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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)