From 3fbc2b538f758de3c4f28f8541a2a08037e7b0fc Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Wed, 6 Jul 2016 07:45:04 +0300 Subject: [PATCH] configure: conditional creation of Makefiles in test subdir. --- configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b3ef4fbf..936e916b 100644 --- a/configure.ac +++ b/configure.ac @@ -274,14 +274,17 @@ AC_CONFIG_FILES([\ doc/Makefile \ src/Makefile \ others/Makefile \ - test/Makefile \ - test/benchmark/Makefile \ - test/fuzzer/Makefile \ examples/Makefile \ examples/simple_example_using_c/Makefile \ examples/multithread_c/Makefile \ ]) +AM_COND_IF([TEST_UTILITIES], + [AC_CONFIG_FILES([test/Makefile test/benchmark/Makefile])]) + +AM_COND_IF([AFL_FUZZER], + [AC_CONFIG_FILES([test/fuzzer/Makefile])]) + AC_CONFIG_HEADERS([src/config.h])