File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / m4 / macros / add-plugin.m4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:49 2020 UTC (4 years, 1 month ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>