summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2016-07-01 08:41:14 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-07-07 18:07:07 +0200
commitc5a47e4a809aca39669e26d6136f8056952efd74 (patch)
tree2d59ec272cd9f052d8930853bb83c3d44030aad4
parentaa58e216c1f794bd335151f19e79adbb3ddf4c73 (diff)
downloadsssd-c5a47e4a809aca39669e26d6136f8056952efd74.tar.gz
sssd-c5a47e4a809aca39669e26d6136f8056952efd74.tar.xz
sssd-c5a47e4a809aca39669e26d6136f8056952efd74.zip
CONFIGURE: Inform about optional build dependencies
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r--src/external/libhttp_parser.m46
-rw-r--r--src/external/libjansson.m46
2 files changed, 8 insertions, 4 deletions
diff --git a/src/external/libhttp_parser.m4 b/src/external/libhttp_parser.m4
index a02cd8270..504bdf0f6 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 200c501b3..48a4a5fd8 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.])])])