summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-13 13:30:26 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-14 13:32:00 (GMT)
commitdb79ab254a5882220a673924f4f48fe5aa14dddd (patch)
tree051b9432dd485b09c5160eda7f05d6f9454a8ad8 /configure.ac
parenta74d79da279e59fa4826c5dca880e50774f44f1a (diff)
downloadconnman-db79ab254a5882220a673924f4f48fe5aa14dddd.zip
connman-db79ab254a5882220a673924f4f48fe5aa14dddd.tar.gz
connman-db79ab254a5882220a673924f4f48fe5aa14dddd.tar.bz2
session: Fix configuration plugin build
Instead of allow the user configuring which plugin should build and used via issuing 'configure --with-configplugin=foo' add explicit enable flags 'configure --enable-session-policy'. Also with this patch, the name is changed from session-default to session-policy.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index f43b251..2a7b20b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -252,11 +252,11 @@ AC_ARG_ENABLE(tist,
AM_CONDITIONAL(TIST, test "${enable_tist}" != "no")
AM_CONDITIONAL(TIST_BUILTIN, test "${enable_tist}" = "builtin")
-AC_ARG_WITH(configplugin, AC_HELP_STRING([--with-configplugin=PLUGIN],
- [session config plugin]), [configplugin=${withval}],
- [configplugin="session_default"])
-SESSION_CONFIG_PLUGIN="$configplugin"
-AC_SUBST(SESSION_CONFIG_PLUGIN)
+AC_ARG_ENABLE(session-policy,
+ AC_HELP_STRING([--enable-session-policy], [enable default Session policy configuration support]),
+ [enable_session_policy=${enableval}], [enable_session_policy="no"])
+AM_CONDITIONAL(SESSION_POLICY, test "${enable_session_policy}" != "no")
+AM_CONDITIONAL(SESSION_POLICY_BUILTIN, test "${enable_session_policy}" = "builtin")
AC_ARG_WITH(stats-max-file-size, AC_HELP_STRING([--with-stats-max-file-size=SIZE],
[Maximal size of a statistics round robin file]),