summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eb53251)
raw | patch | inline | side by side (parent: eb53251)
author | M. Sean Finney <seanius@users.sourceforge.net> | |
Sun, 1 May 2005 19:50:15 +0000 (19:50 +0000) | ||
committer | M. Sean Finney <seanius@users.sourceforge.net> | |
Sun, 1 May 2005 19:50:15 +0000 (19:50 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1168 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 65c7b31e75d3d6fb0b91994c7ef0920f02d6ac98..256fb29d23abc8a1fd5fa4e4178dac1c7944d80c 100644 (file)
--- a/configure.in
+++ b/configure.in
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)
po/Makefile.in
)
+ACX_FEATURE([with],[perl])
ACX_FEATURE([with],[cgiurl])
ACX_FEATURE([with],[nagios-user])
ACX_FEATURE([with],[nagios-group])