WS updates. No code changes
[yaz-moved-to-github.git] / configure.in
index 8ef93c0..0d0f1c3 100644 (file)
@@ -1,8 +1,8 @@
 dnl YAZ Toolkit, Index Data 1994-2005
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.173 2005-03-14 11:17:58 adam Exp $
+dnl $Id: configure.in,v 1.183 2005-06-23 13:09:42 adam Exp $
 AC_INIT(include/yaz/yaz-version.h)
-AM_INIT_AUTOMAKE(yaz, 2.1.0)
+AM_INIT_AUTOMAKE(yaz, 2.1.9)
 AM_MAINTAINER_MODE
 dnl
 AC_SUBST(READLINE_LIBS)
@@ -160,7 +160,7 @@ if test "$with_iconv" != "no"; then
        ])
 fi
 dnl ------ various functions
-AC_CHECK_FUNCS(vsnprintf gettimeofday poll strerror_r usleep)
+AC_CHECK_FUNCS(vsnprintf gettimeofday poll strerror_r usleep fopen64)
 if test "$ac_cv_func_poll" = "yes"; then
         AC_CHECK_HEADERS(sys/poll.h)
 fi
@@ -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