From 222203297966f312109e8eaa2520f2cf2f59c09d Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Thu, 31 Mar 2022 17:26:28 -0400 Subject: Remove dependency on libcapstone We have received reports of build failures due to this configuration check modifying compile flags. Since only YJIT devs use this library we can remove it to make Ruby easier to build for users. See: https://github.com/rbenv/ruby-build/discussions/1933 --- configure.ac | 9 --------- 1 file changed, 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 603cbebd03..0357a7eacf 100644 --- a/configure.ac +++ b/configure.ac @@ -1268,15 +1268,6 @@ AC_CHECK_LIB(crypt, crypt) # glibc (GNU/Linux, GNU/Hurd, GNU/kFreeBSD) AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV AC_CHECK_LIB(socket, shutdown) # SunOS/Solaris -AS_IF([test -n "${PKG_CONFIG}" && ${PKG_CONFIG} --exists capstone], [ - CAPSTONE_CFLAGS=`${PKG_CONFIG} --cflags capstone` - CAPSTONE_LIB_L=`${PKG_CONFIG} --libs-only-L capstone` - LDFLAGS="$LDFLAGS $CAPSTONE_LIB_L" - CFLAGS="$CFLAGS $CAPSTONE_CFLAGS" -]) - -AC_CHECK_LIB(capstone, cs_open) # Capstone disassembler for debugging YJIT - dnl Checks for header files. AC_HEADER_DIRENT dnl AC_HEADER_STDC has been checked in AC_USE_SYSTEM_EXTENSIONS -- cgit v1.2.3