X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=8a50d8e224b74f8ccd5b739ded0afecd77480503;hb=1e8eb130ff83dedfb7382ca3e38651add9894662;hp=4dc4419e97bdf820d1dabd0659f8bf3588b9acf9;hpb=4c7661349ba9a54df9e6dc6223005466c89db19c;p=yaz-moved-to-github.git diff --git a/configure.in b/configure.in index 4dc4419..8a50d8e 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ -dnl YAZ Toolkit, Index Data 1994-2005 +dnl YAZ Toolkit, Index Data 1994-2006 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.188 2005-12-17 20:03:49 adam Exp $ +dnl $Id: configure.in,v 1.191 2006-02-02 13:02:55 adam Exp $ AC_INIT(include/yaz/yaz-version.h) -AM_INIT_AUTOMAKE(yaz, 2.1.10) +AM_INIT_AUTOMAKE(yaz, 2.1.13) AM_MAINTAINER_MODE dnl AC_SUBST(READLINE_LIBS) @@ -161,7 +161,16 @@ if test "$with_iconv" != "no"; then fi dnl ------ various functions AC_CHECK_FUNCS(vsnprintf gettimeofday poll strerror_r localtime_r usleep fopen64) -if test "$ac_cv_func_poll" = "yes"; then +case $host in +*-*-darwin*) + trypoll="no"; + ;; +*) + trypoll="yes"; + ;; +esac + +if test "$ac_cv_func_poll" = "yes" -a "$trypoll" = "yes"; then AC_CHECK_HEADERS(sys/poll.h) fi dnl ------ socklen_t