configure.ac with libevent check restored