summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac42
1 files changed, 21 insertions, 21 deletions
diff --git a/configure.ac b/configure.ac
index 8d339be..d73ac54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -238,7 +238,7 @@ if test "$ac_cv_lib_crypt_main" = "yes" -a "x$PGSQL" != "xno"; then
238 else 238 else
239 AC_SUBST(PGLIBS) 239 AC_SUBST(PGLIBS)
240 AC_SUBST(PGINCLUDE) 240 AC_SUBST(PGINCLUDE)
241 EXTRAS="$EXTRAS check_pgsql" 241 EXTRAS="$EXTRAS check_pgsql\$(EXEEXT)"
242 fi 242 fi
243 else 243 else
244 AC_MSG_WARN([Skipping PostgreSQL plugin (check_pgsql)]) 244 AC_MSG_WARN([Skipping PostgreSQL plugin (check_pgsql)])
@@ -258,7 +258,7 @@ AS_IF([test "x$with_dbi" != "xno"], [
258 _SAVEDLIBS="$LIBS" 258 _SAVEDLIBS="$LIBS"
259 AC_CHECK_LIB(dbi,dbi_initialize) 259 AC_CHECK_LIB(dbi,dbi_initialize)
260 if test "$ac_cv_lib_dbi_dbi_initialize" = "yes"; then 260 if test "$ac_cv_lib_dbi_dbi_initialize" = "yes"; then
261 EXTRAS="$EXTRAS check_dbi" 261 EXTRAS="$EXTRAS check_dbi\$(EXEEXT)"
262 DBILIBS="-ldbi" 262 DBILIBS="-ldbi"
263 AC_SUBST(DBILIBS) 263 AC_SUBST(DBILIBS)
264 else 264 else
@@ -275,13 +275,13 @@ AS_IF([test "x$with_radius" != "xno"], [
275 _SAVEDLIBS="$LIBS" 275 _SAVEDLIBS="$LIBS"
276 AC_CHECK_LIB(radiusclient,rc_read_config) 276 AC_CHECK_LIB(radiusclient,rc_read_config)
277 if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then 277 if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then
278 EXTRAS="$EXTRAS check_radius" 278 EXTRAS="$EXTRAS check_radius\$(EXEEXT)"
279 RADIUSLIBS="-lradiusclient" 279 RADIUSLIBS="-lradiusclient"
280 AC_SUBST(RADIUSLIBS) 280 AC_SUBST(RADIUSLIBS)
281 else 281 else
282 AC_CHECK_LIB(radiusclient-ng,rc_read_config) 282 AC_CHECK_LIB(radiusclient-ng,rc_read_config)
283 if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then 283 if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then
284 EXTRAS="$EXTRAS check_radius" 284 EXTRAS="$EXTRAS check_radius\$(EXEEXT)"
285 RADIUSLIBS="-lradiusclient-ng" 285 RADIUSLIBS="-lradiusclient-ng"
286 AC_SUBST(RADIUSLIBS) 286 AC_SUBST(RADIUSLIBS)
287 else 287 else
@@ -304,7 +304,7 @@ AS_IF([test "x$with_ldap" != "xno"], [
304 AC_SUBST(LDAPLIBS) 304 AC_SUBST(LDAPLIBS)
305 AC_SUBST(LDAPINCLUDE) 305 AC_SUBST(LDAPINCLUDE)
306 AC_CHECK_FUNCS(ldap_set_option) 306 AC_CHECK_FUNCS(ldap_set_option)
307 EXTRAS="$EXTRAS check_ldap" 307 EXTRAS="$EXTRAS check_ldap\$(EXEEXT)"
308 AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s) 308 AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s)
309 else 309 else
310 AC_MSG_WARN([Skipping LDAP plugin]) 310 AC_MSG_WARN([Skipping LDAP plugin])
@@ -341,7 +341,7 @@ case $host in
341esac 341esac
342 342
343if test "$FOUNDINCLUDE" = "yes" ; then 343if test "$FOUNDINCLUDE" = "yes" ; then
344 EXTRAS="$EXTRAS check_ide_smart" 344 EXTRAS="$EXTRAS check_ide_smart\$(EXEEXT)"
345fi 345fi
346 346
347dnl Check for mysql libraries 347dnl Check for mysql libraries
@@ -350,7 +350,7 @@ if test $with_mysql = "no" ; then
350 AC_MSG_WARN([Skipping mysql plugin]) 350 AC_MSG_WARN([Skipping mysql plugin])
351 AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).]) 351 AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).])
352else 352else
353 EXTRAS="$EXTRAS check_mysql check_mysql_query" 353 EXTRAS="$EXTRAS check_mysql\$(EXEEXT) check_mysql_query\$(EXEEXT)"
354 MYSQLINCLUDE="$np_mysql_include" 354 MYSQLINCLUDE="$np_mysql_include"
355 MYSQLLIBS="$np_mysql_libs" 355 MYSQLLIBS="$np_mysql_libs"
356 MYSQLCFLAGS="$np_mysql_cflags" 356 MYSQLCFLAGS="$np_mysql_cflags"
@@ -652,7 +652,7 @@ elif test "$ac_cv_uname_s" = "SunOS"; then
652 else 652 else
653 AC_MSG_NOTICE([using 32bit pst3]) 653 AC_MSG_NOTICE([using 32bit pst3])
654 fi 654 fi
655 EXTRAS_ROOT="$EXTRAS_ROOT pst3" 655 EXTRAS_ROOT="$EXTRAS_ROOT pst3\$(EXEEXT)"
656 656
657 if test "$pst3_use_64bit" = 1; then 657 if test "$pst3_use_64bit" = 1; then
658 dnl Test if we can actually compile code in 64bit 658 dnl Test if we can actually compile code in 64bit
@@ -977,7 +977,7 @@ if test -n "$ac_cv_ps_varlist" ; then
977 [Format string for scanning ps output in check_procs]) 977 [Format string for scanning ps output in check_procs])
978 AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, 978 AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols,
979 [Number of columns in ps command]) 979 [Number of columns in ps command])
980 EXTRAS="$EXTRAS check_procs check_nagios" 980 EXTRAS="$EXTRAS check_procs check_nagios\$(EXEEXT)"
981 if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then 981 if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then
982 AC_DEFINE(PS_USES_PROCETIME,"yes", 982 AC_DEFINE(PS_USES_PROCETIME,"yes",
983 [Whether the ps utility uses the "procetime" field]) 983 [Whether the ps utility uses the "procetime" field])
@@ -1299,7 +1299,7 @@ else
1299fi 1299fi
1300 1300
1301if test -n "$ac_cv_nslookup_command"; then 1301if test -n "$ac_cv_nslookup_command"; then
1302 EXTRAS="$EXTRAS check_dns" 1302 EXTRAS="$EXTRAS check_dns\$(EXEEXT)"
1303 AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) 1303 AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup])
1304fi 1304fi
1305 1305
@@ -1359,7 +1359,7 @@ AC_ARG_WITH(snmpget_command,
1359if test -n "$PATH_TO_SNMPGET" 1359if test -n "$PATH_TO_SNMPGET"
1360then 1360then
1361 AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary]) 1361 AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary])
1362 EXTRAS="$EXTRAS check_hpjd check_snmp" 1362 EXTRAS="$EXTRAS check_hpjd check_snmp\$(EXEEXT)"
1363else 1363else
1364 AC_MSG_WARN([Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins]) 1364 AC_MSG_WARN([Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins])
1365fi 1365fi
@@ -1391,12 +1391,12 @@ AC_ARG_WITH(qstat_command,
1391if test -x "$PATH_TO_QUAKESTAT" 1391if test -x "$PATH_TO_QUAKESTAT"
1392then 1392then
1393 ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT" 1393 ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT"
1394 EXTRAS="$EXTRAS check_game" 1394 EXTRAS="$EXTRAS check_game\$(EXEEXT)"
1395 1395
1396elif test -n "$PATH_TO_QSTAT" 1396elif test -n "$PATH_TO_QSTAT"
1397then 1397then
1398 ac_cv_path_to_qstat="$PATH_TO_QSTAT" 1398 ac_cv_path_to_qstat="$PATH_TO_QSTAT"
1399 EXTRAS="$EXTRAS check_game" 1399 EXTRAS="$EXTRAS check_game\$(EXEEXT)"
1400else 1400else
1401 AC_MSG_WARN([Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin]) 1401 AC_MSG_WARN([Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin])
1402fi 1402fi
@@ -1420,7 +1420,7 @@ AC_ARG_WITH(fping6_command,
1420if test -n "$PATH_TO_FPING" 1420if test -n "$PATH_TO_FPING"
1421then 1421then
1422 AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) 1422 AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping])
1423 EXTRAS="$EXTRAS check_fping" 1423 EXTRAS="$EXTRAS check_fping\$(EXEEXT)"
1424 if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then 1424 if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then
1425 AC_DEFINE_UNQUOTED(PATH_TO_FPING6,"$PATH_TO_FPING6",[path to fping6]) 1425 AC_DEFINE_UNQUOTED(PATH_TO_FPING6,"$PATH_TO_FPING6",[path to fping6])
1426 fi 1426 fi
@@ -1435,7 +1435,7 @@ AC_ARG_WITH(ssh_command,
1435if test -n "$PATH_TO_SSH" 1435if test -n "$PATH_TO_SSH"
1436then 1436then
1437 AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary]) 1437 AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary])
1438 EXTRAS="$EXTRAS check_by_ssh" 1438 EXTRAS="$EXTRAS check_by_ssh\$(EXEEXT)"
1439else 1439else
1440 AC_MSG_WARN([Get ssh in order to make check_by_ssh plugin]) 1440 AC_MSG_WARN([Get ssh in order to make check_by_ssh plugin])
1441fi 1441fi
@@ -1571,7 +1571,7 @@ AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[
1571 1571
1572if test "$ac_cv_have_decl_swapctl" = "yes"; 1572if test "$ac_cv_have_decl_swapctl" = "yes";
1573then 1573then
1574 EXTRAS="$EXTRAS check_swap" 1574 EXTRAS="$EXTRAS check_swap\$(EXEEXT)"
1575 AC_MSG_CHECKING([for 2-arg (SVR4) swapctl]) 1575 AC_MSG_CHECKING([for 2-arg (SVR4) swapctl])
1576 if test "$ac_cv_type_swaptbl_t" = "yes" -a \ 1576 if test "$ac_cv_type_swaptbl_t" = "yes" -a \
1577 "$ac_cv_type_swapent_t" = "yes"; 1577 "$ac_cv_type_swapent_t" = "yes";
@@ -1627,7 +1627,7 @@ dnl
1627if test "x$ac_cv_have_swap" != "x" 1627if test "x$ac_cv_have_swap" != "x"
1628then 1628then
1629 AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) 1629 AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found])
1630 EXTRAS="$EXTRAS check_swap" 1630 EXTRAS="$EXTRAS check_swap\$(EXEEXT)"
1631fi 1631fi
1632if test "x$ac_cv_swap_command" != "x" 1632if test "x$ac_cv_swap_command" != "x"
1633then 1633then
@@ -1659,7 +1659,7 @@ fi
1659if test -n "$ac_cv_proc_meminfo"; then 1659if test -n "$ac_cv_proc_meminfo"; then
1660 AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo]) 1660 AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo])
1661 AC_DEFINE_UNQUOTED(PROC_MEMINFO,"$ac_cv_proc_meminfo",[path to /proc/meminfo if name changes]) 1661 AC_DEFINE_UNQUOTED(PROC_MEMINFO,"$ac_cv_proc_meminfo",[path to /proc/meminfo if name changes])
1662 EXTRAS="$EXTRAS check_swap" 1662 EXTRAS="$EXTRAS check_swap\$(EXEEXT)"
1663fi 1663fi
1664 1664
1665AC_PATH_PROG(PATH_TO_DIG,dig) 1665AC_PATH_PROG(PATH_TO_DIG,dig)
@@ -1667,7 +1667,7 @@ AC_ARG_WITH(dig_command,
1667 ACX_HELP_STRING([--with-dig-command=PATH], 1667 ACX_HELP_STRING([--with-dig-command=PATH],
1668 [Path to dig command]), PATH_TO_DIG=$withval) 1668 [Path to dig command]), PATH_TO_DIG=$withval)
1669if test -n "$PATH_TO_DIG"; then 1669if test -n "$PATH_TO_DIG"; then
1670 EXTRAS="$EXTRAS check_dig" 1670 EXTRAS="$EXTRAS check_dig\$(EXEEXT)"
1671 AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present]) 1671 AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present])
1672fi 1672fi
1673 1673
@@ -1679,12 +1679,12 @@ AC_ARG_WITH(apt-get_command,
1679 with_apt_get_command=$PATH_TO_APTGET) 1679 with_apt_get_command=$PATH_TO_APTGET)
1680AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) 1680AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present])
1681if test -n "$PATH_TO_APTGET" ; then 1681if test -n "$PATH_TO_APTGET" ; then
1682 EXTRAS="$EXTRAS check_apt" 1682 EXTRAS="$EXTRAS check_apt\$(EXEEXT)"
1683fi 1683fi
1684 1684
1685 1685
1686if test -f $srcdir/plugins/check_nt.c ; then 1686if test -f $srcdir/plugins/check_nt.c ; then
1687 EXTRAS="$EXTRAS check_nt" 1687 EXTRAS="$EXTRAS check_nt\$(EXEEXT)"
1688fi 1688fi
1689 1689
1690 1690