summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorPaul Marquess <paul.marquess@btinternet.com>2000-10-14 14:37:49 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-14 14:24:50 +0000
commiteedaba540bbd9967b7e1fdfd27b4f76617a87c00 (patch)
tree04934ebf48eb056d7e68a7bc4180248d4841e545 /Configure
parent0835f758e44dae76a019bebad8282087f6c90385 (diff)
downloadperl-eedaba540bbd9967b7e1fdfd27b4f76617a87c00.tar.gz
Needs to be conditional on SunOS 4.
Subject: [Pach 5.7.0@7229] Removing -ldb from the core build Message-ID: <000101c035db$8ffb60a0$2614140a@bfs.phone.com> p4raw-id: //depot/perl@7230
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure25
1 files changed, 16 insertions, 9 deletions
diff --git a/Configure b/Configure
index 8daae150fd..79d3ad90ff 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Oct 13 02:10:51 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Sat Oct 14 17:18:06 EET DST 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >/tmp/c1$$ <<EOF
@@ -15171,14 +15171,21 @@ extensions="$*"
: Remove libraries needed only for extensions
: The appropriate ext/Foo/Makefile.PL will add them back in, if necessary.
-case "$usedl" in
-$define|true|[yY]*)
- set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
- shift
- perllibs="$*"
- ;;
-*) perllibs="$libs"
- ;;
+: The exception is SunOS 4.x, which needs them.
+case "${osname}X${osvers}" in
+sunos*X4*)
+ perllibs="$libs"
+ ;;
+*) case "$usedl" in
+ $define|true|[yY]*)
+ set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
+ shift
+ perllibs="$*"
+ ;;
+ *) perllibs="$libs"
+ ;;
+ esac
+ ;;
esac
: Remove build directory name from cppstdin so it can be used from