configure.ac: only test for usleep/select if neither of sdl1/2 is used