summaryrefslogtreecommitdiff
path: root/src/external
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-09-26 10:27:33 +0200
committerSumit Bose <sbose@redhat.com>2013-10-15 11:36:32 +0200
commitaf4ffe1001adcc0a96897e426d26444f07af9aa1 (patch)
treeaa9c4472e67b5d74e0b71ea58b98255a468f96f8 /src/external
parent65a8e6e655c22027d3e02ea697972111f2a33e33 (diff)
downloadsssd-af4ffe1001adcc0a96897e426d26444f07af9aa1.tar.gz
sssd-af4ffe1001adcc0a96897e426d26444f07af9aa1.tar.bz2
sssd-af4ffe1001adcc0a96897e426d26444f07af9aa1.zip
Add CIFS idmap plugin
https://fedorahosted.org/sssd/ticket/1534
Diffstat (limited to 'src/external')
-rw-r--r--src/external/cifsidmap.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/src/external/cifsidmap.m4 b/src/external/cifsidmap.m4
new file mode 100644
index 00000000..53cb8b77
--- /dev/null
+++ b/src/external/cifsidmap.m4
@@ -0,0 +1,16 @@
+AC_ARG_ENABLE([cifs-idmap-plugin],
+ [AS_HELP_STRING([--disable-cifs-idmap-plugin],
+ [do not build CIFS idmap plugin])],
+ [build_cifs_idmap_plugin=$enableval],
+ [build_cifs_idmap_plugin=yes])
+
+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])])
+ ])
+
+AM_CONDITIONAL([BUILD_CIFS_IDMAP_PLUGIN],
+ [test x$build_cifs_idmap_plugin = xyes])
+
+AM_COND_IF([BUILD_CIFS_IDMAP_PLUGIN],
+ [AC_DEFINE_UNQUOTED(HAVE_CIFS_IDMAP_PLUGIN, 1, [Build with cifs idmap plugin])])