Commit a9b62a3e authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

configure: Look for objdump on OpenBSD and AIX

deriveConstants requires objdump for both of these operating systems, in
addition to Windows. See #13812.

Test Plan: Validate on OpenBSD and AIX

Reviewers: hvr, austin

Reviewed By: hvr

Subscribers: rwbarton, thomie, erikd

GHC Trac Issues: #13812

Differential Revision: https://phabricator.haskell.org/D3638
parent 271e0f08
...@@ -565,9 +565,10 @@ fi ...@@ -565,9 +565,10 @@ fi
dnl ** Which objdump to use? dnl ** Which objdump to use?
dnl -------------------------------------------------------------- dnl --------------------------------------------------------------
dnl Note: we may not have objdump on OS X, and we only need it on Windows (for DLL checks) dnl Note: we may not have objdump on OS X, and we only need it on
dnl Windows (for DLL checks), OpenBSD, and AIX
case $HostOS_CPP in case $HostOS_CPP in
cygwin32|mingw32) cygwin32|mingw32|openbsd|aix)
AC_CHECK_TARGET_TOOL([OBJDUMP], [objdump]) AC_CHECK_TARGET_TOOL([OBJDUMP], [objdump])
;; ;;
esac esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment