Build system: Fixed a bug in the detection of the snmp library.
[collectd.git] / configure.in
index eb96d4e..5555c8a 100644 (file)
@@ -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