diff options
-rw-r--r-- | configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 65c7b31e..256fb29d 100644 --- a/configure.in +++ b/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]) |