From 4b123fb74bae332df3ae52d276e5d63b1e6095ee Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Fri, 1 Jun 2018 16:26:56 -0700 Subject: util: tests: vma test depends on C++11 support Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106776 Fixes: 943fecc569 ("util: Add a randomized test for the virtual memory allocator") Tested-by: Vinson Lee Reviewed-by: Dylan Baker --- src/util/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/util/Makefile.am b/src/util/Makefile.am index b51dccdadfd..65794338c5b 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -22,8 +22,11 @@ SUBDIRS = . \ xmlpool \ tests/hash_table \ - tests/string_buffer \ - tests/vma + tests/string_buffer + +if HAVE_STD_CXX11 +SUBDIRS += tests/vma +endif include Makefile.sources -- cgit v1.2.3