From 2f2d05763d1c55c7998c0d7030659e3db6f60183 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 24 May 2002 18:10:17 +0000 Subject: Change PL/Tcl build to use configured compiler and Makefile.shlib system, not Tcl-provided one. Make sure export file, if any, is cleaned. Tcl configuration is now read directly in configure and recorded in Makefile.global. This eliminates some duplicate efforts and allows for easier hand-editing of the results, if necessary. --- config/tcl.m4 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'config/tcl.m4') diff --git a/config/tcl.m4 b/config/tcl.m4 index 1470b8122b..d3407c924f 100644 --- a/config/tcl.m4 +++ b/config/tcl.m4 @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/config/tcl.m4,v 1.3 2002/03/29 17:32:54 petere Exp $ +# $Header: /cvsroot/pgsql/config/tcl.m4,v 1.4 2002/05/24 18:10:17 petere Exp $ # Autoconf macros to check for Tcl related things @@ -74,3 +74,16 @@ fi AC_SUBST([TK_CONFIG_SH]) ])# PGAC_PATH_TKCONFIGSH + + +# PGAC_EVAL_TCLCONFIGSH(FILE, WANTED-VARS) +# ---------------------------------------- +# Assigns variables listed in WANTED-VARS by reading FILE and +# evaluating it according to the quoting scheme of tclConfig.sh and +# tkConfig.sh. Calls AC_SUBST for each variable. + +AC_DEFUN([PGAC_EVAL_TCLCONFIGSH], +[. "$1" +m4_foreach([pgac_item], [$2], +[eval pgac_item=\"[$]pgac_item\" +AC_SUBST(pgac_item)])]) -- cgit v1.2.1