From 6d25de46f77909f3adb108786052995151082c56 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Tue, 5 May 2020 15:50:30 +0100 Subject: [PATCH] * 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 62fb274d3bb..23b94cf6ca1 100644 --- a/configure.ac +++ b/configure.ac @@ -3780,18 +3780,18 @@ AC_DEFUN([libgccjit_broken], [ You can verify it yourself compiling: . 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: .])]) 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" -- 2.39.5