diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-28 12:12:27 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-28 13:14:29 +0200 |
commit | ebc2415330df963358b1e49beab0279a70ff4c84 (patch) | |
tree | c7569e65267bf95d43c4d665476d061545684f37 /configure.ac | |
parent | 553a230a287b2b0294f0a0bbff7767493fe98657 (diff) | |
download | monitoring-plugins-ebc2415330df963358b1e49beab0279a70ff4c84.tar.gz |
check_snmp: fix DES availability detection(?)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5f00b478..705183a2 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1482,6 +1482,16 @@ else | |||
1482 | AC_MSG_WARN([Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins]) | 1482 | AC_MSG_WARN([Tried $PERL - install Net::SNMP perl module if you want to use the perl snmp plugins]) |
1483 | fi | 1483 | fi |
1484 | 1484 | ||
1485 | dnl Check whether DES encryption is available (might not on RHEL) | ||
1486 | AC_COMPILE_IFELSE( | ||
1487 | [AC_LANG_PROGRAM( | ||
1488 | [[#include <net-snmp/net-snmp-config.h> | ||
1489 | #include <net-snmp/net-snmp-includes.h>]], [[oid *foo = usmDESPrivProtocol;]] | ||
1490 | )], | ||
1491 | [AC_DEFINE(HAVE_USM_DES_PRIV_PROTOCOL,1,Define whether we have DES Privacy Protocol)], | ||
1492 | [] | ||
1493 | ) | ||
1494 | |||
1485 | AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) | 1495 | AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) |
1486 | AC_PATH_PROG(PATH_TO_QSTAT,qstat) | 1496 | AC_PATH_PROG(PATH_TO_QSTAT,qstat) |
1487 | AC_ARG_WITH(qstat_command, | 1497 | AC_ARG_WITH(qstat_command, |