summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-05-01 19:50:15 (GMT)
committerM. Sean Finney <seanius@users.sourceforge.net>2005-05-01 19:50:15 (GMT)
commit205dda8d6e2922661cd4c33c94cb42739b397920 (patch)
tree825106d56eca5d448a2e76ff264b5ed1ebb180db
parenteb53251aaa7ad525467a738615e73d563c9a1404 (diff)
downloadmonitoring-plugins-205dda8d6e2922661cd4c33c94cb42739b397920.tar.gz
provide a --with-perl option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1168 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 65c7b31..256fb29 100644
--- a/configure.in
+++ b/configure.in
@@ -101,8 +101,15 @@ AC_SUBST(REV_TIMESTAMP)
101 101
102dnl Checks for programs. 102dnl Checks for programs.
103AC_PATH_PROG(PYTHON,python) 103AC_PATH_PROG(PYTHON,python)
104AC_PATH_PROG(PERL,perl)
105AC_PATH_PROG(SH,sh) 104AC_PATH_PROG(SH,sh)
105AC_PATH_PROG(PERL,perl)
106
107dnl allow them to override the path of perl
108AC_ARG_WITH(perl,
109 ACX_HELP_STRING([--with-perl=PATH],
110 [sets path to perl executable]),
111 with_perl=$withval,with_perl=$PERL)
112AC_SUBST(PERL, $with_perl)
106 113
107AC_PATH_PROG(HOSTNAME,hostname) 114AC_PATH_PROG(HOSTNAME,hostname)
108AC_PATH_PROG(BASENAME,basename) 115AC_PATH_PROG(BASENAME,basename)
@@ -1515,6 +1522,7 @@ AC_OUTPUT(
1515 po/Makefile.in 1522 po/Makefile.in
1516) 1523)
1517 1524
1525ACX_FEATURE([with],[perl])
1518ACX_FEATURE([with],[cgiurl]) 1526ACX_FEATURE([with],[cgiurl])
1519ACX_FEATURE([with],[nagios-user]) 1527ACX_FEATURE([with],[nagios-user])
1520ACX_FEATURE([with],[nagios-group]) 1528ACX_FEATURE([with],[nagios-group])