diff options
-rw-r--r-- | configure.in | 21 | ||||
-rw-r--r-- | plugins-scripts/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/Makefile.am | 6 |
3 files changed, 5 insertions, 24 deletions
diff --git a/configure.in b/configure.in index d9bb619..4ff9be1 100644 --- a/configure.in +++ b/configure.in | |||
@@ -13,6 +13,10 @@ AC_SUBST(RELEASE) | |||
13 | AC_PREFIX_DEFAULT(/usr/local/nagios) | 13 | AC_PREFIX_DEFAULT(/usr/local/nagios) |
14 | 14 | ||
15 | dnl Deprecated configure options | 15 | dnl Deprecated configure options |
16 | AC_ARG_WITH(nagios_user,, | ||
17 | AC_MSG_ERROR([--with-nagios-user is a deprecated option])) | ||
18 | AC_ARG_WITH(nagios_group,, | ||
19 | AC_MSG_ERROR([--with-nagios-group is a deprecated option])) | ||
16 | 20 | ||
17 | dnl Figure out how to invoke "install" and what install options to use. | 21 | dnl Figure out how to invoke "install" and what install options to use. |
18 | AC_PROG_INSTALL | 22 | AC_PROG_INSTALL |
@@ -60,21 +64,6 @@ AC_ARG_WITH(cgiurl, | |||
60 | CGIURL="$with_cgiurl" | 64 | CGIURL="$with_cgiurl" |
61 | AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs]) | 65 | AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs]) |
62 | 66 | ||
63 | AC_ARG_WITH(nagios_user, | ||
64 | ACX_HELP_STRING([--with-nagios-user=USER], | ||
65 | [set user name to run nagios]), | ||
66 | with_nagios_user=$withval, | ||
67 | with_nagios_user=nagios) | ||
68 | AC_ARG_WITH(nagios_group, | ||
69 | ACX_HELP_STRING([--with-nagios-group=GROUP], | ||
70 | [set group name to run nagios]), | ||
71 | with_nagios_group=$withval, | ||
72 | with_nagios_group=nagios) | ||
73 | AC_SUBST(with_nagios_user) | ||
74 | AC_SUBST(with_nagios_group) | ||
75 | INSTALL_OPTS="-o $with_nagios_user -g $with_nagios_group" | ||
76 | AC_SUBST(INSTALL_OPTS) | ||
77 | |||
78 | AC_ARG_WITH(trusted_path, | 67 | AC_ARG_WITH(trusted_path, |
79 | ACX_HELP_STRING([--with-trusted-path=PATH], | 68 | ACX_HELP_STRING([--with-trusted-path=PATH], |
80 | [sets trusted path for executables called by scripts (default=/bin:/sbin:/usr/bin:/usr/sbin)]), | 69 | [sets trusted path for executables called by scripts (default=/bin:/sbin:/usr/bin:/usr/sbin)]), |
@@ -1748,8 +1737,6 @@ ACX_FEATURE([with],[gnutls]) | |||
1748 | ACX_FEATURE([enable],[emulate-getaddrinfo]) | 1737 | ACX_FEATURE([enable],[emulate-getaddrinfo]) |
1749 | ACX_FEATURE([with],[perl]) | 1738 | ACX_FEATURE([with],[perl]) |
1750 | ACX_FEATURE([with],[cgiurl]) | 1739 | ACX_FEATURE([with],[cgiurl]) |
1751 | ACX_FEATURE([with],[nagios-user]) | ||
1752 | ACX_FEATURE([with],[nagios-group]) | ||
1753 | ACX_FEATURE([with],[trusted-path]) | 1740 | ACX_FEATURE([with],[trusted-path]) |
1754 | 1741 | ||
1755 | 1742 | ||
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am index 9de45d5..39291c8 100644 --- a/plugins-scripts/Makefile.am +++ b/plugins-scripts/Makefile.am | |||
@@ -23,8 +23,6 @@ test: | |||
23 | 23 | ||
24 | CLEANFILES=$(libexec_SCRIPTS) | 24 | CLEANFILES=$(libexec_SCRIPTS) |
25 | 25 | ||
26 | AM_INSTALL_PROGRAM_FLAGS=@INSTALL_OPTS@ | ||
27 | |||
28 | .pl : | 26 | .pl : |
29 | $(AWK) -f ./subst $< > $@ | 27 | $(AWK) -f ./subst $< > $@ |
30 | chmod +x $@ | 28 | chmod +x $@ |
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index b84d0d7..12801fa 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
@@ -16,7 +16,7 @@ MATHLIBS = @MATHLIBS@ | |||
16 | libexec_PROGRAMS = check_apt check_disk check_dummy check_http check_load \ | 16 | libexec_PROGRAMS = check_apt check_disk check_dummy check_http check_load \ |
17 | check_mrtg check_mrtgtraf check_ntp check_nwstat check_overcr check_ping \ | 17 | check_mrtg check_mrtgtraf check_ntp check_nwstat check_overcr check_ping \ |
18 | check_real check_smtp check_ssh check_tcp check_time \ | 18 | check_real check_smtp check_ssh check_tcp check_time \ |
19 | check_udp check_ups check_users negate \ | 19 | check_ups check_users negate \ |
20 | urlize @EXTRAS@ | 20 | urlize @EXTRAS@ |
21 | 21 | ||
22 | check_tcp_programs = check_ftp check_imap check_nntp check_pop \ | 22 | check_tcp_programs = check_ftp check_imap check_nntp check_pop \ |
@@ -45,8 +45,6 @@ TESTS = @PLUGIN_TEST@ | |||
45 | test: | 45 | test: |
46 | perl -I $(top_builddir) -I $(top_srcdir) ../test.pl | 46 | perl -I $(top_builddir) -I $(top_srcdir) ../test.pl |
47 | 47 | ||
48 | AM_INSTALL_PROGRAM_FLAGS = @INSTALL_OPTS@ | ||
49 | |||
50 | ############################################################################## | 48 | ############################################################################## |
51 | # the actual targets | 49 | # the actual targets |
52 | 50 | ||
@@ -85,7 +83,6 @@ check_ssh_LDADD = $(NETLIBS) | |||
85 | check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) popen.o | 83 | check_swap_LDADD = $(MATHLIBS) $(BASEOBJS) popen.o |
86 | check_tcp_LDADD = $(SSLOBJS) $(NETLIBS) | 84 | check_tcp_LDADD = $(SSLOBJS) $(NETLIBS) |
87 | check_time_LDADD = $(NETLIBS) | 85 | check_time_LDADD = $(NETLIBS) |
88 | check_udp_LDADD = $(SSLOBJS) $(NETLIBS) | ||
89 | check_ups_LDADD = $(NETLIBS) | 86 | check_ups_LDADD = $(NETLIBS) |
90 | check_users_LDADD = $(BASEOBJS) popen.o | 87 | check_users_LDADD = $(BASEOBJS) popen.o |
91 | check_by_ssh_LDADD = $(NETLIBS) runcmd.o | 88 | check_by_ssh_LDADD = $(NETLIBS) runcmd.o |
@@ -125,7 +122,6 @@ check_ssh_DEPENDENCIES = check_ssh.c $(NETOBJS) $(DEPLIBS) | |||
125 | check_swap_DEPENDENCIES = check_swap.c $(BASEOBJS) popen.o $(DEPLIBS) | 122 | check_swap_DEPENDENCIES = check_swap.c $(BASEOBJS) popen.o $(DEPLIBS) |
126 | check_tcp_DEPENDENCIES = check_tcp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) | 123 | check_tcp_DEPENDENCIES = check_tcp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) |
127 | check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS) | 124 | check_time_DEPENDENCIES = check_time.c $(NETOBJS) $(DEPLIBS) |
128 | check_udp_DEPENDENCIES = check_udp.c $(SSLOBJS) $(NETOBJS) $(DEPLIBS) | ||
129 | check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS) | 125 | check_ups_DEPENDENCIES = check_ups.c $(NETOBJS) $(DEPLIBS) |
130 | check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS) | 126 | check_users_DEPENDENCIES = check_users.c $(BASEOBJS) popen.o $(DEPLIBS) |
131 | check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) runcmd.o $(DEPLIBS) | 127 | check_by_ssh_DEPENDENCIES = check_by_ssh.c $(NETOBJS) runcmd.o $(DEPLIBS) |