summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-12-17 23:36:31 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-17 23:36:53 -0500
commit126aa794743b807b7447545697b96dd165ec3e16 (patch)
treef972f6a4bca9ecd42d84b05a5045351294ac3317 /configure.ac
parentf5e98bb31cf4dae740c8dc598ef207aa79d5a179 (diff)
downloadhaskell-126aa794743b807b7447545697b96dd165ec3e16.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0ff192a928..021ef94845 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)