Require YAZ 3.0.47 (Odr_int)
[idzebra-moved-to-github.git] / configure.ac
index f8709ed..578ee1f 100644 (file)
@@ -1,8 +1,8 @@
 dnl This file is part of the Zebra server.
-dnl   Copyright (C) 1994-2008 Index Data
+dnl   Copyright (C) 1994-2009 Index Data
 dnl
 AC_PREREQ(2.60)
-AC_INIT([idzebra],[2.0.34],[zebra-help@indexdata.dk])
+AC_INIT([idzebra],[2.0.44],[zebra-help@indexdata.dk])
 AC_CONFIG_SRCDIR(configure.ac)
 AC_CONFIG_AUX_DIR(config)
 AM_INIT_AUTOMAKE([1.9])
@@ -34,7 +34,7 @@ if test "$ac_cv_lib_crypt_crypt" = "yes"; then
 fi
 dnl
 dnl ------ YAZ
-YAZ_INIT([server icu],[3.0.17])
+YAZ_INIT([server icu],[3.0.47])
 if test "$YAZVERSION" = "NONE"; then
     AC_MSG_ERROR([YAZ development libraries required])
 fi
@@ -174,6 +174,11 @@ else
     fi
 fi
 dnl
+dnl ------- zlib
+AC_CHECK_LIB([z],[compress2])
+if test "$ac_cv_lib_z_compress2" = "yes"; then
+    AC_CHECK_HEADERS([zlib.h])
+fi
 dnl ------ -lm
 AC_CHECK_LIB(m,sqrt)
 dnl ------ -ldl
@@ -348,6 +353,7 @@ AC_OUTPUT([
   idzebra.spec
   idzebra-config-2.0
   Doxyfile
+  win/version.nsi
   include/idzebra/version.h
 ],[sed s%echo_source=yes%echo_source=no%g < idzebra-config-2.0 > util/idzebra-config-2.0 && chmod +x idzebra-config-2.0 util/idzebra-config-2.0])