From: Sebastian Harl Date: Mon, 4 Mar 2013 15:51:26 +0000 (+0100) Subject: sdb_plugin.m4: Provide more details if a plugin is disabled by default. X-Git-Tag: sysdb-0.1.0~438^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b954b213cb7c0cf179f1ebaf88f406e6a42f8741;p=sysdb.git sdb_plugin.m4: Provide more details if a plugin is disabled by default. The default value passed to AC_SDB_PLUGIN might contain additional information about why the plugin has been disabled by default. This information should be forwarded to the user. --- diff --git a/m4/sdb_plugin.m4 b/m4/sdb_plugin.m4 index 1cf916c..e734e0d 100644 --- a/m4/sdb_plugin.m4 +++ b/m4/sdb_plugin.m4 @@ -60,7 +60,7 @@ AC_DEFUN([AC_SDB_PLUGIN], if test "x$2" = "xyes"; then enable_plugin="yes" else - enable_plugin="no" + enable_plugin="$2" fi else enable_plugin="$enable_all_plugins"