From 4cbe78babb6a5fe26b3f92cab002fabb87345c4c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 16 Feb 2012 17:06:45 +0900 Subject: [PATCH] Correct the calculation of the static plugin names. Static plugins not working due to incorrect registered names wasn't nice :P --- m4/quakeforge.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/quakeforge.m4 b/m4/quakeforge.m4 index 3f917cf03..00a8c2316 100644 --- a/m4/quakeforge.m4 +++ b/m4/quakeforge.m4 @@ -137,7 +137,7 @@ AC_DEFUN([QF_STATIC_PLUGIN_LIST], [$1_plugin_list="{0, 0}" m4_foreach_w([qfn_need], [$3], [if test x"${$2[_need_]qfn_need}" = xyes; then - $1_plugin_list="{\"qfn_need\", $2_[]qfn_need[]_PluginInfo},${$1_plugin_list}" + $1_plugin_list="{\"$2_[]qfn_need\", $2_[]qfn_need[]_PluginInfo},${$1_plugin_list}" fi ]) AC_DEFINE_UNQUOTED(m4_toupper([$1_plugin_list]), [${$1_plugin_list}], [list of $1 plugins])])