summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2017-03-07 13:49:21 +0100
committerJakub Hrozek <jhrozek@redhat.com>2017-03-27 09:57:31 +0200
commitbea0dc79faf609de8603cb42f190adae544bc8fb (patch)
tree34ebc4a1653e1e6bb211384e7f044d7b4c426d77 /src/external
parent9dcdbf596e138df3eec202487549a67cd3b0091b (diff)
downloadsssd-bea0dc79faf609de8603cb42f190adae544bc8fb.tar.gz
sssd-bea0dc79faf609de8603cb42f190adae544bc8fb.tar.xz
sssd-bea0dc79faf609de8603cb42f190adae544bc8fb.zip
KCM: Implement an internal ccache storage and retrieval API
In order for the KCM server to work with ccaches stored in different locations, implement a middle-man between the KCM server and the ccache storage. This module has asynchronous API because we can't assume anything about where the ccaches are stored. Reviewed-by: Michal Židek <mzidek@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/external')
-rw-r--r--src/external/libuuid.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/src/external/libuuid.m4 b/src/external/libuuid.m4
new file mode 100644
index 000000000..55411a211
--- /dev/null
+++ b/src/external/libuuid.m4
@@ -0,0 +1,17 @@
+AC_SUBST(UUID_LIBS)
+AC_SUBST(UUID_CFLAGS)
+
+PKG_CHECK_MODULES([UUID], [uuid], [found_uuid=yes], [found_uuid=no])
+
+SSS_AC_EXPAND_LIB_DIR()
+AS_IF([test x"$found_uuid" = xyes],
+ [AC_CHECK_HEADERS([uuid/uuid.h],
+ [AC_CHECK_LIB([uuid],
+ [uuid_generate],
+ [UUID_LIBS="-L$sss_extra_libdir -luuid"],
+ [AC_MSG_ERROR([libuuid missing uuid_generate])],
+ [-L$sss_extra_libdir -luuid])],
+ [AC_MSG_ERROR([
+You must have the header file uuid.h installed to build sssd
+with KCM responder. If you want to build sssd without KCM responder
+then specify --without-kcm when running configure.])])])