summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
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
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])