X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=0d0f1c39eef877715555723e5a43a5fe8269f2e9;hb=43a7aff23f364fd3fac6e9746c53cda01be13738;hp=3e1d57688cd5699859a00ace5e023b730c638397;hpb=d7d0f190d7680a5b1ee4dd1635c3c30240d5782d;p=yaz-moved-to-github.git diff --git a/configure.in b/configure.in index 3e1d576..0d0f1c3 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl YAZ Toolkit, Index Data 1994-2005 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.170 2005-02-08 13:34:29 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.0.33) +AM_INIT_AUTOMAKE(yaz, 2.1.9) AM_MAINTAINER_MODE dnl AC_SUBST(READLINE_LIBS) @@ -40,7 +40,7 @@ if test "$checkBoth" = "1"; then LIBS="$LIBS -lsocket -lnsl" AC_CHECK_FUNC(accept, , [LIBS=$oldLibs]) fi -AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])) +AC_CHECK_FUNC(gethostbyname, ,[AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])]) dnl dnl ------ OpenSSL AC_SUBST(SSL_CFLAGS) @@ -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