ehlo, We usually inform about optional build dependencies at configure time and which option can disable checking of this dependency.
LS
>From 65f9baaa128da04b078c3ffbe62910decf8aaaef Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik <[email protected]> Date: Fri, 1 Jul 2016 08:41:14 +0200 Subject: [PATCH] CONFIGURE: Inform about optional build dependencies --- src/external/libhttp_parser.m4 | 6 ++++-- src/external/libjansson.m4 | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/external/libhttp_parser.m4 b/src/external/libhttp_parser.m4 index a02cd8270341e0b923988ee37d3aa1b48c5ac7eb..504bdf0f66c95b3d224c677a205a46e6f8b44726 100644 --- a/src/external/libhttp_parser.m4 +++ b/src/external/libhttp_parser.m4 @@ -16,5 +16,7 @@ AS_IF([test x"$found_http_parser" != xyes], [-L$sss_extra_libdir -lhttp_parser]) ], [-L$sss_extra_libdir -lhttp_parser_strict])], - [AC_MSG_ERROR([http_parser header files are not installed])])] -) + [AC_MSG_ERROR([ +You must have the header file http_parse.h installed to build sssd +with secrets responder. If you want to build sssd without secret responder +then specify --without-secrets when running configure.])])]) diff --git a/src/external/libjansson.m4 b/src/external/libjansson.m4 index 200c501b34d90d825e3c399e6ed3a5aae8827916..48a4a5fd8df4ac41312a596b5ebd5de7474e75f1 100644 --- a/src/external/libjansson.m4 +++ b/src/external/libjansson.m4 @@ -11,5 +11,7 @@ AS_IF([test x"$found_jansson" != xyes], [JANSSON_LIBS="-L$sss_extra_libdir -ljansson"], [AC_MSG_ERROR([libjansson missing jansson_loads])], [-L$sss_extra_libdir -ljanson])], - [AC_MSG_ERROR([jansson header files are not installed])])] -) + [AC_MSG_ERROR([ +You must have the header file jansson.h installed to build sssd +with secrets responder. If you want to build sssd without secret responder +then specify --without-secrets when running configure.])])]) -- 2.7.4
_______________________________________________ sssd-devel mailing list [email protected] https://lists.fedorahosted.org/admin/lists/[email protected]
