projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c76613
)
Prevent YAZ from using poll on MacOSX
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 17 Dec 2005 20:20:55 +0000
(20:20 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 17 Dec 2005 20:20:55 +0000
(20:20 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
4dc4419
..
e05f27a
100644
(file)
--- 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 YAZ Toolkit, Index Data 1994-2005
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.189 2005-12-17 20:20:55 adam Exp $
AC_INIT(include/yaz/yaz-version.h)
AC_INIT(include/yaz/yaz-version.h)
-AM_INIT_AUTOMAKE(yaz, 2.1.10)
+AM_INIT_AUTOMAKE(yaz, 2.1.11)
AM_MAINTAINER_MODE
dnl
AC_SUBST(READLINE_LIBS)
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)
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
AC_CHECK_HEADERS(sys/poll.h)
fi
dnl ------ socklen_t