From fabc9849e7d9ab31b3622487f74235a065852caf Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Thu, 28 Sep 2017 20:32:36 -0700 Subject: [PATCH] Fix output of --show-config for readline. (#1159) cvc4 --show-config reported the wrong configuration for readline since HAVE_LIBREADLINE is set to 0 or 1 but was checked with #ifdef. --- src/base/configuration_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/configuration_private.h b/src/base/configuration_private.h index 6d9201dde..472113c2e 100644 --- a/src/base/configuration_private.h +++ b/src/base/configuration_private.h @@ -126,7 +126,7 @@ namespace CVC4 { #define IS_LFSC_BUILD false #endif /* CVC4_USE_LFSC */ -#ifdef HAVE_LIBREADLINE +#if HAVE_LIBREADLINE # define IS_READLINE_BUILD true #else /* HAVE_LIBREADLINE */ # define IS_READLINE_BUILD false -- 2.30.2