From 44522d349d922250169fe57b89dadbc6a1d12dab Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 18 May 2005 20:23:47 +0000 Subject: [PATCH] Warn if Libxml2 is not found --- configure.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 9a7a0f7..0222ce6 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl YAZ Toolkit, Index Data 1994-2005 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.177 2005-05-11 12:19:15 adam Exp $ +dnl $Id: configure.in,v 1.178 2005-05-18 20:23:47 adam Exp $ AC_INIT(include/yaz/yaz-version.h) AM_INIT_AUTOMAKE(yaz, 2.1.5) AM_MAINTAINER_MODE @@ -331,8 +331,11 @@ if test "$xml2dir" != "no"; then AC_DEFINE(HAVE_XML2) else AC_MSG_RESULT([Not found]) - if test "$xml2dir" != "default"; then - AC_MSG_ERROR([libXML2 development libraries missing]) + if test "$xml2dir" = "default"; then + AC_MSG_WARN([Libxml2 development libraries not found.]) + AC_MSG_WARN([YAZ will NOT support SRW/SRU.]) + else + AC_MSG_ERROR([libXML2 development libraries not found.]) fi fi fi -- 1.7.10.4