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
This commit is contained in:
Alan Wu 2022-03-31 17:26:28 -04:00 коммит произвёл GitHub
Родитель 056b7a8633
Коммит 2222032979
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(socket, shutdown) # SunOS/Solaris 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. dnl Checks for header files.
AC_HEADER_DIRENT AC_HEADER_DIRENT
dnl AC_HEADER_STDC has been checked in AC_USE_SYSTEM_EXTENSIONS dnl AC_HEADER_STDC has been checked in AC_USE_SYSTEM_EXTENSIONS