summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-01-22 13:42:13 +0000
committerRoy Marples <roy@marples.name>2016-01-22 13:42:13 +0000
commitc3af9c13302ed0626b594822c7ca8117a335835c (patch)
tree6d9e61b5e6ea9be4158739db01bad37b6e422501 /configure
parent490428b6a96953c32f88603286890ece603a58dd (diff)
downloaddhcpcd-c3af9c13302ed0626b594822c7ca8117a335835c.tar.xz
Move eloop structure inside eloop.c - the outside has no business knowing it.
Add more defines to better support pollts, ppoll and pselect.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index a226c330..f0eabf92 100755
--- a/configure
+++ b/configure
@@ -949,11 +949,14 @@ kqueue)
epoll)
echo "#define HAVE_EPOLL" >>$CONFIG_H
;;
+pollts)
+ echo "#define HAVE_POLLTS" >>$CONFIG_H
+ ;;
ppoll)
- echo "#define pollts ppoll" >>$CONFIG_H
+ echo "#define HAVE_PPOLL" >>$CONFIG_H
;;
pselect)
- # eloop assumes pselect if it cannot find anything suitable
+ echo "#define HAVE_PSELECT" >>$CONFIG_H
;;
*)
echo "No suitable polling function is available, not even pselect" >&2