summaryrefslogtreecommitdiff
blob: 782800f2c866b16fc7233213b6739dd06150792b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- postgresql-7.1.3/src/pl/plperl/Makefile.PL_orig	2002-01-31 02:34:59.000000000 +0100
+++ postgresql-7.1.3/src/pl/plperl/Makefile.PL	2002-01-31 02:35:11.000000000 +0100
@@ -4,33 +4,6 @@
 use Config;
 
 #
-# Can't build a shared plperl unless libperl is shared too.
-# (Actually, it would be enough if code in libperl.a is compiled
-# to be position-independent, but that is hard to check for and
-# seems pretty unlikely anyway.)
-#
-if ($Config{'useshrplib'} ne 'true') {
-	open(OUT, ">Makefile") or die "Can't write Makefile: $!\n";
-	print OUT <<'EndOfMakefile';
-# Dummy Makefile for use when we can't build plperl
-
-all install:
-	@echo "*****"; \
-	 echo "* Cannot build PL/Perl because libperl is not a shared library." ; \
-	 echo "* Skipped."; \
-	 echo "*****"
-
-
-clean realclean:
-	rm -f Makefile
-
-EndOfMakefile
-	close(OUT);
-	exit(0);
-}
-
-
-#
 # get the location of the Opcode module
 #
 my $opcode = '';