summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Bernat <bernat@luffy.cx>2012-05-22 22:15:20 +0200
committerVincent Bernat <bernat@luffy.cx>2012-06-25 19:03:23 +0200
commit6b1e37f8537fa2a4560de32e83ca5089763e2d39 (patch)
tree941dfbfbe62981ec214ac1e5a3f607368f4bf1d4 /configure.ac
parent9e7a548ce421660b0d22bfeb90c2b2b53742aac7 (diff)
build: only define HAVE_SNMP
NetSNMP is the only SNMP implementation for Quagga. We don't need two different symbols.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 80f65b98..c3c651f1 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1370,8 +1370,7 @@ if test "${enable_snmp}" = "yes"; then
LIBS="${LIBS} -lcrypto";
fi
AC_CHECK_LIB(netsnmp, asn_parse_int,
- [AC_DEFINE(HAVE_NETSNMP,,Net SNMP)
- AC_DEFINE(HAVE_SNMP,,SNMP)
+ [AC_DEFINE(HAVE_SNMP,,SNMP)
LIBS="${LIBS} -lnetsnmp"],
[AC_MSG_ERROR([--enable-snmp given, but cannot find support for SNMP])])