diff options
author | Max Bolingbroke <batterseapower@hotmail.com> | 2012-07-09 15:05:39 +0100 |
---|---|---|
committer | Max Bolingbroke <batterseapower@hotmail.com> | 2012-07-09 15:06:03 +0100 |
commit | c9cb46bec47ada686d18437578fbc95281c9c6d4 (patch) | |
tree | c1945b6cb63181b5e6ef96c42987e05d3a141ca2 /configure.ac | |
parent | 105754792adac0802a9a59b0df188b58fb53503f (diff) | |
download | haskell-c9cb46bec47ada686d18437578fbc95281c9c6d4.tar.gz |
Don't look for objdump on OS X
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index f7862ecfc4..74191e4946 100644 --- a/configure.ac +++ b/configure.ac @@ -447,11 +447,16 @@ FP_ARG_WITH_PATH_GNU_PROG([NM], [nm], [nm]) NmCmd="$NM" AC_SUBST([NmCmd]) -dnl ** Which objdump to use? -dnl -------------------------------------------------------------- -FP_ARG_WITH_PATH_GNU_PROG([OBJDUMP], [objdump], [objdump]) -ObjdumpCmd="$OBJDUMP" -AC_SUBST([ObjdumpCmd]) +# Note: we may not have objdump on OS X, and we only need it on Windows (for DLL checks) +case $HostOS_CPP in +cygwin32|mingw32) + dnl ** Which objdump to use? + dnl -------------------------------------------------------------- + FP_ARG_WITH_PATH_GNU_PROG([OBJDUMP], [objdump], [objdump]) + ObjdumpCmd="$OBJDUMP" + AC_SUBST([ObjdumpCmd]) + ;; +esac dnl ** Which LLVM llc to use? dnl -------------------------------------------------------------- |