Tcl Source Code

Artifact [2a5920cf73]
Login

Artifact 2a5920cf73f3f7b735956b3e6ad9cdb5661400eb:

Attachment "sampleextension_pkgIndex.patch" to ticket [1244153fff] added by mdejong 2005-07-25 14:22:54.
Index: README
===================================================================
RCS file: /cvsroot/tcl/sampleextension/README,v
retrieving revision 1.11
diff -u -r1.11 README
--- README	2 Jul 2003 00:34:06 -0000	1.11
+++ README	25 Jul 2005 07:11:50 -0000
@@ -33,6 +33,9 @@
 configure.in	Configure script template.  Autoconf uses this file as input
 		to produce the final configure script.
 
+pkgIndex.tcl.in Package index template.  The configure script will use
+		this file as input to create pkgIndex.tcl.
+
 sample.c	Core Secure Hash Algorithm code.
 
 sample.h	Header file for functions in the C files.
@@ -73,7 +76,8 @@
 Msys + Mingw build process. This provides a Unix-style build while
 generating native Windows binaries. Using the Msys + Mingw build tools
 means that you can use the same configure script as per the Unix build
-to create a Makefile.
+to create a Makefile. See the tcl/win/README file for the URL of
+the Msys + Mingw download.
 
 If you have VC++ then you may wish to use the files in the win
 subdirectory and build the extension using just VC++. These files have
Index: configure.in
===================================================================
RCS file: /cvsroot/tcl/sampleextension/configure.in,v
retrieving revision 1.41
diff -u -r1.41 configure.in
--- configure.in	25 Jul 2005 02:46:23 -0000	1.41
+++ configure.in	25 Jul 2005 07:11:50 -0000
@@ -189,4 +189,4 @@
 # which require substituting th AC variables in.  Include these here.
 #--------------------------------------------------------------------
 
-AC_OUTPUT([Makefile])
+AC_OUTPUT([Makefile pkgIndex.tcl])
Index: pkgIndex.tcl.in
===================================================================
RCS file: pkgIndex.tcl.in
diff -N pkgIndex.tcl.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkgIndex.tcl.in	25 Jul 2005 07:11:50 -0000
@@ -0,0 +1,5 @@
+#
+# Tcl package index file
+#
+package ifneeded Tclsha1 @PACKAGE_VERSION@ \
+    [list load [file join $dir @PKG_LIB_FILE@]]