From: Ronan Cadet Date: Fri, 26 Oct 2007 08:28:37 +0000 (+0200) Subject: Build system: Fixed a bug in the detection of the snmp library. X-Git-Tag: collectd-4.2.0~1^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ae03d74928b26bd421ce1c81aa71889edf15ba6a;p=collectd.git Build system: Fixed a bug in the detection of the snmp library. Hello, During the creation of a rpm on Mandriva 2007.1 from tar.bz2 sources, and by activate almost all options, I found something that seems a bug to me in the configure file, line 33251 (concerning the snmp plugin) --- diff --git a/configure.in b/configure.in index eb96d4e1..5555c8a0 100644 --- a/configure.in +++ b/configure.in @@ -1266,7 +1266,7 @@ AC_ARG_WITH(libnetsnmp, [AS_HELP_STRING([--with-libnetsnmp@<:@=PREFIX@:>@], [Pat if test "x$withval" = "xno" then with_libnetsnmp="no" - else if "x$withval" = "xyes" + else if test "x$withval" = "xyes" then with_libnetsnmp="yes" else