diff options
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d34e004c..ece1e7c5 100755 --- a/configure.ac +++ b/configure.ac @@ -950,6 +950,10 @@ dnl AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes) fi fi +if test "${enable_snmp}" = "yes" -a "${HAVE_SNMP}" != "yes"; then + AC_MSG_ERROR([--enable-snmp given, but cannot find support for SNMP]) +fi + dnl ---------------------------- dnl check sa_len of sockaddr dnl ---------------------------- |