Code

sdb_plugin.m4: Provide more details if a plugin is disabled by default.
authorSebastian Harl <sh@tokkee.org>
Mon, 4 Mar 2013 15:51:26 +0000 (16:51 +0100)
committerSebastian Harl <sh@tokkee.org>
Mon, 4 Mar 2013 15:51:26 +0000 (16:51 +0100)
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.

m4/sdb_plugin.m4

index 1cf916c..e734e0d 100644 (file)
@@ -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"