Emit error message in configure if libevent is missing
authorJennifer Richards <jennifer@painless-security.com>
Fri, 1 Jun 2018 20:55:43 +0000 (20:55 +0000)
committerJennifer Richards <jennifer@painless-security.com>
Fri, 1 Jun 2018 20:55:43 +0000 (20:55 +0000)
configure.ac

index f688071..c27cf5e 100644 (file)
@@ -28,7 +28,7 @@ AC_CHECK_LIB([sqlite3], [sqlite3_open],,
     [AC_MSG_ERROR([Please install sqlite3 development])])
 AC_CHECK_LIB([jansson], [json_object])
 AC_CHECK_LIB([crypto], [DH_new])
-AC_CHECK_LIB([event], [event_base_new])
+AC_CHECK_LIB([event], [event_base_new],,[AC_MSG_ERROR([Please install libevent development])])
 AC_CHECK_HEADERS(gssapi.h gssapi_ext.h jansson.h talloc.h openssl/dh.h openssl/bn.h syslog.h event2/event.h)
 AC_CONFIG_FILES([Makefile gsscon/Makefile])
 AC_OUTPUT