guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 409/437: Correct binutils version detection


From: Andy Wingo
Subject: [Guile-commits] 409/437: Correct binutils version detection
Date: Mon, 2 Jul 2018 05:15:05 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit 19439d47cb44d4e0762582391f847de1072b6b57
Author: pcpa <address@hidden>
Date:   Thu Sep 14 13:27:09 2017 -0400

    Correct binutils version detection
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index adbc45d..e3282a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,7 @@ AM_CONDITIONAL(with_disassembler, [test "x$DISASSEMBLER" != 
"xno"])
 if test "x$DISASSEMBLER" != "xno"; then
     LIGHTNING_CFLAGS="$LIGHTNING_CFLAGS -DDISASSEMBLER=1"
     save_CFLAGS=$CFLAGS
+    CFLAGS="$CFLAGS -I$PWD/include -D_GNU_SOURCE"
     AC_COMPILE_IFELSE([AC_LANG_SOURCE(
        #include <lightning.h>
        #include <lightning/jit_private.h>
@@ -101,12 +102,11 @@ if test "x$DISASSEMBLER" != "xno"; then
        int main(int argc, char *argv[])
        {
                disassembler_ftype       print;
-               bdf                     *abfd;
+               bfd                     *abfd;
                print = disassembler(abfd);
                return 0;
        }
     )], [ac_cv_test_new_disassembler=no],,)
-    CFLAGS="$CFLAGS -I$PWD/include -D_GNU_SOURCE"
     CFLAGS="$save_CFLAGS"
     if test "x$ac_cv_test_new_disassembler" != "xno"; then
        LIGHTNING_CFLAGS="$LIGHTNING_CFLAGS -DBINUTILS_2_29=1"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]