From: Luke Closs Date: Fri, 1 Jul 2005 21:56:31 +0000 (+0000) Subject: [perl #36448] configuring ranlib for perl on osx with xcode 2.1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e39a9d84ad1bc6fb197298c9cc46327914add09c;p=p5sagit%2Fp5-mst-13.2.git [perl #36448] configuring ranlib for perl on osx with xcode 2.1 From: Luke Closs (via RT) Message-ID: Date: 1 Jul 2005 21:56:31 -0000 p4raw-id: //depot/perl@25402 --- diff --git a/Configure b/Configure index e5dd705..8991f1a 100755 --- a/Configure +++ b/Configure @@ -19092,7 +19092,9 @@ if $cc -o foobar $ccflags $ldflags foo$_o bar$_a $libs > /dev/null 2>&1 && $run ./foobar >/dev/null 2>&1; then echo "$ar appears to generate random libraries itself." orderlib=false - ranlib=":" + if [ "X$ranlib" = "X" ]; then + ranlib=":" + fi elif $ar ts bar$_a >/dev/null 2>&1 && $cc -o foobar $ccflags $ldflags foo$_o bar$_a $libs > /dev/null 2>&1 && $run ./foobar >/dev/null 2>&1; then diff --git a/hints/darwin.sh b/hints/darwin.sh index 68735c7..3e1c603 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -283,6 +283,10 @@ esac # really need ODBM_FIle, though, so let's just hint ODBM away. i_dbm=undef; +# Configure doesn't detect ranlib on Tiger properly. +# NeilW says this should be acceptable on all darwin versions. +ranlib='ranlib' + ## # Build process ##