summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-01 10:33:28 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-03 10:35:17 -0500
commit6e9b349b2738064f6d03b2b127ad47af399aaa10 (patch)
tree6ac7f4f4ea6e3e5447df08f0b287d2381b721e5a /server/external
parentee08a65d418413515645278734de1ae984a60456 (diff)
downloadsssd-6e9b349b2738064f6d03b2b127ad47af399aaa10.tar.gz
sssd-6e9b349b2738064f6d03b2b127ad47af399aaa10.tar.bz2
sssd-6e9b349b2738064f6d03b2b127ad47af399aaa10.zip
Split off libcollection into a shared library
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libcollection.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/server/external/libcollection.m4 b/server/external/libcollection.m4
new file mode 100644
index 00000000..8fc37e8c
--- /dev/null
+++ b/server/external/libcollection.m4
@@ -0,0 +1,12 @@
+AC_SUBST(SYSTEM_COLLECTION_OBJ)
+AC_SUBST(SYSTEM_COLLECTION_CFLAGS)
+AC_SUBST(SYSTEM_COLLECTION_LIBS)
+
+PKG_CHECK_MODULES(SYSTEM_COLLECTION, collection >= 0.4.0,
+ have_system_collection=true,
+ have_system_collection=false
+ )
+# This is future-compatible. Right now, we'll force the use of our
+# in-tree copy. When collection is split off as its own source package, we'll
+# fix this test
+AM_CONDITIONAL(HAVE_SYSTEM_COLLECTION, test x$have_system_collection = xtrue_FORCE_IN_TREE)