summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2002-05-24 18:10:17 +0000
committerPeter Eisentraut <peter_e@gmx.net>2002-05-24 18:10:17 +0000
commit2f2d05763d1c55c7998c0d7030659e3db6f60183 (patch)
tree712315fa10be6aae8bc89a26db9d1be221248183 /config
parentc0fdec2b6a5ff5981c097101a938dea890be2392 (diff)
downloadpostgresql-2f2d05763d1c55c7998c0d7030659e3db6f60183.tar.gz
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.
Diffstat (limited to 'config')
-rw-r--r--config/tcl.m415
1 files changed, 14 insertions, 1 deletions
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)])])