diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-09-13 15:30:26 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-09-14 16:32:00 +0300 |
commit | db79ab254a5882220a673924f4f48fe5aa14dddd (patch) | |
tree | 051b9432dd485b09c5160eda7f05d6f9454a8ad8 /configure.ac | |
parent | a74d79da279e59fa4826c5dca880e50774f44f1a (diff) | |
download | connman-db79ab254a5882220a673924f4f48fe5aa14dddd.tar.gz connman-db79ab254a5882220a673924f4f48fe5aa14dddd.tar.bz2 connman-db79ab254a5882220a673924f4f48fe5aa14dddd.zip |
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.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index f43b2517..2a7b20b6 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]), |