diff options
-rw-r--r-- | distrib/configure.ac.in | 5 | ||||
-rw-r--r-- | ghc.mk | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index bdd9815e59..f8fa83ef44 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -186,13 +186,14 @@ dnl ** Have libdw? dnl -------------------------------------------------------------- dnl Check for a usable version of libdw/elfutils dnl Currently we need 0.158 or newer. -BinDistNeedsLibdw=@UseLibdw@ -if test "x$BinDistNeedsLibdw" = "xYES" ; then +UseLibdw=@UseLibdw@ +if test "x$UseLibdw" = "xYES" ; then AC_CHECK_LIB(dw, dwfl_attach_state, [UseLibdw=YES], [AC_MSG_ERROR([Binary distribution was built with libdw support but target system doesn't have supported libdw version (needs at least 0.158)])] ) fi +AC_SUBST(UseLibdw) FP_SETTINGS @@ -1022,7 +1022,6 @@ $(eval $(call bindist-list,.,\ $(BINDIST_HI) \ $(BINDIST_EXTRAS) \ includes/Makefile \ - $(includes_SETTINGS) \ $(includes_H_FILES) \ $(includes_DERIVEDCONSTANTS) \ $(includes_GHCCONSTANTS) \ |