VPP-69: Create fib or bridge domain with arbitrary ID
[vpp.git] / vppinfra / configure.ac
index d0b3a0c..88720f7 100644 (file)
@@ -5,7 +5,7 @@ AC_CONFIG_HEADERS(config/config.h)
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 AM_INIT_AUTOMAKE([gnu no-dist-gzip dist-bzip2])
-AM_SILENT_RULES
+AM_SILENT_RULES([yes])
 
 # Checks for programs.
 AC_PROG_CC
@@ -31,6 +31,13 @@ AC_ARG_WITH(ldflags,
 
 ######################################################################
 
+AC_ARG_ENABLE(tests,
+              AC_HELP_STRING([--enable-tests],[Enable unit tests]),
+              [enable_tests=1],
+              [enable_tests=0])
+
+AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" = "1")
+
 AC_ARG_WITH(unix,
             AC_HELP_STRING([--with-unix],[Compile unix version of clib]),
            [],