diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e4351ad7..41b39c7b 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
| 2 | AC_PREREQ([2.64]) | 2 | AC_PREREQ([2.64]) |
| 3 | AC_INIT([monitoring-plugins],[2.4git]) | 3 | AC_INIT([monitoring-plugins],[3.0.0git]) |
| 4 | AC_CONFIG_SRCDIR(NPTest.pm) | 4 | AC_CONFIG_SRCDIR(NPTest.pm) |
| 5 | AC_CONFIG_FILES([gl/Makefile]) | 5 | AC_CONFIG_FILES([gl/Makefile]) |
| 6 | AC_CONFIG_AUX_DIR(build-aux) | 6 | AC_CONFIG_AUX_DIR(build-aux) |
| @@ -1445,6 +1445,19 @@ else | |||
| 1445 | AC_MSG_WARN([Get smbclient from Samba.org to monitor SMB shares]) | 1445 | AC_MSG_WARN([Get smbclient from Samba.org to monitor SMB shares]) |
| 1446 | fi | 1446 | fi |
| 1447 | 1447 | ||
| 1448 | AC_PATH_PROG(PATH_TO_NETSNMPCONFIG,net-snmp-config) | ||
| 1449 | AC_ARG_WITH(netsnmpconfig_command, | ||
| 1450 | ACX_HELP_STRING([--with-net-snmp-config-command=PATH], | ||
| 1451 | [sets path to net-snmp-config]), | ||
| 1452 | PATH_TO_NETSNMPCONFIG=$withval) | ||
| 1453 | if test -n "$PATH_TO_NETSNMPCONFIG" | ||
| 1454 | then | ||
| 1455 | AC_DEFINE_UNQUOTED(PATH_TO_NETSNMPCONFIG,"$PATH_TO_NETSNMPCONFIG",[path to net-snmp-config binary]) | ||
| 1456 | EXTRAS="$EXTRAS check_snmp" | ||
| 1457 | else | ||
| 1458 | AC_MSG_WARN([Install net-snmp-config to build check_snmp]) | ||
| 1459 | fi | ||
| 1460 | |||
| 1448 | AC_PATH_PROG(PATH_TO_SNMPGET,snmpget) | 1461 | AC_PATH_PROG(PATH_TO_SNMPGET,snmpget) |
| 1449 | AC_ARG_WITH(snmpget_command, | 1462 | AC_ARG_WITH(snmpget_command, |
| 1450 | ACX_HELP_STRING([--with-snmpget-command=PATH], | 1463 | ACX_HELP_STRING([--with-snmpget-command=PATH], |
