build: fix typo
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Alon Bar-Lev committed
Nov 16, 2015 at 00:03 UTC
213fda34b5c2971c370efdc236054a34ab2f0ab4
2 files changed
+5
-5
configure.ac
+4
-4
@@ -27,10 +27,10 @@ PKG_PROG_PKG_CONFIG
27
AC_USE_SYSTEM_EXTENSIONS
28
29
AC_ARG_ENABLE(
30
- [plugin-plugin-nfacct],
31
- [AS_HELP_STRING([--enable-plugin-plugin-nfacct], [enable nfacct plugin, requires root])],
30
+ [plugin-nfacct],
31
+ [AS_HELP_STRING([--enable-nfacct], [enable nfacct plugin, requires root])],
32
,
33
- [enable_plugin_plugin_nfacct="no"]
33
+ [enable_plugin_nfacct="no"]
34
)
35
AC_ARG_ENABLE(
36
[pedantic],
@@ -96,7 +96,7 @@ if test -z "${MATH_LIBS}"; then
96
fi
97
98
test "${enable_daemon}" = "yes" && AC_DEFINE([NETDATA_DAEMON], [1], [daemon settings])
99
-if test "${enable_plugin_plugin_nfacct}" = "yes"; then
99
+if test "${enable_plugin_nfacct}" = "yes"; then
100
test -z "${NFACCT_LIBS}" && AC_MSG_ERROR([netfilter_acct required but not found])
101
test -z "${LIBMNL_LIBS}" && AC_MSG_ERROR([libmnl required but not found])
102
AC_DEFINE([INTERNAL_PLUGIN_NFACCT], [1], [nfacct plugin settings])
netdata.spec.in
+1
-1
@@ -32,7 +32,7 @@ getent passwd netdata > /dev/null || useradd -r -g netdata -c netdata -s /sbin/n
32
%build
33
%configure \
34
--docdir="%{_docdir}/%{name}-%{version}" \
35
- --enable-plugin-plugin-nfacct \
35
+ --enable-plugin-nfacct \
36
--with-zlib \
37
--with-math \
38
--with-user=netdata \