summaryrefslogtreecommitdiff
path: root/src/pl
diff options
context:
space:
mode:
authorTom Lane2002-12-30 17:19:54 +0000
committerTom Lane2002-12-30 17:19:54 +0000
commit2e1f2c3109b43138ef32dbdba09abef7c9c51d5a (patch)
treebdd14e25b92cdaa092cdd0b22c682db39dcc3531 /src/pl
parent33f0108df8a79cdb6dbf91f7eb4329143c0730d8 (diff)
Make use of TCL_INCLUDE_SPEC if available (it's new in Tcl 8.4, too bad
it took 'em this long to realize it's needed...)
Diffstat (limited to 'src/pl')
-rw-r--r--src/pl/tcl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile
index 43f420c7e1f..c48671b0b32 100644
--- a/src/pl/tcl/Makefile
+++ b/src/pl/tcl/Makefile
@@ -2,7 +2,7 @@
#
# Makefile for the pltcl shared object
#
-# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.38 2002/05/24 18:10:17 petere Exp $
+# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.39 2002/12/30 17:19:54 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -11,6 +11,9 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
+override CPPFLAGS := $(CPPFLAGS) $(TCL_INCLUDE_SPEC)
+
+
# Find out whether Tcl was built as a shared library --- if not, we
# can't link a shared library that depends on it, and have to forget
# about building pltcl. In Tcl 8, tclConfig.sh sets TCL_SHARED_BUILD