8320663: Fix C syntax in LIB_SETUP_HSDIS_BINUTILS

Co-authored-by: Galder Zamarreño <galder@openjdk.org>
Reviewed-by: rehn
This commit is contained in:
Magnus Ihse Bursie 2023-11-23 15:15:12 +00:00
parent 3787ff8d1d
commit beaa79c28b

View File

@ -278,7 +278,7 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
fi
AC_MSG_CHECKING([Checking binutils API])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include $disasm_header],[[void foo() {init_disassemble_info(0, 0, 0, 0);}]])],
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include $disasm_header],[[init_disassemble_info(0, 0, 0, 0);]])],
[
AC_MSG_RESULT([New API])
HSDIS_CFLAGS="$HSDIS_CFLAGS -DBINUTILS_NEW_API"