mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
better configure
check for libgccjit.h file instead of the shared lib in configure
This commit is contained in:
parent
f59a96f565
commit
06fc663f51
@ -3742,7 +3742,7 @@ HAVE_NATIVE_COMP=no
|
||||
LIBGCCJIT_LIB=
|
||||
COMP_OBJ=
|
||||
if test "${with_nativecomp}" != "no"; then
|
||||
AC_CHECK_LIB(gccjit, gcc_jit_context_acquire, HAVE_NATIVE_COMP=yes, , -lgccjit)
|
||||
AC_CHECK_HEADER([libgccjit.h], [HAVE_NATIVE_COMP=yes])
|
||||
if test "${HAVE_NATIVE_COMP}" = "yes"; then
|
||||
LIBGCCJIT_LIB="-lgccjit -ldl"
|
||||
if test "${HAVE_MODULES}" = yes; then
|
||||
|
Loading…
Reference in New Issue
Block a user