summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-06-18 16:50:51 -0400
committerBen Gamari <ben@smart-cactus.org>2017-06-19 08:15:45 -0400
commita9b62a3e883e536724602bce2a5bb8a21eba02cc (patch)
tree82a08c9ef77778ddb199641c67bcea82445475f9 /configure.ac
parent271e0f087b6560f445d7e6bd7f6cecec917e1085 (diff)
downloadhaskell-a9b62a3e883e536724602bce2a5bb8a21eba02cc.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d7c6ad83f4..3c5e17a0fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -565,9 +565,10 @@ fi
dnl ** Which objdump to use?
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
- cygwin32|mingw32)
+ cygwin32|mingw32|openbsd|aix)
AC_CHECK_TARGET_TOOL([OBJDUMP], [objdump])
;;
esac