Require 'libdw' for '--enable-dwarf-unwind'
authorAlec Theriault <alec.theriault@gmail.com>
Sat, 8 Dec 2018 04:18:15 +0000 (23:18 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sat, 8 Dec 2018 04:18:16 +0000 (23:18 -0500)
commitcb882fc993b4972f7f212b291229ef9e9ade0af9
treeb36cd838f6eb1ee357ac0d118ee367b19f43aa3d
parentbd80831610092fef2f540abe9725e177c1ef0df8
Require 'libdw' for '--enable-dwarf-unwind'

This causes './configure --enable-dwarf-unwind' to exit with a helpful
error message when 'libdw' cannot be found (compared to the previous
behaviour of silently pretending the user hadn't requested DWARF support
at all).

Test Plan: ./configure --enable-dwarf-unwind # on systems with/without
libdw

Reviewers: bgamari, nh2

Reviewed By: nh2

Subscribers: nh2, rwbarton, erikd, carter

GHC Trac Issues: #15968

Differential Revision: https://phabricator.haskell.org/D5424
configure.ac