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) | |||
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]) |