diff options
Diffstat (limited to 'config/tcl.m4')
-rw-r--r-- | config/tcl.m4 | 15 |
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)])]) |