]> arthur.barton.de Git - netdata.git/commitdiff
build: fix typo
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sun, 15 Nov 2015 22:03:28 +0000 (00:03 +0200)
committerAlon Bar-Lev <alon.barlev@gmail.com>
Sun, 15 Nov 2015 23:09:37 +0000 (01:09 +0200)
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
configure.ac
netdata.spec.in

index 56279792a65e46d9e050c3802974c4c12e3c005e..ed32a935dab3d741f042fbe106d620fca8d42a54 100644 (file)
@@ -27,10 +27,10 @@ PKG_PROG_PKG_CONFIG
 AC_USE_SYSTEM_EXTENSIONS
 
 AC_ARG_ENABLE(
-       [plugin-plugin-nfacct],
-       [AS_HELP_STRING([--enable-plugin-plugin-nfacct], [enable nfacct plugin, requires root])],
+       [plugin-nfacct],
+       [AS_HELP_STRING([--enable-nfacct], [enable nfacct plugin, requires root])],
        ,
-       [enable_plugin_plugin_nfacct="no"]
+       [enable_plugin_nfacct="no"]
 )
 AC_ARG_ENABLE(
        [pedantic],
@@ -96,7 +96,7 @@ if test -z "${MATH_LIBS}"; then
 fi
 
 test "${enable_daemon}" = "yes" && AC_DEFINE([NETDATA_DAEMON], [1], [daemon settings])
-if test "${enable_plugin_plugin_nfacct}" = "yes"; then
+if test "${enable_plugin_nfacct}" = "yes"; then
        test -z "${NFACCT_LIBS}" && AC_MSG_ERROR([netfilter_acct required but not found])
        test -z "${LIBMNL_LIBS}" && AC_MSG_ERROR([libmnl required but not found])
        AC_DEFINE([INTERNAL_PLUGIN_NFACCT], [1], [nfacct plugin settings])
index 2aef64275f98e8f085f8358cae6f44ddf5abb90d..486dcf7313d4ca626ae0e08373dc4e9b0cbd7701 100644 (file)
@@ -32,7 +32,7 @@ getent passwd netdata > /dev/null || useradd -r -g netdata -c netdata -s /sbin/n
 %build
 %configure \
        --docdir="%{_docdir}/%{name}-%{version}" \
-       --enable-plugin-plugin-nfacct \
+       --enable-plugin-nfacct \
        --with-zlib \
        --with-math \
        --with-user=netdata \