summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorTim Bunce <Tim.Bunce@ig.co.uk>1995-01-17 04:09:00 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1995-01-17 04:09:00 +0000
commit3edbfbe5ecbb7e6fb99acc874379580a458f3cff (patch)
tree0fef803084e171ed4d85c12a817e59d493f77612 /Configure
parente1666bf5602ae794563d8669f6ff15c398321bac (diff)
downloadperl-3edbfbe5ecbb7e6fb99acc874379580a458f3cff.tar.gz
MakeMaker 3.8
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/Configure b/Configure
index 10dd65db12..3d3b38da5c 100755
--- a/Configure
+++ b/Configure
@@ -6320,7 +6320,9 @@ $cc $ccflags -c bar1.c >/dev/null 2>&1
$cc $ccflags -c bar2.c >/dev/null 2>&1
$cc $ccflags -c foo.c >/dev/null 2>&1
ar rc bar.a bar2.o bar1.o >/dev/null 2>&1
-if $cc $ccflags $ldflags -o foobar foo.o bar.a $libs > /dev/null 2>&1 &&
+if test -n "$ranlib" ; then
+ orderlib=false
+elif $cc $ccflags $ldflags -o foobar foo.o bar.a $libs > /dev/null 2>&1 &&
./foobar >/dev/null 2>&1; then
echo "ar appears to generate random libraries itself."
orderlib=false