summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-11-11 17:07:34 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-12 11:33:00 +0100
commitc4efa79099f55bed1ff94db4a368632c5520b694 (patch)
treeacdc0de2953a0c2741637c36e96df492633e16d4 /src/external
parent3242dd4a49c3869c9b066a63afb81cebf1a35b7d (diff)
downloadsssd-c4efa79099f55bed1ff94db4a368632c5520b694.tar.gz
sssd-c4efa79099f55bed1ff94db4a368632c5520b694.tar.xz
sssd-c4efa79099f55bed1ff94db4a368632c5520b694.zip
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
Diffstat (limited to 'src/external')
-rw-r--r--src/external/cifsidmap.m45
1 files changed, 4 insertions, 1 deletions
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],