From c4efa79099f55bed1ff94db4a368632c5520b694 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 11 Nov 2013 17:07:34 +0100 Subject: BUILD: Change error message if missing cifsimap.h cifs-idmap plugin is enabled by default, but required header file cifsidmap.h needn't be available on other distributions. It was not clear that cifs-idmap plugin is optional feature of sssd. With this patch, configure will recommend to build sssd without cifs idmap plugin if cifsidmap.h is not available. Resolves: https://fedorahosted.org/sssd/ticket/2125 --- src/external/cifsidmap.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/external') diff --git a/src/external/cifsidmap.m4 b/src/external/cifsidmap.m4 index 53cb8b778..0aac8fa9d 100644 --- a/src/external/cifsidmap.m4 +++ b/src/external/cifsidmap.m4 @@ -6,7 +6,10 @@ AC_ARG_ENABLE([cifs-idmap-plugin], AS_IF([test x$build_cifs_idmap_plugin = xyes], [AC_CHECK_HEADER([cifsidmap.h], [], - [AC_MSG_ERROR([you must have the cifsidmap header installed to build the idmap plugin])]) + [AC_MSG_ERROR([ +You must have the cifsidmap header installed to build the idmap plugin. +If you want to build sssd withoud cifsidmap plugin then specify +--disable-cifs-idmap-plugin when running configure.])]) ]) AM_CONDITIONAL([BUILD_CIFS_IDMAP_PLUGIN], -- cgit