[commit: ghc] ghc-7.10: aclocal.m4: Do not check for readelf on darwin (7f8fc1c)

git at git.haskell.org git at git.haskell.org
Thu Nov 5 10:54:48 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/7f8fc1c9db5bef2dea05e001488d5bc7c8b38575/ghc

>---------------------------------------------------------------

commit 7f8fc1c9db5bef2dea05e001488d5bc7c8b38575
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Thu Nov 5 21:13:30 2015 +1100

    aclocal.m4: Do not check for readelf on darwin
    
    Tested on darwin and linux. Not tested on mingw32.


>---------------------------------------------------------------

7f8fc1c9db5bef2dea05e001488d5bc7c8b38575
 aclocal.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 6ca3986..874e190 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2213,7 +2213,8 @@ AC_DEFUN([FIND_GCC],[
 # $1 = the variable to set
 #
 AC_DEFUN([FIND_READELF],[
-    if test "$HostOS" != "mingw32"; then
+    if test "$HostOS" != "mingw32" &&
+       test "$HostOS" != "darwin" ; then
         FP_ARG_WITH_PATH_GNU_PROG([READELF], [readelf], [readelf])
         if test -z "$READELF"; then
             AC_MSG_ERROR([cannot identify readelf tool])



More information about the ghc-commits mailing list