X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=b3d9b27dc2cae48fe2ef4aff0bd6f732dad4cbe0;hp=f688071cbe417b06a9c432937d1dc7ae4860276e;hb=5eea9658828cde7f7f269c95989a613b76375528;hpb=ef677b2b70f9e79bc1660bfbacba3a40ce74304f diff --git a/configure.ac b/configure.ac index f688071..b3d9b27 100644 --- a/configure.ac +++ b/configure.ac @@ -20,15 +20,15 @@ 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_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