aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2021-06-03 09:55:00 +0300
committerEli Zaretskii2021-06-03 09:55:00 +0300
commit6a152f898dfbc4cd7ece41adf4dc89422262c843 (patch)
tree7363ed94ad306adbabf9df12a63c3bfe2c37e870
parenta488716961df851bdad767696003327ae5590394 (diff)
downloademacs-6a152f898dfbc4cd7ece41adf4dc89422262c843.tar.gz
emacs-6a152f898dfbc4cd7ece41adf4dc89422262c843.zip
* configure.ac: Improve error messages about libgccjit.
-rw-r--r--configure.ac25
1 files changed, 12 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index d99e5395d35..8830e4bed8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3772,27 +3772,26 @@ AC_DEFUN([libgccjit_smoke_test], [
3772 }]])]) 3772 }]])])
3773 3773
3774AC_DEFUN([libgccjit_not_found], [ 3774AC_DEFUN([libgccjit_not_found], [
3775 AC_MSG_ERROR([elisp native compiler requested but libgccjit not found. 3775 AC_MSG_ERROR([ELisp native compiler was requested, but libgccjit was not found.
3776Please try installing libgccjit or similar package. 3776Please try installing libgccjit or a similar package.
3777If you are sure you want Emacs compiled without elisp native compiler, pass 3777If you are sure you want Emacs be compiled without ELisp native compiler,
3778 --without-native-compilation 3778pass the --without-native-compilation option to configure.])])
3779to configure.])])
3780 3779
3781AC_DEFUN([libgccjit_dev_not_found], [ 3780AC_DEFUN([libgccjit_dev_not_found], [
3782 AC_MSG_ERROR([elisp native compiler requested but libgccjit header files were 3781 AC_MSG_ERROR([ELisp native compiler was requested, but libgccjit header files were
3783not found. 3782not found.
3784Please try installing libgccjit-dev or similar package. 3783Please try installing libgccjit-dev or a similar package.
3785If you are sure you want Emacs compiled without elisp native compiler, pass 3784If you are sure you want Emacs be compiled without ELisp native compiler,
3786--without-nativecomp 3785pass the --without-nativecomp option to configure.])])
3787to configure.])])
3788 3786
3789AC_DEFUN([libgccjit_broken], [ 3787AC_DEFUN([libgccjit_broken], [
3790 AC_MSG_ERROR([Installed libgccjit has failed passing the smoke test. 3788 AC_MSG_ERROR([The installed libgccjit did not pass the smoke test.
3791You can verify it yourself compiling: 3789You can verify it yourself by compiling:
3792<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>. 3790<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
3793Please report the issue to your distribution if libgccjit was installed through 3791Please report the issue to your distribution if libgccjit was installed through
3794that. 3792that.
3795Here instructions on how to compile and install libgccjit from source: 3793You can find the instructions on how to compile and install libgccjit from
3794source on this site:
3796<https://gcc.gnu.org/wiki/JIT>.])]) 3795<https://gcc.gnu.org/wiki/JIT>.])])
3797 3796
3798HAVE_NATIVE_COMP=no 3797HAVE_NATIVE_COMP=no