If ppoll() is missing, use poll() and self-pipe trick instead.
Test in configure script and write to makefile.local.