mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Fix the Android build
* configure.ac: Don't test for libgccjit.h if a preceding test have already concluded that native compilation is unavailable.
This commit is contained in:
parent
3801c09ae2
commit
916572f6e0
1 changed files with 5 additions and 3 deletions
|
|
@ -5271,12 +5271,14 @@ if test "${with_native_compilation}" != "no"; then
|
|||
else
|
||||
libgccjit_not_found_err
|
||||
fi])
|
||||
AC_CHECK_HEADERS([libgccjit.h], [],
|
||||
# `libgcc_not_found' may set `with_native_compilation' to `no'.
|
||||
AS_IF([test "$with_native_compilation" != "no"],
|
||||
[AC_CHECK_HEADERS([libgccjit.h], [],
|
||||
[if test "${with_native_compilation}" = "default"; then
|
||||
libgccjit_dev_not_found
|
||||
else
|
||||
libgccjit_dev_not_found_err
|
||||
fi])
|
||||
fi])])
|
||||
if test "${with_native_compilation}" != "no"; then
|
||||
# Check if libgccjit really works.
|
||||
AC_RUN_IFELSE([libgccjit_smoke_test], [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue