Add AC_PROG_RANLIB and AC_CHECK_FUNCS([atexit])
Exit with error if atexit is not found.
Add Autoconf function checks for ::modf and ::select.
Use ::select to timeout a ::read using the monitor latency as the timeout amount.