diff options
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 3 |
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])]) |