blob: 4986a5449ccbfe61bd3056a6c30b0f26be5653d5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# ADD_PLUGIN(plugin, category list)
# -----------------------------------
# Append the plugin name $1 to the category list variable $2_plugin
AC_DEFUN([ADD_PLUGIN],
if test [patsubst(x$$1, [-], [_])] = xtrue; then
[m4_foreach_w([category], [$2],
[m4_format([%s_plugins=${%s_plugins}" $1"], category, category)]
)]
fi
)
|