summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Closs <lukec@cpan.org>2005-07-01 21:56:31 +0000
committerNicholas Clark <nick@ccl4.org>2005-09-13 17:54:09 +0000
commite39a9d84ad1bc6fb197298c9cc46327914add09c (patch)
tree6b3cd8721a4d0af777d05eba66f810d218ffac88
parent9a9798c21b8a0b65f8e87f35074ebb595dc00f1c (diff)
downloadperl-e39a9d84ad1bc6fb197298c9cc46327914add09c.tar.gz
[perl #36448] configuring ranlib for perl on osx with xcode 2.1
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
-rwxr-xr-xConfigure4
-rw-r--r--hints/darwin.sh4
2 files changed, 7 insertions, 1 deletions
diff --git a/Configure b/Configure
index e5dd7055b8..8991f1a116 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 68735c7919..3e1c6034f9 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
##