X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=22f68b6c7ed038e84fcd23959aae70e814f42f5b;hb=163ca1323081c3a85323b55cb0ff668b8f7c83a1;hp=ad8bb64dc61e0a7ace8ca474e5b3b9382c2180b0;hpb=9a32992b1041bf622fdc4825262f5f7110494cce;p=yaz-moved-to-github.git diff --git a/configure.in b/configure.in index ad8bb64..22f68b6 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ -dnl YAZ Toolkit, Index Data 1994-2004 +dnl YAZ Toolkit, Index Data 1994-2005 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.161 2004-11-10 09:26:43 adam Exp $ +dnl $Id: configure.in,v 1.167 2005-01-11 12:13:18 adam Exp $ AC_INIT(include/yaz/yaz-version.h) -AM_INIT_AUTOMAKE(yaz, 2.0.29) +AM_INIT_AUTOMAKE(yaz, 2.0.32) AM_MAINTAINER_MODE dnl AC_SUBST(READLINE_LIBS) @@ -19,6 +19,16 @@ AC_PATH_PROG(pkgconfigpath, pkg-config, NONE) dnl YAZ_DOC dnl +dnl +dnl ------ Headers +AC_CHECK_HEADERS(fnmatch.h wchar.h locale.h langinfo.h) +AC_HEADER_STDC +if test "$ac_cv_header_stdc" = "no"; then + AC_MSG_WARN(Your system doesn't seem to support ANSI C) +fi +dnl ----- Types +AC_CHECK_TYPES([long long]) +dnl dnl ----- Sockets checkBoth=0 AC_CHECK_FUNC(connect) @@ -203,6 +213,7 @@ extern int accept(int, struct sockaddr *, size_t t *); ]) AC_MSG_RESULT($ac_cv_check_socklen_t) AC_DEFINE_UNQUOTED(YAZ_SOCKLEN_T,$ac_cv_check_socklen_t) +AC_DEFINE(YAZ_USE_NEW_LOG) dnl dnl ------ tcpd AC_ARG_ENABLE(tcpd,[ --enable-tcpd[=PREFIX] enable TCP wrapper for server if available]) @@ -233,13 +244,6 @@ if test "$enable_tcpd" -a "$enable_tcpd" != "no"; then fi fi dnl -dnl ------ Headers -AC_CHECK_HEADERS(fnmatch.h wchar.h locale.h langinfo.h) -AC_STDC_HEADERS -if test "$ac_cv_header_stdc" = "no"; then - AC_MSG_WARN(Your system doesn't seem to support ANSI C) -fi -dnl AC_SUBST(LIBTHREAD) AC_SUBST(CFLAGSTHREADS) HAVETHREADS=0