summaryrefslogtreecommitdiffstats
path: root/server/external
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-01 11:17:03 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-03 10:35:18 -0500
commitf4918db9dc26e3585054cc3841f379137bb9f8a6 (patch)
treeecfd0b40a9d9937422afa611a2ebf0167edf5a7c /server/external
parent1151bcff3fd6f16d4fe3ca216e3957c1420d7b54 (diff)
downloadsssd-f4918db9dc26e3585054cc3841f379137bb9f8a6.tar.gz
sssd-f4918db9dc26e3585054cc3841f379137bb9f8a6.tar.xz
sssd-f4918db9dc26e3585054cc3841f379137bb9f8a6.zip
Split off libini_config into a shared library
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libini_config.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/server/external/libini_config.m4 b/server/external/libini_config.m4
new file mode 100644
index 000000000..20291efa5
--- /dev/null
+++ b/server/external/libini_config.m4
@@ -0,0 +1,12 @@
+AC_SUBST(SYSTEM_INI_CONFIG_OBJ)
+AC_SUBST(SYSTEM_INI_CONFIG_CFLAGS)
+AC_SUBST(SYSTEM_INI_CONFIG_LIBS)
+
+PKG_CHECK_MODULES(SYSTEM_INI_CONFIG, ini_config >= 0.4.0,
+ have_system_ini_config=true,
+ have_system_ini_config=false
+ )
+# This is future-compatible. Right now, we'll force the use of our
+# in-tree copy. When ini_config is split off as its own source package, we'll
+# fix this test
+AM_CONDITIONAL(HAVE_SYSTEM_INI_CONFIG, test x$have_system_ini_config = xtrue_FORCE_IN_TREE)