summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-19 08:58:37 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-19 08:58:40 +0200
commit29d6514027b25a7690ed5f384a696ce7b3068910 (patch)
treeeb28ea0d0966102f7b7cd2797afa7949eca6f160
parent63d045fe3a09aa3c63c663cac0821568d5202071 (diff)
downloadgnutls-tmp-conditional-fuzzer-target.tar.gz
configure.ac: removed conditional FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTIONtmp-conditional-fuzzer-target
Instead rely only on the definition, to make fuzzying mode to be enabled even if --enable-fuzzer-target is not specified, but defined b the compiler. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4fefdb80e0..cbaa5a9e97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -251,7 +251,6 @@ AM_CONDITIONAL(ENABLE_TESTS, test "$enable_tests" != "no")
AC_ARG_ENABLE(fuzzer-target,
AS_HELP_STRING([--enable-fuzzer-target], [make a library intended for testing - not production]),
enable_fuzzer_target=$enableval, enable_fuzzer_target=no)
-AM_CONDITIONAL(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION, test "$enable_fuzzer_target" != "no")
if test "$enable_fuzzer_target" != "no";then
AC_DEFINE([FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION], 1, [Enable fuzzer target -not for production])
fi