distrib: Fix libdw bindist check
authorBen Gamari <bgamari.foss@gmail.com>
Sun, 4 Sep 2016 17:23:35 +0000 (13:23 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 5 Sep 2016 20:59:49 +0000 (16:59 -0400)
commit05b497ece50f508526d0906f675bdb4c8109d46a
tree10b77b7d3785a7adec384df70cd6df87f59dae0a
parent34010dbe77ac405da6c671c3feb3573d0d025379
distrib: Fix libdw bindist check

As reported in #12555 this code was terribly broken. Sadly, Autoconf was
none-the-wiser. Thanks to @rwbarton for pointing this out.

Test Plan: Test with libdw version newer and older and 0.158

Reviewers: hvr, austin, rwbarton

Reviewed By: rwbarton

Subscribers: thomie, rwbarton, erikd

Differential Revision: https://phabricator.haskell.org/D2510

GHC Trac Issues: #12555
distrib/configure.ac.in