Index: .fossil-settings/ignore-glob ================================================================== --- .fossil-settings/ignore-glob +++ .fossil-settings/ignore-glob @@ -8,10 +8,12 @@ config.log/* config.status config.status/* configure configure/* +pkgIndex.tcl +pkgIndex.tcl/* tclpkcs11.dll tclpkcs11.dll.a tclpkcs11.dll.a/* tclpkcs11.dll.def tclpkcs11.dll.def/* Index: Makefile.in ================================================================== --- Makefile.in +++ Makefile.in @@ -17,8 +17,9 @@ rm -f tclpkcs11.@SHOBJEXT@.a tclpkcs11.@SHOBJEXT@.def distclean: clean rm -rf autom4te.cache rm -f config.log config.status + rm -f pkgIndex.tcl rm -f Makefile .PHONY: all clean distclean Index: build/makearch.info ================================================================== --- build/makearch.info +++ build/makearch.info @@ -4,11 +4,11 @@ # This is the name of output files that should exist after configure # procedures. BINS="tclpkcs11.so" # This lists the name of files that are required to exist -REQS="" +REQS="pkgIndex.tcl" # Version of utility, if empty it will be guessed. # If set to "auto" it will be maintained in a file called .version # in the source directory and the revision will be incremented # each time a "makearch" is done. Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -24,6 +24,6 @@ dnl Look for appropriate headers AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h) dnl Produce output -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile pkgIndex.tcl) ADDED pkgIndex.tcl.in Index: pkgIndex.tcl.in ================================================================== --- /dev/null +++ pkgIndex.tcl.in @@ -0,0 +1,1 @@ +package ifneeded pki::pkcs11 @PACKAGE_VERSION@ [list load [file join $dir tclpkcs11.@SHOBJEXT@] Tclpkcs11]