diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-07-28 23:59:29 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-07-28 23:59:29 +0000 |
commit | ab9b1169c268d9abefd556a85a0fe90bc513f496 (patch) | |
tree | 875c275f87703b48fc34a7e307a07508dcfaf83a /configure.in | |
parent | 03d772cc0d0023748e0b13a7bbaa301b86032eb4 (diff) | |
download | monitoring-plugins-ab9b1169c268d9abefd556a85a0fe90bc513f496.tar.gz |
Cleanup references to old check_udp and INSTALL_OPTS. Error if
--with-nagios-user or --with-nagios-group specified for configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/configure.in b/configure.in index d9bb6195..4ff9be1e 100644 --- a/configure.in +++ b/configure.in @@ -13,6 +13,10 @@ AC_SUBST(RELEASE) AC_PREFIX_DEFAULT(/usr/local/nagios) dnl Deprecated configure options +AC_ARG_WITH(nagios_user,, + AC_MSG_ERROR([--with-nagios-user is a deprecated option])) +AC_ARG_WITH(nagios_group,, + AC_MSG_ERROR([--with-nagios-group is a deprecated option])) dnl Figure out how to invoke "install" and what install options to use. AC_PROG_INSTALL @@ -60,21 +64,6 @@ AC_ARG_WITH(cgiurl, CGIURL="$with_cgiurl" AC_DEFINE_UNQUOTED(CGIURL,"$CGIURL",[URL of CGI programs]) -AC_ARG_WITH(nagios_user, - ACX_HELP_STRING([--with-nagios-user=USER], - [set user name to run nagios]), - with_nagios_user=$withval, - with_nagios_user=nagios) -AC_ARG_WITH(nagios_group, - ACX_HELP_STRING([--with-nagios-group=GROUP], - [set group name to run nagios]), - with_nagios_group=$withval, - with_nagios_group=nagios) -AC_SUBST(with_nagios_user) -AC_SUBST(with_nagios_group) -INSTALL_OPTS="-o $with_nagios_user -g $with_nagios_group" -AC_SUBST(INSTALL_OPTS) - AC_ARG_WITH(trusted_path, ACX_HELP_STRING([--with-trusted-path=PATH], [sets trusted path for executables called by scripts (default=/bin:/sbin:/usr/bin:/usr/sbin)]), @@ -1748,8 +1737,6 @@ ACX_FEATURE([with],[gnutls]) ACX_FEATURE([enable],[emulate-getaddrinfo]) ACX_FEATURE([with],[perl]) ACX_FEATURE([with],[cgiurl]) -ACX_FEATURE([with],[nagios-user]) -ACX_FEATURE([with],[nagios-group]) ACX_FEATURE([with],[trusted-path]) |