[commit: ghc] master: Add missing comma in 'libdw' configure check (126aa79)

git at git.haskell.org git at git.haskell.org
Tue Dec 18 04:37:35 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/126aa794743b807b7447545697b96dd165ec3e16/ghc

>---------------------------------------------------------------

commit 126aa794743b807b7447545697b96dd165ec3e16
Author: Alec Theriault <alec.theriault at gmail.com>
Date:   Mon Dec 17 23:36:31 2018 -0500

    Add missing comma in 'libdw' configure check
    
    Fix a bug from cb882fc993b4972f7f212b291229ef9e9ade0af9. Without the
    comma, all non-diverging codepaths set 'UseLibdw=NO'.
    
    Reviewers: bgamari, nh2
    
    Reviewed By: nh2
    
    Subscribers: rwbarton, erikd, carter
    
    GHC Trac Issues: #15968
    
    Differential Revision: https://phabricator.haskell.org/D5459


>---------------------------------------------------------------

126aa794743b807b7447545697b96dd165ec3e16
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 0ff192a..021ef94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1250,7 +1250,7 @@ AC_ARG_ENABLE(dwarf-unwind,
         [Enable DWARF unwinding support in the runtime system via elfutils' libdw [default=no]])],
     [AC_CHECK_LIB(dw, dwfl_attach_state,
       [UseLibdw=YES],
-      [AC_MSG_ERROR([Cannot find system libdw (required by --enable-dwarf-unwind)])])]
+      [AC_MSG_ERROR([Cannot find system libdw (required by --enable-dwarf-unwind)])])],
     [UseLibdw=NO]
 )
 AC_SUBST(UseLibdw)



More information about the ghc-commits mailing list