[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 6d25de4: * configure.ac: Fix var usage + better mess
From: |
Andrea Corallo |
Subject: |
feature/native-comp 6d25de4: * configure.ac: Fix var usage + better messaging. |
Date: |
Tue, 5 May 2020 11:00:16 -0400 (EDT) |
branch: feature/native-comp
commit 6d25de46f77909f3adb108786052995151082c56
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
* configure.ac: Fix var usage + better messaging.
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 62fb274..23b94cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3780,18 +3780,18 @@ AC_DEFUN([libgccjit_broken], [
You can verify it yourself compiling:
<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
Please report the issue to your distribution.
-Here instructions on how to compile from source:
+Here instructions on how to compile and install libgccjit from source:
<https://gcc.gnu.org/wiki/JIT>.])])
HAVE_NATIVE_COMP=no
LIBGCCJIT_LIB=
COMP_OBJ=
if test "${with_nativecomp}" != "no"; then
- emacs_save_LDFLAGS=$LDFLAGS
- LDFLAGS="-lgccjit"
+ emacs_save_LIBS=$LIBS
+ LIBS="-lgccjit"
AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken],
[AC_LINK_IFELSE([libgccjit_smoke_test], [], [libgccjit_not_found])])
- LDFLAGS=$emacs_save_LDFLAGS
+ LIBS=$emacs_save_LIBS
HAVE_NATIVE_COMP=yes
LIBGCCJIT_LIB="-lgccjit -ldl"
COMP_OBJ="comp.o"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/native-comp 6d25de4: * configure.ac: Fix var usage + better messaging.,
Andrea Corallo <=