From ac6637485be0fd6cd477139020b30d938ca9359b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 23 May 2000 02:12:46 +0000 Subject: Transmit -I switches selected by configure (particularly those from --with-includes) to makefiles for pltcl and plperl, so that these switches will be used even though we do not want other top-level CFLAGS. Ain't it fun trying to support multiple-compiler platforms? --- src/pl/plperl/Makefile.PL | 2 +- src/pl/tcl/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/pl') diff --git a/src/pl/plperl/Makefile.PL b/src/pl/plperl/Makefile.PL index 7980fa436f..565e8bbd28 100644 --- a/src/pl/plperl/Makefile.PL +++ b/src/pl/plperl/Makefile.PL @@ -54,7 +54,7 @@ my $perllib = "-L$Config{archlibexp}/CORE -lperl"; WriteMakefile( 'NAME' => 'plperl', dynamic_lib => { 'OTHERLDFLAGS' => "$opcode $perllib" } , - INC => '-I$(SRCDIR)/include -I$(SRCDIR)/backend', + INC => '-I$(SRCDIR)/include -I$(SRCDIR)/backend $(PGSQL_INCLUDES)', XS => { 'SPI.xs' => 'SPI.c' }, OBJECT => 'plperl.o eloglvl.o SPI.o', ); diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile index 65c4a05883..8400d364f3 100644 --- a/src/pl/tcl/Makefile +++ b/src/pl/tcl/Makefile @@ -4,7 +4,7 @@ # Makefile for the pltcl shared object # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.13 2000/05/22 23:56:44 momjian Exp $ +# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.14 2000/05/23 02:12:44 tgl Exp $ # #------------------------------------------------------------------------- @@ -66,11 +66,11 @@ CC = $(TCL_CC) # Instead use TCL's CFLAGS plus necessary -I directives. # Can choose either TCL_CFLAGS_OPTIMIZE or TCL_CFLAGS_DEBUG here, as needed -CFLAGS+= $(TCL_CFLAGS_OPTIMIZE) +CFLAGS= $(TCL_CFLAGS_OPTIMIZE) CFLAGS+= $(TCL_SHLIB_CFLAGS) $(TCL_DEFS) -CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend +CFLAGS+= -I$(SRCDIR)/include -I$(SRCDIR)/backend $(PGSQL_INCLUDES) # # Uncomment the following to enable the unknown command lookup -- cgit v1.2.1