[perl #36448] configuring ranlib for perl on osx with xcode 2.1
authorLuke Closs <lukec@cpan.org>
Fri, 1 Jul 2005 21:56:31 +0000 (21:56 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Sep 2005 17:54:09 +0000 (17:54 +0000)
From: Luke Closs (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36448-116486.6.06308221656583@perl.org>
Date: 1 Jul 2005 21:56:31 -0000

p4raw-id: //depot/perl@25402

Configure
hints/darwin.sh

index e5dd705..8991f1a 100755 (executable)
--- 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
index 68735c7..3e1c603 100644 (file)
@@ -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
 ##