diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/configure.ac b/configure.ac index 8d339beb..d73ac545 100644 --- a/configure.ac +++ b/configure.ac @@ -238,7 +238,7 @@ if test "$ac_cv_lib_crypt_main" = "yes" -a "x$PGSQL" != "xno"; then else AC_SUBST(PGLIBS) AC_SUBST(PGINCLUDE) - EXTRAS="$EXTRAS check_pgsql" + EXTRAS="$EXTRAS check_pgsql\$(EXEEXT)" fi else AC_MSG_WARN([Skipping PostgreSQL plugin (check_pgsql)]) @@ -258,7 +258,7 @@ AS_IF([test "x$with_dbi" != "xno"], [ _SAVEDLIBS="$LIBS" AC_CHECK_LIB(dbi,dbi_initialize) if test "$ac_cv_lib_dbi_dbi_initialize" = "yes"; then - EXTRAS="$EXTRAS check_dbi" + EXTRAS="$EXTRAS check_dbi\$(EXEEXT)" DBILIBS="-ldbi" AC_SUBST(DBILIBS) else @@ -275,13 +275,13 @@ AS_IF([test "x$with_radius" != "xno"], [ _SAVEDLIBS="$LIBS" AC_CHECK_LIB(radiusclient,rc_read_config) if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then - EXTRAS="$EXTRAS check_radius" + EXTRAS="$EXTRAS check_radius\$(EXEEXT)" RADIUSLIBS="-lradiusclient" AC_SUBST(RADIUSLIBS) else AC_CHECK_LIB(radiusclient-ng,rc_read_config) if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then - EXTRAS="$EXTRAS check_radius" + EXTRAS="$EXTRAS check_radius\$(EXEEXT)" RADIUSLIBS="-lradiusclient-ng" AC_SUBST(RADIUSLIBS) else @@ -304,7 +304,7 @@ AS_IF([test "x$with_ldap" != "xno"], [ AC_SUBST(LDAPLIBS) AC_SUBST(LDAPINCLUDE) AC_CHECK_FUNCS(ldap_set_option) - EXTRAS="$EXTRAS check_ldap" + EXTRAS="$EXTRAS check_ldap\$(EXEEXT)" AC_CHECK_FUNCS(ldap_init ldap_set_option ldap_get_option ldap_start_tls_s) else AC_MSG_WARN([Skipping LDAP plugin]) @@ -341,7 +341,7 @@ case $host in esac if test "$FOUNDINCLUDE" = "yes" ; then - EXTRAS="$EXTRAS check_ide_smart" + EXTRAS="$EXTRAS check_ide_smart\$(EXEEXT)" fi dnl Check for mysql libraries @@ -350,7 +350,7 @@ if test $with_mysql = "no" ; then AC_MSG_WARN([Skipping mysql plugin]) AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).]) else - EXTRAS="$EXTRAS check_mysql check_mysql_query" + EXTRAS="$EXTRAS check_mysql\$(EXEEXT) check_mysql_query\$(EXEEXT)" MYSQLINCLUDE="$np_mysql_include" MYSQLLIBS="$np_mysql_libs" MYSQLCFLAGS="$np_mysql_cflags" @@ -652,7 +652,7 @@ elif test "$ac_cv_uname_s" = "SunOS"; then else AC_MSG_NOTICE([using 32bit pst3]) fi - EXTRAS_ROOT="$EXTRAS_ROOT pst3" + EXTRAS_ROOT="$EXTRAS_ROOT pst3\$(EXEEXT)" if test "$pst3_use_64bit" = 1; then dnl Test if we can actually compile code in 64bit @@ -977,7 +977,7 @@ if test -n "$ac_cv_ps_varlist" ; then [Format string for scanning ps output in check_procs]) AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, [Number of columns in ps command]) - EXTRAS="$EXTRAS check_procs check_nagios" + EXTRAS="$EXTRAS check_procs check_nagios\$(EXEEXT)" if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then AC_DEFINE(PS_USES_PROCETIME,"yes", [Whether the ps utility uses the "procetime" field]) @@ -1299,7 +1299,7 @@ else fi if test -n "$ac_cv_nslookup_command"; then - EXTRAS="$EXTRAS check_dns" + EXTRAS="$EXTRAS check_dns\$(EXEEXT)" AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) fi @@ -1359,7 +1359,7 @@ AC_ARG_WITH(snmpget_command, if test -n "$PATH_TO_SNMPGET" then AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET",[path to snmpget binary]) - EXTRAS="$EXTRAS check_hpjd check_snmp" + EXTRAS="$EXTRAS check_hpjd check_snmp\$(EXEEXT)" else AC_MSG_WARN([Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins]) fi @@ -1391,12 +1391,12 @@ AC_ARG_WITH(qstat_command, if test -x "$PATH_TO_QUAKESTAT" then ac_cv_path_to_qstat="$PATH_TO_QUAKESTAT" - EXTRAS="$EXTRAS check_game" + EXTRAS="$EXTRAS check_game\$(EXEEXT)" elif test -n "$PATH_TO_QSTAT" then ac_cv_path_to_qstat="$PATH_TO_QSTAT" - EXTRAS="$EXTRAS check_game" + EXTRAS="$EXTRAS check_game\$(EXEEXT)" else AC_MSG_WARN([Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin]) fi @@ -1420,7 +1420,7 @@ AC_ARG_WITH(fping6_command, if test -n "$PATH_TO_FPING" then AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING",[path to fping]) - EXTRAS="$EXTRAS check_fping" + EXTRAS="$EXTRAS check_fping\$(EXEEXT)" if test x"$with_ipv6" != xno && test -n "$PATH_TO_FPING6"; then AC_DEFINE_UNQUOTED(PATH_TO_FPING6,"$PATH_TO_FPING6",[path to fping6]) fi @@ -1435,7 +1435,7 @@ AC_ARG_WITH(ssh_command, if test -n "$PATH_TO_SSH" then AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH",[path to ssh binary]) - EXTRAS="$EXTRAS check_by_ssh" + EXTRAS="$EXTRAS check_by_ssh\$(EXEEXT)" else AC_MSG_WARN([Get ssh in order to make check_by_ssh plugin]) fi @@ -1571,7 +1571,7 @@ AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[ if test "$ac_cv_have_decl_swapctl" = "yes"; then - EXTRAS="$EXTRAS check_swap" + EXTRAS="$EXTRAS check_swap\$(EXEEXT)" AC_MSG_CHECKING([for 2-arg (SVR4) swapctl]) if test "$ac_cv_type_swaptbl_t" = "yes" -a \ "$ac_cv_type_swapent_t" = "yes"; @@ -1627,7 +1627,7 @@ dnl if test "x$ac_cv_have_swap" != "x" then AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) - EXTRAS="$EXTRAS check_swap" + EXTRAS="$EXTRAS check_swap\$(EXEEXT)" fi if test "x$ac_cv_swap_command" != "x" then @@ -1659,7 +1659,7 @@ fi if test -n "$ac_cv_proc_meminfo"; then AC_DEFINE(HAVE_PROC_MEMINFO,1,[Define if we have /proc/meminfo]) AC_DEFINE_UNQUOTED(PROC_MEMINFO,"$ac_cv_proc_meminfo",[path to /proc/meminfo if name changes]) - EXTRAS="$EXTRAS check_swap" + EXTRAS="$EXTRAS check_swap\$(EXEEXT)" fi AC_PATH_PROG(PATH_TO_DIG,dig) @@ -1667,7 +1667,7 @@ AC_ARG_WITH(dig_command, ACX_HELP_STRING([--with-dig-command=PATH], [Path to dig command]), PATH_TO_DIG=$withval) if test -n "$PATH_TO_DIG"; then - EXTRAS="$EXTRAS check_dig" + EXTRAS="$EXTRAS check_dig\$(EXEEXT)" AC_DEFINE_UNQUOTED(PATH_TO_DIG,"$PATH_TO_DIG",[Path to dig command, if present]) fi @@ -1679,12 +1679,12 @@ AC_ARG_WITH(apt-get_command, with_apt_get_command=$PATH_TO_APTGET) AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) if test -n "$PATH_TO_APTGET" ; then - EXTRAS="$EXTRAS check_apt" + EXTRAS="$EXTRAS check_apt\$(EXEEXT)" fi if test -f $srcdir/plugins/check_nt.c ; then - EXTRAS="$EXTRAS check_nt" + EXTRAS="$EXTRAS check_nt\$(EXEEXT)" fi |