summaryrefslogtreecommitdiff
blob: fe6751aa55ee6dc8f3cc82577d8c20a801912f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.old	2008-03-10 22:04:41.000000000 +0100
+++ configure.in	2012-01-04 09:46:38.000000000 +0100
@@ -362,7 +362,11 @@
 AC_SUBST(NAGIOS_INSTALL_OPTS)
 
 
-AC_ARG_ENABLE(command-args,--enable-command-args allows clients to specify command arguments.  *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!,AC_DEFINE_UNQUOTED(ENABLE_COMMAND_ARGUMENTS))
+AC_ARG_ENABLE(command-args,--enable-command-args allows clients to specify command arguments.  *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!,[
+	if test x$enableval = xyes; then
+		AC_DEFINE_UNQUOTED(ENABLE_COMMAND_ARGUMENTS)
+	fi
+	])
 
 
 AC_PATH_PROG(PERL,perl)