Add missing comma in 'libdw' configure check
authorAlec Theriault <alec.theriault@gmail.com>
Tue, 18 Dec 2018 04:36:31 +0000 (23:36 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 18 Dec 2018 04:36:53 +0000 (23:36 -0500)
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

configure.ac

index 0ff192a..021ef94 100644 (file)
@@ -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)