From 9c070f54df677ce76d49a071bc288765be940ce7 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 25 May 2017 11:14:53 +0000 Subject: [PATCH] Properly disable fuzz support when it hasn't been requested Previously fuzz.o was compiled and linked in anyway while the code was unreachable. --- configure.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 7df0b50b..2adba9d3 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl $Id: configure.in,v 1.210 2017/05/04 14:34:28 fabiankeil Exp $ +dnl $Id: configure.in,v 1.211 2017/05/25 11:14:27 fabiankeil Exp $ dnl dnl Written by and Copyright (C) 2001-2017 the dnl Privoxy team. https://www.privoxy.org/ @@ -32,7 +32,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.210 $) +AC_REVISION($Revision: 1.211 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -1026,13 +1026,12 @@ else fi AC_SUBST(FEATURE_CLIENT_TAGS_ONLY) +FUZZ_ONLY="#" AC_ARG_ENABLE(fuzz, [ --enable-fuzz Enable code that makes fuzzing more convenient], [if test $enableval = yes; then FUZZ_ONLY="" AC_DEFINE(FUZZ,1,[Define to make fuzzing more convenient.]) - else - FUZZ_ONLY="#" fi]) AC_SUBST(FUZZ_ONLY) -- 2.39.2