mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04: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
|
|
@ -5271,12 +5271,14 @@ if test "${with_native_compilation}" != "no"; then
|
|||
else
|
||||
libgccjit_not_found_err
|
||||
fi])
|
||||
AC_CHECK_HEADERS([libgccjit.h], [],
|
||||
[if test "${with_native_compilation}" = "default"; then
|
||||
# `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