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 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