diff options
| author | Eli Zaretskii | 2021-06-03 09:55:00 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-06-03 09:55:00 +0300 |
| commit | 6a152f898dfbc4cd7ece41adf4dc89422262c843 (patch) | |
| tree | 7363ed94ad306adbabf9df12a63c3bfe2c37e870 | |
| parent | a488716961df851bdad767696003327ae5590394 (diff) | |
| download | emacs-6a152f898dfbc4cd7ece41adf4dc89422262c843.tar.gz emacs-6a152f898dfbc4cd7ece41adf4dc89422262c843.zip | |
* configure.ac: Improve error messages about libgccjit.
| -rw-r--r-- | configure.ac | 25 |
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 | ||
| 3774 | AC_DEFUN([libgccjit_not_found], [ | 3774 | AC_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. |
| 3776 | Please try installing libgccjit or similar package. | 3776 | Please try installing libgccjit or a similar package. |
| 3777 | If you are sure you want Emacs compiled without elisp native compiler, pass | 3777 | If you are sure you want Emacs be compiled without ELisp native compiler, |
| 3778 | --without-native-compilation | 3778 | pass the --without-native-compilation option to configure.])]) |
| 3779 | to configure.])]) | ||
| 3780 | 3779 | ||
| 3781 | AC_DEFUN([libgccjit_dev_not_found], [ | 3780 | AC_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 |
| 3783 | not found. | 3782 | not found. |
| 3784 | Please try installing libgccjit-dev or similar package. | 3783 | Please try installing libgccjit-dev or a similar package. |
| 3785 | If you are sure you want Emacs compiled without elisp native compiler, pass | 3784 | If you are sure you want Emacs be compiled without ELisp native compiler, |
| 3786 | --without-nativecomp | 3785 | pass the --without-nativecomp option to configure.])]) |
| 3787 | to configure.])]) | ||
| 3788 | 3786 | ||
| 3789 | AC_DEFUN([libgccjit_broken], [ | 3787 | AC_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. |
| 3791 | You can verify it yourself compiling: | 3789 | You 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>. |
| 3793 | Please report the issue to your distribution if libgccjit was installed through | 3791 | Please report the issue to your distribution if libgccjit was installed through |
| 3794 | that. | 3792 | that. |
| 3795 | Here instructions on how to compile and install libgccjit from source: | 3793 | You can find the instructions on how to compile and install libgccjit from |
| 3794 | source on this site: | ||
| 3796 | <https://gcc.gnu.org/wiki/JIT>.])]) | 3795 | <https://gcc.gnu.org/wiki/JIT>.])]) |
| 3797 | 3796 | ||
| 3798 | HAVE_NATIVE_COMP=no | 3797 | HAVE_NATIVE_COMP=no |