From: Jennifer Richards Date: Fri, 1 Jun 2018 21:03:20 +0000 (+0000) Subject: Emit error message in configure for more missing libraries X-Git-Tag: 3.4.0~1^2~2^2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=3c74c0f2511b9ec825c692f22b27c738d7a925b0 Emit error message in configure for more missing libraries --- diff --git a/configure.ac b/configure.ac index c27cf5e..b3d9b27 100644 --- a/configure.ac +++ b/configure.ac @@ -20,13 +20,13 @@ AC_PROG_CC AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ]) PKG_CHECK_MODULES([GLIB], [glib-2.0]) -AC_CHECK_LIB([gssapi_krb5], [gss_init_sec_context]) +AC_CHECK_LIB([gssapi_krb5], [gss_init_sec_context],,[AC_MSG_ERROR([Please install libkrb5 development])]) AC_CHECK_LIB([com_err], [error_message]) AC_CHECK_LIB(talloc, talloc_init,, [AC_MSG_ERROR([Please install talloc development])]) AC_CHECK_LIB([sqlite3], [sqlite3_open],, [AC_MSG_ERROR([Please install sqlite3 development])]) -AC_CHECK_LIB([jansson], [json_object]) +AC_CHECK_LIB([jansson], [json_object],,[AC_MSG_ERROR([Please install libjansson development])]) AC_CHECK_LIB([crypto], [DH_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)