From 7a5a3bd38b3547675ac5943e4a5bd2847118c758 Mon Sep 17 00:00:00 2001
From: William Joye <wjoye@cfa.harvard.edu>
Date: Fri, 13 Jan 2017 16:04:49 -0500
Subject: update TEA 3.10

---
 tclxml/Makefile.in            |  5 ++--
 tclxml/TclxmlConfig.sh.in     | 53 ++++++++++++++++------------------------
 tclxml/TclxmlConfig.sh.in.old | 56 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 79 insertions(+), 35 deletions(-)
 mode change 100644 => 100755 tclxml/TclxmlConfig.sh.in
 create mode 100644 tclxml/TclxmlConfig.sh.in.old

diff --git a/tclxml/Makefile.in b/tclxml/Makefile.in
index c24c8cc..8c2be55 100644
--- a/tclxml/Makefile.in
+++ b/tclxml/Makefile.in
@@ -243,9 +243,8 @@ test: binaries libraries
 		-load "package ifneeded ${PACKAGE_NAME} ${PACKAGE_VERSION} \
 			[list load `@CYGPATH@ $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"
 
-genstubs: $(srcdir)/tools/genStubs.tcl $(srcdir)/src/tclxml.decls
-	@echo $(TCLSH) $(srcdir)/tools/genStubs.tcl $(srcdir)/src $(srcdir)/src/tclxml.decls
-	@$(TCLSH) $(srcdir)/tools/genStubs.tcl $(srcdir)/src $(srcdir)/src/tclxml.decls
+genstubs: $(srcdir)/tools/genStubs.tcl $(srcdir)/tclxml.decls
+	@$(TCLSH) $(srcdir)/tools/genStubs.tcl $(srcdir) $(srcdir)/tclxml.decls
 
 shell: binaries libraries
 	@$(TCLSH) $(SCRIPT)
diff --git a/tclxml/TclxmlConfig.sh.in b/tclxml/TclxmlConfig.sh.in
old mode 100644
new mode 100755
index 2e0b09c..4574f7f
--- a/tclxml/TclxmlConfig.sh.in
+++ b/tclxml/TclxmlConfig.sh.in
@@ -1,56 +1,45 @@
 # tclxmlConfig.sh --
-# 
-# This shell script (for sh) is generated automatically by Tclxml's
+#
+# This shell script (for sh) is generated automatically by tclxml's
 # configure script.  It will create shell variables for most of
 # the configuration options discovered by the configure script.
 # This script is intended to be included by the configure scripts
-# for Tclxml extensions so that they don't have to figure this all
+# for tclxml extensions so that they don't have to figure this all
 # out for themselves.  This file does not duplicate information
 # already provided by tclConfig.sh, so you may need to use that
 # file in addition to this one.
 #
 # The information in this file is specific to a single platform.
 
-# Tclxml's version number.
-Tclxml_VERSION='@PACKAGE_VERSION@'
+# tclxml's version number.
+tclxml_VERSION='@PACKAGE_VERSION@'
 
-# The name of the Tclxml library (may be either a .a file or a shared library):
-Tclxml_LIB_FILE='@PKG_LIB_FILE@'
+# The name of the tclxml library (may be either a .a file or a shared library):
+tclxml_LIB_FILE=@PKG_LIB_FILE@
 
-# String to pass to linker to pick up the Tclxml library from its
+# String to pass to linker to pick up the tclxml library from its
 # build directory.
-Tclxml_BUILD_LIB_SPEC='@Tclxml_BUILD_LIB_SPEC@'
+tclxml_BUILD_LIB_SPEC='@tclxml_BUILD_LIB_SPEC@'
 
-# String to pass to linker to pick up the Tclxml library from its
+# String to pass to linker to pick up the tclxml library from its
 # installed directory.
-Tclxml_LIB_SPEC='@Tclxml_LIB_SPEC@'
+tclxml_LIB_SPEC='@tclxml_LIB_SPEC@'
 
-# The name of the Tclxml stub library (a .a file):
-Tclxml_STUB_LIB_FILE='@PKG_STUB_LIB_FILE@'
+# The name of the tclxml stub library (a .a file):
+tclxml_STUB_LIB_FILE=@PKG_STUB_LIB_FILE@
 
-# String to pass to linker to pick up the Tclxml stub library from its
+# String to pass to linker to pick up the tclxml stub library from its
 # build directory.
-Tclxml_BUILD_STUB_LIB_SPEC='@Tclxml_BUILD_STUB_LIB_SPEC@'
+tclxml_BUILD_STUB_LIB_SPEC='@tclxml_BUILD_STUB_LIB_SPEC@'
 
-# String to pass to linker to pick up the Tclxml stub library from its
+# String to pass to linker to pick up the tclxml stub library from its
 # installed directory.
-Tclxml_STUB_LIB_SPEC='@Tclxml_STUB_LIB_SPEC@'
+tclxml_STUB_LIB_SPEC='@tclxml_STUB_LIB_SPEC@'
 
-# String to pass to linker to pick up the Tclxml stub library from its
+# String to pass to linker to pick up the tclxml stub library from its
 # build directory.
-Tclxml_BUILD_STUB_LIB_PATH='@Tclxml_BUILD_STUB_LIB_PATH@'
+tclxml_BUILD_STUB_LIB_PATH='@tclxml_BUILD_STUB_LIB_PATH@'
 
-# String to pass to linker to pick up the Tclxml stub library from its
+# String to pass to linker to pick up the tclxml stub library from its
 # installed directory.
-Tclxml_STUB_LIB_PATH='@Tclxml_STUB_LIB_PATH@'
-
-# String to pass to the compiler so that an extension can find
-# installed header.
-Tclxml_INCLUDE_SPEC='@Tclxml_INCLUDE_SPEC@'
-
-# Location of the top-level source directories from which [incr Tcl]
-# was built.  This is the directory that contains generic, unix, etc.
-# If [incr Tcl] was compiled in a different place than the directory
-# containing the source files, this points to the location of the sources,
-# not the location where [incr Tcl] was compiled.
-Tclxml_SRC_DIR='@srcdir@'
+tclxml_STUB_LIB_PATH='@tclxml_STUB_LIB_PATH@'
diff --git a/tclxml/TclxmlConfig.sh.in.old b/tclxml/TclxmlConfig.sh.in.old
new file mode 100644
index 0000000..2e0b09c
--- /dev/null
+++ b/tclxml/TclxmlConfig.sh.in.old
@@ -0,0 +1,56 @@
+# tclxmlConfig.sh --
+# 
+# This shell script (for sh) is generated automatically by Tclxml's
+# configure script.  It will create shell variables for most of
+# the configuration options discovered by the configure script.
+# This script is intended to be included by the configure scripts
+# for Tclxml extensions so that they don't have to figure this all
+# out for themselves.  This file does not duplicate information
+# already provided by tclConfig.sh, so you may need to use that
+# file in addition to this one.
+#
+# The information in this file is specific to a single platform.
+
+# Tclxml's version number.
+Tclxml_VERSION='@PACKAGE_VERSION@'
+
+# The name of the Tclxml library (may be either a .a file or a shared library):
+Tclxml_LIB_FILE='@PKG_LIB_FILE@'
+
+# String to pass to linker to pick up the Tclxml library from its
+# build directory.
+Tclxml_BUILD_LIB_SPEC='@Tclxml_BUILD_LIB_SPEC@'
+
+# String to pass to linker to pick up the Tclxml library from its
+# installed directory.
+Tclxml_LIB_SPEC='@Tclxml_LIB_SPEC@'
+
+# The name of the Tclxml stub library (a .a file):
+Tclxml_STUB_LIB_FILE='@PKG_STUB_LIB_FILE@'
+
+# String to pass to linker to pick up the Tclxml stub library from its
+# build directory.
+Tclxml_BUILD_STUB_LIB_SPEC='@Tclxml_BUILD_STUB_LIB_SPEC@'
+
+# String to pass to linker to pick up the Tclxml stub library from its
+# installed directory.
+Tclxml_STUB_LIB_SPEC='@Tclxml_STUB_LIB_SPEC@'
+
+# String to pass to linker to pick up the Tclxml stub library from its
+# build directory.
+Tclxml_BUILD_STUB_LIB_PATH='@Tclxml_BUILD_STUB_LIB_PATH@'
+
+# String to pass to linker to pick up the Tclxml stub library from its
+# installed directory.
+Tclxml_STUB_LIB_PATH='@Tclxml_STUB_LIB_PATH@'
+
+# String to pass to the compiler so that an extension can find
+# installed header.
+Tclxml_INCLUDE_SPEC='@Tclxml_INCLUDE_SPEC@'
+
+# Location of the top-level source directories from which [incr Tcl]
+# was built.  This is the directory that contains generic, unix, etc.
+# If [incr Tcl] was compiled in a different place than the directory
+# containing the source files, this points to the location of the sources,
+# not the location where [incr Tcl] was compiled.
+Tclxml_SRC_DIR='@srcdir@'
-- 
cgit v0.12