configure: Rework HAVE_CAPSTONE #define
Autotools and the current build system define HAVE_* macros only when the corresponding feature is available, leaving them undefined otherwise. HAVE_CAPSTONE is an exception, align it with this convention to make the build system more consistent and slightly simpler. Change-Id: I0b71743a687802b905e3fe1e17cad815a7febb14 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/9540 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
faab1de8b1
commit
a22e4331e7
@@ -13,7 +13,7 @@
|
||||
#include "target.h"
|
||||
#include "a64_disassembler.h"
|
||||
|
||||
#if HAVE_CAPSTONE
|
||||
#ifdef HAVE_CAPSTONE
|
||||
|
||||
#include <capstone.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user