diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-05-01 19:50:15 (GMT) |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-05-01 19:50:15 (GMT) |
commit | 205dda8d6e2922661cd4c33c94cb42739b397920 (patch) | |
tree | 825106d56eca5d448a2e76ff264b5ed1ebb180db | |
parent | eb53251aaa7ad525467a738615e73d563c9a1404 (diff) | |
download | monitoring-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.in | 10 |
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 | ||
102 | dnl Checks for programs. | 102 | dnl Checks for programs. |
103 | AC_PATH_PROG(PYTHON,python) | 103 | AC_PATH_PROG(PYTHON,python) |
104 | AC_PATH_PROG(PERL,perl) | ||
105 | AC_PATH_PROG(SH,sh) | 104 | AC_PATH_PROG(SH,sh) |
105 | AC_PATH_PROG(PERL,perl) | ||
106 | |||
107 | dnl allow them to override the path of perl | ||
108 | AC_ARG_WITH(perl, | ||
109 | ACX_HELP_STRING([--with-perl=PATH], | ||
110 | [sets path to perl executable]), | ||
111 | with_perl=$withval,with_perl=$PERL) | ||
112 | AC_SUBST(PERL, $with_perl) | ||
106 | 113 | ||
107 | AC_PATH_PROG(HOSTNAME,hostname) | 114 | AC_PATH_PROG(HOSTNAME,hostname) |
108 | AC_PATH_PROG(BASENAME,basename) | 115 | AC_PATH_PROG(BASENAME,basename) |
@@ -1515,6 +1522,7 @@ AC_OUTPUT( | |||
1515 | po/Makefile.in | 1522 | po/Makefile.in |
1516 | ) | 1523 | ) |
1517 | 1524 | ||
1525 | ACX_FEATURE([with],[perl]) | ||
1518 | ACX_FEATURE([with],[cgiurl]) | 1526 | ACX_FEATURE([with],[cgiurl]) |
1519 | ACX_FEATURE([with],[nagios-user]) | 1527 | ACX_FEATURE([with],[nagios-user]) |
1520 | ACX_FEATURE([with],[nagios-group]) | 1528 | ACX_FEATURE([with],[nagios-group]) |