diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-31 22:34:26 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-21 14:55:22 +0200 |
commit | 53b997359fe5c18b64e587f0324ee0258ef5a719 (patch) | |
tree | c13c45830a18c503b06701087ac4b17afd57e67c /configure.ac | |
parent | lib: move hashstats under debug, show per-daemon (diff) | |
download | frr-53b997359fe5c18b64e587f0324ee0258ef5a719.tar.xz frr-53b997359fe5c18b64e587f0324ee0258ef5a719.zip |
build: fix --disable-snmp
--disable-foo results in "no" as value in $enable_foo
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '')
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 710a71f63..bf66e00f9 100755 --- a/configure.ac +++ b/configure.ac @@ -1366,7 +1366,7 @@ fi dnl ------------------ dnl check Net-SNMP library dnl ------------------ -if test "${enable_snmp}" != ""; then +if test "${enable_snmp}" != "" -a "${enable_snmp}" != "no"; then AC_PATH_TOOL([NETSNMP_CONFIG], [net-snmp-config], [no]) if test x"$NETSNMP_CONFIG" = x"no"; then AC_MSG_ERROR([--enable-snmp given but unable to find net-snmp-config]) |