Code

Build system: Fixed a bug in the detection of the snmp library.
authorRonan Cadet <ronan.cadet@atosorigin.com>
Fri, 26 Oct 2007 08:28:37 +0000 (10:28 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 26 Oct 2007 08:28:37 +0000 (10:28 +0200)
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)

configure.in

index eb96d4e1b11787a116dec2c3ca3177b8f00dd782..5555c8a0a966b70aa33586f0daf9f8b05bd7c87b 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