X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=6cf12d69f80f0f40536423ee602960176dad5e74;hb=c520a3a2752ffcec5710a88a8a2e219c20edfc8a;hp=858a3f0a6cc2fa6c458cfd205904ef27a5d2e56d;hpb=2909e6fb2223bd303e00b34d3a04466474c53f03;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 858a3f0..6cf12d6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -494,7 +494,7 @@ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([whether ranlib is needed], [fp_cv_prog_ar_needs_ranlib], [if test $fp_prog_ar_is_gnu = yes; then fp_cv_prog_ar_needs_ranlib=no -elif test $TargetPlatform = powerpc-apple-darwin; then +elif echo $TargetPlatform | grep "^.*-apple-darwin$" > /dev/null 2> /dev/null; then # It's quite tedious to check for Apple's crazy timestamps in .a files, # so we hardcode it. fp_cv_prog_ar_needs_ranlib=yes