summaryrefslogtreecommitdiffstats
path: root/src/external/configlib.m4
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-04-21 12:17:53 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-05-14 11:13:42 +0200
commit3fc158e59eebbc2f538fe0076a03928d0d4eab9f (patch)
treeccc7d7cc0bbf5e5e70afcdb0aa5cb41682efe975 /src/external/configlib.m4
parent207cfa5ce8cb7118a1f56a8beb887246349bd50f (diff)
downloadsssd-3fc158e59eebbc2f538fe0076a03928d0d4eab9f.tar.gz
sssd-3fc158e59eebbc2f538fe0076a03928d0d4eab9f.tar.xz
sssd-3fc158e59eebbc2f538fe0076a03928d0d4eab9f.zip
sss_config: build
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/external/configlib.m4')
-rw-r--r--src/external/configlib.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/src/external/configlib.m4 b/src/external/configlib.m4
new file mode 100644
index 000000000..ad6c1a943
--- /dev/null
+++ b/src/external/configlib.m4
@@ -0,0 +1,12 @@
+AC_ARG_ENABLE([config-lib],
+ [AS_HELP_STRING([--disable-config-lib],
+ [do not build internal config library])],
+ [build_config_lib=$enableval],
+ [build_config_lib=yes])
+
+AM_CONDITIONAL([BUILD_CONFIG_LIB],
+ [test x$build_config_lib = xyes])
+
+AM_COND_IF([BUILD_CONFIG_LIB],
+ [AC_DEFINE_UNQUOTED(HAVE_CONFIG_LIB, 1,
+ [Build with internal config library])]) \ No newline at end of file