diff options
author | wolfgang.thaller@gmx.net <unknown> | 2006-03-08 17:48:41 +0000 |
---|---|---|
committer | wolfgang.thaller@gmx.net <unknown> | 2006-03-08 17:48:41 +0000 |
commit | 1da8365291d6b156007b1ee2cb728662dd90a5d1 (patch) | |
tree | 28689c815b74cad94f098dc38191b30fbf69e3a1 /aclocal.m4 | |
parent | 3f873f31fef918ba53fa802a77c308b07f9e676f (diff) | |
download | haskell-1da8365291d6b156007b1ee2cb728662dd90a5d1.tar.gz |
Ranlib is required on Darwin/x86, too
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 858a3f0a6c..6cf12d69f8 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 |