diff options
-rw-r--r-- | configure.in | 201 |
1 files changed, 159 insertions, 42 deletions
diff --git a/configure.in b/configure.in index a3dbd725..27711c76 100644 --- a/configure.in +++ b/configure.in | |||
@@ -117,11 +117,11 @@ AC_SUBST(PERL, $with_perl) | |||
117 | dnl openssl/gnutls | 117 | dnl openssl/gnutls |
118 | AC_ARG_WITH(openssl, | 118 | AC_ARG_WITH(openssl, |
119 | AC_HELP_STRING([--with-openssl=DIR], | 119 | AC_HELP_STRING([--with-openssl=DIR], |
120 | [sets path to openssl installation]) AC_HELP_STRING([--without-openssl], [disable openssl]),) | 120 | [path to openssl installation]),) |
121 | 121 | ||
122 | AC_ARG_WITH(gnutls, | 122 | AC_ARG_WITH(gnutls, |
123 | ACX_HELP_STRING([--with-gnutls=PATH], | 123 | ACX_HELP_STRING([--with-gnutls=PATH], |
124 | [path to gnutls installation root]) AC_HELP_STRING([--without-gnutls], [disable gnutls]),) | 124 | [path to gnutls installation root]),) |
125 | 125 | ||
126 | dnl you can only have one or the other | 126 | dnl you can only have one or the other |
127 | if test ! "$with_openssl" = "" && test ! "$with_openssl" = "no"; then | 127 | if test ! "$with_openssl" = "" && test ! "$with_openssl" = "no"; then |
@@ -620,8 +620,21 @@ AC_TRY_COMPILE([#include <stdlib.h> | |||
620 | AC_DEFINE_UNQUOTED(SOCKET_SIZE_TYPE, $ac_cv_socket_size_type , | 620 | AC_DEFINE_UNQUOTED(SOCKET_SIZE_TYPE, $ac_cv_socket_size_type , |
621 | [Define type of socket size]) | 621 | [Define type of socket size]) |
622 | 622 | ||
623 | if test -f "/proc/loadavg" | 623 | AC_ARG_WITH(proc-loadavg, |
624 | then | 624 | ACX_HELP_STRING([--with-proc-loadavg=PATH], |
625 | [path to /proc/loadavg or equivalent]), | ||
626 | ac_cv_proc_loadavg=$withval) | ||
627 | AC_MSG_CHECKING([for /proc/loadavg]) | ||
628 | if test -n "$ac_cv_proc_loadavg"; then | ||
629 | AC_MSG_RESULT([(command line) $ac_cv_proc_loadavg]) | ||
630 | elif test -f "/proc/loadavg"; then | ||
631 | AC_MSG_RESULT([found /proc/loadavg]) | ||
632 | ac_cv_proc_meminfo="/proc/loadavg" | ||
633 | else | ||
634 | AC_MSG_RESULT([no]) | ||
635 | fi | ||
636 | |||
637 | if test -n "$ac_cv_proc_loadavg"; then | ||
625 | AC_DEFINE(HAVE_PROC_LOADAVG,1,[Define if /proc/loadavg or similar exists]) | 638 | AC_DEFINE(HAVE_PROC_LOADAVG,1,[Define if /proc/loadavg or similar exists]) |
626 | AC_DEFINE_UNQUOTED(PROC_LOADAVG,"/proc/loadavg",[Location of /proc/loadavg]) | 639 | AC_DEFINE_UNQUOTED(PROC_LOADAVG,"/proc/loadavg",[Location of /proc/loadavg]) |
627 | fi | 640 | fi |
@@ -631,10 +644,34 @@ dnl #### Process table test | |||
631 | AC_PATH_PROG(PATH_TO_PS,ps) | 644 | AC_PATH_PROG(PATH_TO_PS,ps) |
632 | 645 | ||
633 | AC_MSG_CHECKING(for ps syntax) | 646 | AC_MSG_CHECKING(for ps syntax) |
647 | AC_ARG_WITH(ps_command, | ||
648 | ACX_HELP_STRING([--with-ps-command=PATH], | ||
649 | [Verbatim command to execute for ps]), | ||
650 | PS_COMMAND=$withval) | ||
651 | AC_ARG_WITH(ps_format, | ||
652 | ACX_HELP_STRING([--with-ps-format=FORMAT], | ||
653 | [Format string for scanning ps output]), | ||
654 | PS_FORMAT=$withval) | ||
655 | AC_ARG_WITH(ps_cols, | ||
656 | ACX_HELP_STRING([--with-ps-cols=NUM], | ||
657 | [Number of columns in ps command]), | ||
658 | PS_COLS=$withval) | ||
659 | AC_ARG_WITH(ps_varlist, | ||
660 | ACX_HELP_STRING([--with-ps-varlist=LIST], | ||
661 | [Variable list for sscanf of 'ps' output]), | ||
662 | PS_VARLIST=$withval) | ||
634 | 663 | ||
635 | dnl Now using the pst3/kmem hack for solaris systems to avoid truncation | ||
636 | AM_CONDITIONAL(WANT_PST3, false) | 664 | AM_CONDITIONAL(WANT_PST3, false) |
637 | if test "$ac_cv_uname_s" = "SunOS"; then | 665 | |
666 | if test -n "$PS_COMMAND" && test -n "$PS_FORMAT" && test -n "$PS_COLS" && test -n "$PS_VARLIST"; then | ||
667 | ac_cv_ps_command="$PS_COMMAND" | ||
668 | ac_cv_ps_format="$PS_FORMAT" | ||
669 | ac_cv_ps_varlist="$PS_VARLIST" | ||
670 | ac_cv_ps_cols="$PS_COLS" | ||
671 | AC_MSG_RESULT([(command-line) $ac_cv_ps_command]) | ||
672 | |||
673 | dnl Now using the pst3/kmem hack for solaris systems to avoid truncation | ||
674 | elif test "$ac_cv_uname_s" = "SunOS"; then | ||
638 | # | 675 | # |
639 | # this is a very, very ugly hack, to hardcode the location for plugins | 676 | # this is a very, very ugly hack, to hardcode the location for plugins |
640 | # | 677 | # |
@@ -933,6 +970,7 @@ then | |||
933 | if test -n "$ac_cv_ping_packets_first" | 970 | if test -n "$ac_cv_ping_packets_first" |
934 | then | 971 | then |
935 | ac_cv_ping_packets_first=yes | 972 | ac_cv_ping_packets_first=yes |
973 | ac_cv_ping_has_timeout=yes | ||
936 | fi | 974 | fi |
937 | 975 | ||
938 | elif [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ | 976 | elif [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ |
@@ -1187,29 +1225,37 @@ if test "x$ac_cv_ping6_packets_first" != "xno"; then | |||
1187 | fi | 1225 | fi |
1188 | fi | 1226 | fi |
1189 | 1227 | ||
1190 | AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup) | ||
1191 | 1228 | ||
1192 | AC_MSG_CHECKING(for nslookup syntax) | 1229 | AC_MSG_CHECKING(for nslookup syntax) |
1193 | if test -n "$PATH_TO_NSLOOKUP" | 1230 | AC_ARG_WITH(nslookup_command, |
1194 | then | 1231 | ACX_HELP_STRING([--with-nslookup-command=PATH], |
1195 | if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep ["Invalid option: sil"] >/dev/null | 1232 | [sets path to nslookup executable]), |
1233 | ac_cv_nslookup_command=$withval) | ||
1234 | if test -n "$ac_cv_nslookup_command"; then | ||
1235 | AC_MSG_RESULT([(command line) $ac_cv_nslookup_command]) | ||
1236 | else | ||
1237 | AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup) | ||
1238 | if test -n "$PATH_TO_NSLOOKUP" | ||
1196 | then | 1239 | then |
1197 | ac_cv_nslookup_command="$PATH_TO_NSLOOKUP" | 1240 | if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep ["Invalid option: sil"] >/dev/null |
1198 | AC_MSG_RESULT([$ac_cv_nslookup_command]) | 1241 | then |
1242 | ac_cv_nslookup_command="$PATH_TO_NSLOOKUP" | ||
1243 | AC_MSG_RESULT([$ac_cv_nslookup_command]) | ||
1199 | 1244 | ||
1200 | else | 1245 | else |
1201 | ac_cv_nslookup_command="$PATH_TO_NSLOOKUP -sil" | 1246 | ac_cv_nslookup_command="$PATH_TO_NSLOOKUP -sil" |
1202 | AC_MSG_RESULT([$ac_cv_nslookup_command]) | 1247 | AC_MSG_RESULT([$ac_cv_nslookup_command]) |
1203 | 1248 | ||
1249 | fi | ||
1250 | else | ||
1251 | AC_MSG_WARN([nslookup command not found]) | ||
1204 | fi | 1252 | fi |
1205 | EXTRAS="$EXTRAS check_dns" | ||
1206 | |||
1207 | else | ||
1208 | AC_MSG_WARN([nslookup command not found]) | ||
1209 | fi | 1253 | fi |
1210 | 1254 | ||
1211 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", | 1255 | if test -n "$ac_cv_nslookup_command"; then |
1212 | [path and args for nslookup]) | 1256 | EXTRAS="$EXTRAS check_dns" |
1257 | AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) | ||
1258 | fi | ||
1213 | 1259 | ||
1214 | AC_PATH_PROG(PATH_TO_HOST,host) | 1260 | AC_PATH_PROG(PATH_TO_HOST,host) |
1215 | if test -n "$ac_cv_path_PATH_TO_HOST" | 1261 | if test -n "$ac_cv_path_PATH_TO_HOST" |
@@ -1218,15 +1264,24 @@ then | |||
1218 | fi | 1264 | fi |
1219 | 1265 | ||
1220 | AC_PATH_PROG(PATH_TO_UPTIME,uptime) | 1266 | AC_PATH_PROG(PATH_TO_UPTIME,uptime) |
1267 | AC_ARG_WITH(uptime_command, | ||
1268 | ACX_HELP_STRING([--with-uptime-command=PATH], | ||
1269 | [sets path to uptime]), PATH_TO_UPTIME=$withval) | ||
1221 | AC_DEFINE_UNQUOTED(PATH_TO_UPTIME,"$PATH_TO_UPTIME",[path to uptime binary]) | 1270 | AC_DEFINE_UNQUOTED(PATH_TO_UPTIME,"$PATH_TO_UPTIME",[path to uptime binary]) |
1222 | 1271 | ||
1223 | AC_PATH_PROG(PATH_TO_RPCINFO,rpcinfo) | 1272 | AC_PATH_PROG(PATH_TO_RPCINFO,rpcinfo) |
1273 | AC_ARG_WITH(rpcinfo_command, | ||
1274 | ACX_HELP_STRING([--with-rpcinfo-command=PATH], | ||
1275 | [sets path to rpcinfo]), PATH_TO_RPCINFO=$withval) | ||
1224 | AC_DEFINE_UNQUOTED(PATH_TO_RPCINFO,"$PATH_TO_RPCINFO",[path to rpcinfo binary]) | 1276 | AC_DEFINE_UNQUOTED(PATH_TO_RPCINFO,"$PATH_TO_RPCINFO",[path to rpcinfo binary]) |
1225 | 1277 | ||
1226 | AC_PATH_PROG(PATH_TO_NTPDATE,ntpdate) | 1278 | AC_PATH_PROG(PATH_TO_NTPDATE,ntpdate) |
1279 | AC_ARG_WITH(ntpdate_command, | ||
1280 | ACX_HELP_STRING([--with-ntpdate-command=PATH], | ||
1281 | [sets path to ntpdate]), PATH_TO_NTPDATE=$withval) | ||
1227 | AC_PATH_PROGS(PATH_TO_NTPDC,ntpdc xntpdc) | 1282 | AC_PATH_PROGS(PATH_TO_NTPDC,ntpdc xntpdc) |
1228 | AC_PATH_PROGS(PATH_TO_NTPQ,ntpq) | 1283 | AC_PATH_PROGS(PATH_TO_NTPQ,ntpq) |
1229 | if (test -x "$PATH_TO_NTPDATE" || test -x "$PATH_TO_NTPQ") | 1284 | if (test -n "$PATH_TO_NTPDATE" || test -n "$PATH_TO_NTPQ") |
1230 | then | 1285 | then |
1231 | AC_DEFINE_UNQUOTED(PATH_TO_NTPQ,"$PATH_TO_NTPQ",[path to ntpq binary]) | 1286 | AC_DEFINE_UNQUOTED(PATH_TO_NTPQ,"$PATH_TO_NTPQ",[path to ntpq binary]) |
1232 | AC_DEFINE_UNQUOTED(PATH_TO_NTPDATE,"$PATH_TO_NTPDATE",[path to ntpdate binary]) | 1287 | AC_DEFINE_UNQUOTED(PATH_TO_NTPDATE,"$PATH_TO_NTPDATE",[path to ntpdate binary]) |
@@ -1243,7 +1298,11 @@ else | |||
1243 | fi | 1298 | fi |
1244 | 1299 | ||
1245 | AC_PATH_PROG(PATH_TO_SMBCLIENT,smbclient) | 1300 | AC_PATH_PROG(PATH_TO_SMBCLIENT,smbclient) |
1246 | if test -x "$PATH_TO_SMBCLIENT" | 1301 | AC_ARG_WITH(smbclient_command, |
1302 | ACX_HELP_STRING([--with-smbclient-command=PATH], | ||
1303 | [sets path to smbclient]), | ||
1304 | PATH_TO_SMBCLIENT=$withval) | ||
1305 | if test -n "$PATH_TO_SMBCLIENT" | ||
1247 | then | 1306 | then |
1248 | AC_DEFINE_UNQUOTED(PATH_TO_SMBCLIENT,"$PATH_TO_SMBCLIENT",[path to smbclient binary]) | 1307 | AC_DEFINE_UNQUOTED(PATH_TO_SMBCLIENT,"$PATH_TO_SMBCLIENT",[path to smbclient binary]) |
1249 | else | 1308 | else |
@@ -1264,7 +1323,11 @@ AC_DEFINE_UNQUOTED(WHO_COMMAND,"$ac_cv_path_to_who", | |||
1264 | [path and arguments for invoking 'who']) | 1323 | [path and arguments for invoking 'who']) |
1265 | 1324 | ||
1266 | AC_PATH_PROG(PATH_TO_SNMPGET,snmpget) | 1325 | AC_PATH_PROG(PATH_TO_SNMPGET,snmpget) |
1267 | if test -x "$PATH_TO_SNMPGET" | 1326 | AC_ARG_WITH(snmpget_command, |
1327 | ACX_HELP_STRING([--with-snmpget-command=PATH], | ||
1328 | [Path to snmpget command]), | ||
1329 | PATH_TO_SNMPGET=$withval) | ||
1330 | if test -n "$PATH_TO_SNMPGET" | ||
1268 | then | 1331 | then |
1269 | AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary]) | 1332 | AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary]) |
1270 | EXTRAS="$EXTRAS check_hpjd check_snmp" | 1333 | EXTRAS="$EXTRAS check_hpjd check_snmp" |
@@ -1273,7 +1336,11 @@ else | |||
1273 | fi | 1336 | fi |
1274 | 1337 | ||
1275 | AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext) | 1338 | AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext) |
1276 | if test -x "$PATH_TO_SNMPGETNEXT" | 1339 | AC_ARG_WITH(snmpgetnext_command, |
1340 | ACX_HELP_STRING([--with-snmpgetnext-command=PATH], | ||
1341 | [Path to snmpgetnext command]), | ||
1342 | PATH_TO_SNMPGETNEXT=$withval) | ||
1343 | if test -n "$PATH_TO_SNMPGETNEXT" | ||
1277 | then | 1344 | then |
1278 | AC_DEFINE_UNQUOTED(PATH_TO_SNMPGETNEXT,"$PATH_TO_SNMPGETNEXT",[path to snmpgetnext binary]) | 1345 | AC_DEFINE_UNQUOTED(PATH_TO_SNMPGETNEXT,"$PATH_TO_SNMPGETNEXT",[path to snmpgetnext binary]) |
1279 | fi | 1346 | fi |
@@ -1288,13 +1355,16 @@ fi | |||
1288 | 1355 | ||
1289 | AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) | 1356 | AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat) |
1290 | AC_PATH_PROG(PATH_TO_QSTAT,qstat) | 1357 | AC_PATH_PROG(PATH_TO_QSTAT,qstat) |
1358 | AC_ARG_WITH(qstat_command, | ||
1359 | ACX_HELP_STRING([--with-qstat-command=PATH], | ||
1360 | [Path to qstat command]), PATH_TO_QSTAT=$withval) | ||
1291 | 1361 | ||
1292 | if test -x "$PATH_TO_QUAKESTAT" | 1362 | if test -x "$PATH_TO_QUAKESTAT" |
1293 | then | 1363 | then |
1294 | ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT" | 1364 | ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT" |
1295 | EXTRAS="$EXTRAS check_game" | 1365 | EXTRAS="$EXTRAS check_game" |
1296 | 1366 | ||
1297 | elif test -x "$PATH_TO_QSTAT" | 1367 | elif test -n "$PATH_TO_QSTAT" |
1298 | then | 1368 | then |
1299 | ac_cv_path_to_qstat="$PATH_TO_QSTAT" | 1369 | ac_cv_path_to_qstat="$PATH_TO_QSTAT" |
1300 | EXTRAS="$EXTRAS check_game" | 1370 | EXTRAS="$EXTRAS check_game" |
@@ -1309,7 +1379,10 @@ then | |||
1309 | fi | 1379 | fi |
1310 | 1380 | ||
1311 | AC_PATH_PROG(PATH_TO_FPING,fping) | 1381 | AC_PATH_PROG(PATH_TO_FPING,fping) |
1312 | if test -x "$PATH_TO_FPING" | 1382 | AC_ARG_WITH(fping_command, |
1383 | ACX_HELP_STRING([--with-fping-command=PATH], | ||
1384 | [Path to fping command]), PATH_TO_FPING=$withval) | ||
1385 | if test -n "$PATH_TO_FPING" | ||
1313 | then | 1386 | then |
1314 | AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) | 1387 | AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) |
1315 | EXTRAS="$EXTRAS check_fping" | 1388 | EXTRAS="$EXTRAS check_fping" |
@@ -1318,8 +1391,10 @@ else | |||
1318 | fi | 1391 | fi |
1319 | 1392 | ||
1320 | AC_PATH_PROG(PATH_TO_SSH,ssh) | 1393 | AC_PATH_PROG(PATH_TO_SSH,ssh) |
1321 | 1394 | AC_ARG_WITH(ssh_command, | |
1322 | if test -x "$PATH_TO_SSH" | 1395 | ACX_HELP_STRING([--with-ssh-command=PATH], |
1396 | [sets path for ssh]), PATH_TO_SSH=$withval) | ||
1397 | if test -n "$PATH_TO_SSH" | ||
1323 | then | 1398 | then |
1324 | AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary]) | 1399 | AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary]) |
1325 | EXTRAS="$EXTRAS check_by_ssh" | 1400 | EXTRAS="$EXTRAS check_by_ssh" |
@@ -1329,7 +1404,10 @@ fi | |||
1329 | 1404 | ||
1330 | 1405 | ||
1331 | AC_PATH_PROG(PATH_TO_MAILQ,mailq) | 1406 | AC_PATH_PROG(PATH_TO_MAILQ,mailq) |
1332 | if test -x "$PATH_TO_MAILQ" | 1407 | AC_ARG_WITH(mailq_command, |
1408 | ACX_HELP_STRING([--with-mailq-command=PATH], | ||
1409 | [sets path to mailq]), PATH_TO_MAILQ=$withval) | ||
1410 | if test -n "$PATH_TO_MAILQ" | ||
1333 | then | 1411 | then |
1334 | AC_DEFINE_UNQUOTED(PATH_TO_MAILQ,"$PATH_TO_MAILQ",[path to mailq]) | 1412 | AC_DEFINE_UNQUOTED(PATH_TO_MAILQ,"$PATH_TO_MAILQ",[path to mailq]) |
1335 | else | 1413 | else |
@@ -1523,24 +1601,36 @@ then | |||
1523 | [Conversion factor to MB]) | 1601 | [Conversion factor to MB]) |
1524 | fi | 1602 | fi |
1525 | 1603 | ||
1604 | AC_ARG_WITH(proc-meminfo, | ||
1605 | ACX_HELP_STRING([--with-proc-meminfo=PATH], | ||
1606 | [path to /proc/meminfo or equivalent]), | ||
1607 | ac_cv_proc_meminfo=$withval) | ||
1526 | dnl dunno why this does not work below - use hack (kbd) | 1608 | dnl dunno why this does not work below - use hack (kbd) |
1527 | dnl fine on linux, broken on solaris | 1609 | dnl fine on linux, broken on solaris |
1528 | dnl if /bin/test -e "/proc/meminfo" | 1610 | dnl if /bin/test -e "/proc/meminfo" |
1529 | AC_MSG_CHECKING([for /proc/meminfo]) | 1611 | AC_MSG_CHECKING([for /proc/meminfo]) |
1530 | if [cat /proc/meminfo > /dev/null 2>&1] | 1612 | if test -n "$ac_cv_proc_meminfo"; then |
1531 | then | 1613 | AC_MSG_RESULT([(command line) $ac_cv_proc_meminfo]) |
1614 | elif [cat /proc/meminfo > /dev/null 2>&1]; then | ||
1532 | AC_MSG_RESULT([found /proc/meminfo]) | 1615 | AC_MSG_RESULT([found /proc/meminfo]) |
1533 | AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo]) | 1616 | ac_cv_proc_meminfo="/proc/meminfo" |
1534 | AC_DEFINE_UNQUOTED(PROC_MEMINFO,"/proc/meminfo",[path to /proc/meminfo if name changes]) | ||
1535 | EXTRAS="$EXTRAS check_swap" | ||
1536 | else | 1617 | else |
1537 | AC_MSG_RESULT([no]) | 1618 | AC_MSG_RESULT([no]) |
1538 | fi | 1619 | fi |
1539 | 1620 | ||
1621 | if test -n "$ac_cv_proc_meminfo"; then | ||
1622 | AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo]) | ||
1623 | AC_DEFINE_UNQUOTED(PROC_MEMINFO,"$ac_cv_proc_meminfo",[path to /proc/meminfo if name changes]) | ||
1624 | EXTRAS="$EXTRAS check_swap" | ||
1625 | fi | ||
1626 | |||
1540 | AC_PATH_PROG(PATH_TO_DIG,dig) | 1627 | AC_PATH_PROG(PATH_TO_DIG,dig) |
1541 | AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present]) | 1628 | AC_ARG_WITH(dig_command, |
1629 | ACX_HELP_STRING([--with-dig-command=PATH], | ||
1630 | [Path to dig command]), PATH_TO_DIG=$withval) | ||
1542 | if test -n "$PATH_TO_DIG"; then | 1631 | if test -n "$PATH_TO_DIG"; then |
1543 | EXTRAS="$EXTRAS check_dig" | 1632 | EXTRAS="$EXTRAS check_dig" |
1633 | AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present]) | ||
1544 | fi | 1634 | fi |
1545 | 1635 | ||
1546 | if test -f plugins/check_nt.c ; then | 1636 | if test -f plugins/check_nt.c ; then |
@@ -1624,15 +1714,42 @@ AC_OUTPUT( | |||
1624 | po/Makefile.in | 1714 | po/Makefile.in |
1625 | ) | 1715 | ) |
1626 | 1716 | ||
1627 | ACX_FEATURE([with],[perl]) | 1717 | |
1628 | ACX_FEATURE([with],[cgiurl]) | 1718 | dnl the ones below that are commented out need to be cleaned up |
1629 | ACX_FEATURE([with],[nagios-user]) | 1719 | dnl in the configure code above to use with_foo instead of ac_cv_foo |
1630 | ACX_FEATURE([with],[nagios-group]) | 1720 | dnl if we want them to show up here. it'd also make the code cleaner. |
1631 | ACX_FEATURE([with],[trusted-path]) | 1721 | dnl i'll get to that on another rainy day :) -sf |
1632 | ACX_FEATURE([with],[ping-command]) | 1722 | dnl ACX_FEATURE([with],[dig-command]) |
1723 | dnl ACX_FEATURE([with],[fping-command]) | ||
1724 | dnl ACX_FEATURE([with],[mailq-command]) | ||
1725 | dnl ACX_FEATURE([with],[nslookup-command]) | ||
1726 | dnl ACX_FEATURE([with],[ntpdate-command]) | ||
1633 | ACX_FEATURE([with],[ping6-command]) | 1727 | ACX_FEATURE([with],[ping6-command]) |
1728 | ACX_FEATURE([with],[ping-command]) | ||
1729 | dnl ACX_FEATURE([with],[qstat-command]) | ||
1730 | dnl ACX_FEATURE([with],[rpcinfo-command]) | ||
1731 | dnl ACX_FEATURE([with],[smbclient-command]) | ||
1732 | dnl ACX_FEATURE([with],[snmpget-command]) | ||
1733 | dnl ACX_FEATURE([with],[snmpgetnext-command]) | ||
1734 | dnl ACX_FEATURE([with],[ssh-command]) | ||
1735 | dnl ACX_FEATURE([with],[uptime-command]) | ||
1736 | |||
1737 | dnl ACX_FEATURE([with],[proc-loadavg]) | ||
1738 | dnl ACX_FEATURE([with],[proc-meminfo]) | ||
1739 | dnl ACX_FEATURE([with],[ps-command]) | ||
1740 | dnl ACX_FEATURE([with],[ps-format]) | ||
1741 | dnl ACX_FEATURE([with],[ps-cols]) | ||
1742 | dnl ACX_FEATURE([with],[ps-varlist]) | ||
1743 | |||
1634 | ACX_FEATURE([with],[lwres]) | 1744 | ACX_FEATURE([with],[lwres]) |
1635 | ACX_FEATURE([with],[ipv6]) | 1745 | ACX_FEATURE([with],[ipv6]) |
1636 | ACX_FEATURE([with],[openssl]) | 1746 | ACX_FEATURE([with],[openssl]) |
1637 | ACX_FEATURE([with],[gnutls]) | 1747 | ACX_FEATURE([with],[gnutls]) |
1638 | ACX_FEATURE([enable],[emulate-getaddrinfo]) | 1748 | ACX_FEATURE([enable],[emulate-getaddrinfo]) |
1749 | ACX_FEATURE([with],[perl]) | ||
1750 | ACX_FEATURE([with],[cgiurl]) | ||
1751 | ACX_FEATURE([with],[nagios-user]) | ||
1752 | ACX_FEATURE([with],[nagios-group]) | ||
1753 | ACX_FEATURE([with],[trusted-path]) | ||
1754 | |||
1755 | |||