From 4f266e1a8c78cec2c425b17784576db56125bbbd Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 29 Sep 2015 16:22:49 -0700 Subject: configure: Add automated build option This commit introduces a configure time option to let the build know that this is going to be an automated build. This forces the build to disable the progress bar, log tool warnings, and force the log level to debug. Signed-off-by: Bryan Hundven --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index adde2abb..5670a03c 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,16 @@ AC_ARG_ENABLE( [--enable-local], [do not install, and use current directory])]) AC_SUBST([enable_local], [${enable_local:-no}]) +AC_ARG_ENABLE( + [automated], + [AS_HELP_STRING( + [--enable-automated], + [Tell ct-ng that this is an automated build])], + [if test "x$automated" = "x" -o "x$automated" = "xyes"; then + automated=y + fi]) +AC_SUBST([enable_automated], [${enable_automated:-no}]) +ACX_SET_KCONFIG_OPTION([automated]) AC_ARG_ENABLE( [shared], [AS_HELP_STRING( -- cgit v1.2.3