AC_SUBST(LIBZ)
### Emacs Lisp native compiler support
-HAVE_LIBGCCJIT=no
+HAVE_NATIVE_COMP=no
LIBGCCJIT_LIB=
COMP_OBJ=
if test "${with_nativecomp}" != "no"; then
- AC_CHECK_LIB(gccjit, gcc_jit_context_acquire, HAVE_LIBGCCJIT=yes, , -lgccjit)
- if test "${HAVE_LIBGCCJIT}" = "yes"; then
+ AC_CHECK_LIB(gccjit, gcc_jit_context_acquire, HAVE_NATIVE_COMP=yes, , -lgccjit)
+ if test "${HAVE_NATIVE_COMP}" = "yes"; then
LIBGCCJIT_LIB="-lgccjit -ldl"
COMP_OBJ="dynlib.o comp.o"
- AC_DEFINE(HAVE_LIBGCCJIT, 1, [Define to 1 if you have the libgccjit library (-lgccjit).])
+ AC_DEFINE(HAVE_NATIVE_COMP, 1, [Define to 1 if you have the libgccjit library (-lgccjit).])
AC_DEFINE_UNQUOTED(NATIVE_ELISP_SUFFIX, ".eln",
[System extension for native compiled elisp])
fi
#include <config.h>
-#ifdef HAVE_LIBGCCJIT
+#ifdef HAVE_NATIVE_COMP
#include <stdlib.h>
#include <stdio.h>
comp_speed = DEFAULT_SPEED;
}
-#endif /* HAVE_LIBGCCJIT */
+#endif /* HAVE_NATIVE_COMP */
bool is_module = false;
#endif
-#ifdef HAVE_LIBGCCJIT
+#ifdef HAVE_NATIVE_COMP
bool is_native_elisp = suffix_p (found, NATIVE_ELISP_SUFFIX);
#else
bool is_native_elisp = false;
}
else if (is_native_elisp)
{
-#ifdef HAVE_LIBGCCJIT
+#ifdef HAVE_NATIVE_COMP
specbind (Qcurrent_load_list, Qnil);
LOADHIST_ATTACH (found);
Fnative_elisp_load (found);
Fcons (build_pure_c_string (MODULES_SECONDARY_SUFFIX), Vload_suffixes);
#endif
#endif
-#ifdef HAVE_LIBGCCJIT
+#ifdef HAVE_NATIVE_COMP
Vload_suffixes = Fcons (build_pure_c_string (NATIVE_ELISP_SUFFIX), Vload_suffixes);
#endif