X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=e9a8a037d5bffedbf390b1ba5a6aae1f8be1378c;hp=01f73470416cd14b1900d87946219e01ec050ac5;hb=42cd12e606db733d23606480a1ece262ebba77ed;hpb=5def48f6cb987e716ea03cb13b95736a8f630c0e diff --git a/configure.ac b/configure.ac index 01f7347..e9a8a03 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ dnl Zebra, Index Data ApS, 1995-2007 -dnl $Id: configure.ac,v 1.61 2007-08-28 17:57:46 adam Exp $ +dnl $Id: configure.ac,v 1.66 2007-10-22 13:05:22 adam Exp $ dnl AC_PREREQ(2.59) -AC_INIT([idzebra],[2.0.15],[zebra-help@indexdata.dk]) +AC_INIT([idzebra],[2.0.18],[zebra-help@indexdata.dk]) AC_CONFIG_SRCDIR(configure.ac) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE([1.8]) @@ -34,7 +34,7 @@ if test "$ac_cv_lib_crypt_crypt" = "yes"; then fi dnl dnl ------ YAZ -YAZ_INIT([server],[3.0.3]) +YAZ_INIT([server icu],[3.0.15]) if test "$YAZVERSION" = "NONE"; then AC_MSG_ERROR([YAZ development libraries required]) fi @@ -201,44 +201,7 @@ if test "$expat" != "no"; then fi dnl dnl ------- 64 bit files -AC_MSG_CHECKING(for LFS) -AC_TRY_RUN([#define _FILE_OFFSET_BITS 64 -#include -#include -#include -#include -#include -#include -int main(int argc, char **argv) -{ - off_t o; - char tmp_str[32]; - int fd; - struct flock area; - if (sizeof(off_t) != 8) - exit (1); - o = 2000000000; - if ((o+o+o) / 3 != o) - exit(1); - fd = creat ("config.tmp", 0644); - if (fd < 0) - exit (1); - area.l_type = F_WRLCK; - area.l_whence = SEEK_SET; - area.l_len = area.l_start = 0L; - if (fcntl(fd, F_SETLKW, &area)) - exit (1); - close (fd); - unlink ("config.tmp"); - exit (0); -} -],bits=64,bits=32,bits=32) -if test "$bits" = "64"; then - AC_DEFINE(_FILE_OFFSET_BITS,64) - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) -fi +AC_SYS_LARGEFILE AC_CHECK_TYPES([long long]) if test "${ac_cv_type_long_long}" = "yes"; then ZINT_VALUE=1