From 1da8365291d6b156007b1ee2cb728662dd90a5d1 Mon Sep 17 00:00:00 2001 From: "wolfgang.thaller@gmx.net" Date: Wed, 8 Mar 2006 17:48:41 +0000 Subject: [PATCH] Ranlib is required on Darwin/x86, too --- aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4