Use a separate event structure to handle meta data writes.
[tinc] / configure.in
index 3cb6a4d..a29a88f 100644 (file)
@@ -86,6 +86,9 @@ fi
 
 dnl Checks for libraries.
 
 
 dnl Checks for libraries.
 
+AC_CHECK_LIB(event, event_init,
+  [], [AC_MSG_ERROR(libevent is required)])
+
 dnl Checks for header files.
 dnl We do this in multiple stages, because unlike Linux all the other operating systems really suck and don't include their own dependencies.
 
 dnl Checks for header files.
 dnl We do this in multiple stages, because unlike Linux all the other operating systems really suck and don't include their own dependencies.