From 0fc1650e091727971b3e3017f9f06cae6cdf71bb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 9 Feb 2011 19:22:25 +0100 Subject: libreplace: poll based on select --- lib/replace/system/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/replace/system/config.m4') diff --git a/lib/replace/system/config.m4 b/lib/replace/system/config.m4 index 04364bc3a1..b7cdf1414a 100644 --- a/lib/replace/system/config.m4 +++ b/lib/replace/system/config.m4 @@ -6,6 +6,10 @@ AC_CHECK_HEADERS(sys/acl.h acl/libacl.h sys/file.h) # select AC_CHECK_HEADERS(sys/select.h) +# poll +AC_CHECK_HEADERS(poll.h) +AC_CHECK_FUNCS(poll,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/poll.o"]) + # time AC_CHECK_HEADERS(sys/time.h utime.h) AC_HEADER_TIME -- cgit