m4/plugin.m4: Minor cleanup

Use pure M4 syntax, not mixed with -P syntax.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-04-13 07:17:02 +02:00
parent 1398536194
commit 376d7a0fbb
+3 -3
View File
@@ -1,8 +1,8 @@
# From https://github.com/collectd/collectd/blob/master/configure.ac
# Dependency handling currently unused
m4_define([toupper], [translit([$1], [a-z], [A-Z])])
m4_define([sanitize], [translit([$1], [-], [_])])
define([toupper], [translit([$1], [a-z], [A-Z])])
define([sanitize], [translit([$1], [-], [_])])
# AC_PLUGIN(name, default, info)
# ------------------------------------------------------------
@@ -31,4 +31,4 @@ Optional Plugins:])
AC_DEFINE([HAVE_]PLUGGY[_PLUGIN], 1, [Define to 1 if the $1 plugin is enabled.])
fi
AM_CONDITIONAL([BUILD_]PLUGGY[_PLUGIN], test "x$enable_plugin" = "xyes")
enable_pluggy="$enable_plugin"])# AC_ARG_ENABLE
enable_pluggy="$enable_plugin"])