mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
provide a --with-perl option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1168 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
eb53251aaa
commit
205dda8d6e
1 changed files with 9 additions and 1 deletions
10
configure.in
10
configure.in
|
|
@ -101,8 +101,15 @@ AC_SUBST(REV_TIMESTAMP)
|
|||
|
||||
dnl Checks for programs.
|
||||
AC_PATH_PROG(PYTHON,python)
|
||||
AC_PATH_PROG(PERL,perl)
|
||||
AC_PATH_PROG(SH,sh)
|
||||
AC_PATH_PROG(PERL,perl)
|
||||
|
||||
dnl allow them to override the path of perl
|
||||
AC_ARG_WITH(perl,
|
||||
ACX_HELP_STRING([--with-perl=PATH],
|
||||
[sets path to perl executable]),
|
||||
with_perl=$withval,with_perl=$PERL)
|
||||
AC_SUBST(PERL, $with_perl)
|
||||
|
||||
AC_PATH_PROG(HOSTNAME,hostname)
|
||||
AC_PATH_PROG(BASENAME,basename)
|
||||
|
|
@ -1515,6 +1522,7 @@ AC_OUTPUT(
|
|||
po/Makefile.in
|
||||
)
|
||||
|
||||
ACX_FEATURE([with],[perl])
|
||||
ACX_FEATURE([with],[cgiurl])
|
||||
ACX_FEATURE([with],[nagios-user])
|
||||
ACX_FEATURE([with],[nagios-group])
|
||||
|
|
|
|||
Loading…
Reference in a new issue