summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-08-28 12:12:27 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-08-28 13:14:29 +0200
commitebc2415330df963358b1e49beab0279a70ff4c84 (patch)
treec7569e65267bf95d43c4d665476d061545684f37 /configure.ac
parent553a230a287b2b0294f0a0bbff7767493fe98657 (diff)
downloadmonitoring-plugins-ebc2415330df963358b1e49beab0279a70ff4c84.tar.gz
check_snmp: fix DES availability detection(?)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
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])
1483fi 1483fi
1484 1484
1485dnl Check whether DES encryption is available (might not on RHEL)
1486AC_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
1485AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) 1495AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat)
1486AC_PATH_PROG(PATH_TO_QSTAT,qstat) 1496AC_PATH_PROG(PATH_TO_QSTAT,qstat)
1487AC_ARG_WITH(qstat_command, 1497AC_ARG_WITH(qstat_command,