File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -1175,9 +1175,6 @@ AC_OUTPUT(
11751175 src/GNUmakefile
11761176 src/Makefile.global
11771177 src/backend/port/Makefile
1178- src/pl/tcl/modules/pltcl_listmod
1179- src/pl/tcl/modules/pltcl_loadmod
1180- src/pl/tcl/modules/pltcl_delmod
11811178],
11821179[
11831180# Update timestamp for config.h (see Makefile.global)
Original file line number Diff line number Diff line change 11# -*-makefile-*-
2- # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.125 2001/05/09 19:57:33 momjian Exp $
2+ # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.126 2001/05/09 20: 19:30 momjian Exp $
33
44# ------------------------------------------------------------------------------
55# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -125,6 +125,7 @@ krb_srvtab = @krb_srvtab@
125125
126126TCL_CONFIG_SH = @TCL_CONFIG_SH@
127127TK_CONFIG_SH = @TK_CONFIG_SH@
128+ TCLSH = @TCLSH@
128129
129130have_docbook = @have_docbook@
130131DOCBOOKSTYLE = @DOCBOOKSTYLE@
Original file line number Diff line number Diff line change 22#
33# Makefile for the pltcl shared object
44#
5- # $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.28 2001/05/09 20:08:08 momjian Exp $
5+ # $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.29 2001/05/09 20:19:30 momjian Exp $
66#
77# -------------------------------------------------------------------------
88
9393
9494ifeq ($(TCL_SHARED_BUILD ) , 1)
9595
96- all : $(INFILES )
96+ all : $(INFILES ) tcl_unknown
97+
98+ tcl_unknown : $(top_builddir ) /src/Makefile.global \
99+ modules/pltcl_loadmod.in \
100+ modules/pltcl_delmod.in \
101+ modules/pltcl_listmod.in
102+ ifeq ($(enable_pltcl_unknown ) , yes)
103+ sed -e 's/@TCLSH@/$(TCLSH)/g' modules/pltcl_loadmod.in > modules/pltcl_loadmod
104+ sed -e 's/@TCLSH@/$(TCLSH)/g' modules/pltcl_delmod.in > modules/pltcl_delmod
105+ sed -e 's/@TCLSH@/$(TCLSH)/g' modules/pltcl_listmod.in > modules/pltcl_listmod
106+ chmod a+x modules/pltcl_loadmod modules/pltcl_delmod modules/pltcl_listmod
107+ endif
97108
98109pltcl$(DLSUFFIX ) : pltcl.o
99110
You can’t perform that action at this time.
0 commit comments