From: Jennifer Richards Date: Fri, 1 Jun 2018 20:55:43 +0000 (+0000) Subject: Emit error message in configure if libevent is missing X-Git-Tag: 3.4.0~1^2~2^2~1 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=c17a2b79f3fe77e7e8e6c12a6ae2d7587a45e9e2 Emit error message in configure if libevent is missing --- diff --git a/configure.ac b/configure.ac index f688071..c27cf5e 100644 --- a/configure.ac +++ b/configure.ac @@ -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