[Spice-devel] [PATCH spice-server v4 1/3] build-sys: Add option to enable additional checks

Frediano Ziglio fziglio at redhat.com
Thu Mar 23 12:17:46 UTC 2017


This to enable extra test.
This option is used also in different projects.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

Changes since v3:
- changed help description

diff --git a/configure.ac b/configure.ac
index 9fd455b..6ec2652 100644
--- a/configure.ac
+++ b/configure.ac
@@ -237,6 +237,11 @@ AC_ARG_ENABLE([statistics],
 AS_IF([test "$enable_statistics" = "yes"],
       [AC_DEFINE([RED_STATISTICS], [1], [Enable SPICE statistics])])
 
+AC_ARG_ENABLE([extra-checks],
+               AS_HELP_STRING([--enable-extra-checks=@<:@yes/no@:>@],
+                              [Enable expensive checks @<:@default=no@:>@]))
+AM_CONDITIONAL(ENABLE_EXTRA_CHECKS, test "$enable_extra_checks" = "yes")
+
 dnl ===========================================================================
 dnl check compiler flags
 
-- 
2.9.3



More information about the Spice-devel mailing list