Check-in [c4cb2ec7d1]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merged in trunk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tls-1-7
Files: files | file ages | folders
SHA1:c4cb2ec7d1a5551ec13aa22c3b5ed706ecd8f4ad
User & Date: rkeene 2016-12-13 20:23:44
Context
2016-12-13
20:23
TclTLS 1.7.9 check-in: 7b0845cfb3 user: rkeene tags: tls-1-7, tls-1-7-9
20:23
Merged in trunk check-in: c4cb2ec7d1 user: rkeene tags: tls-1-7
20:23
Updated install target to be more compliant for other platforms check-in: 942287db68 user: rkeene tags: trunk
18:55
TclTLS 1.7.8 check-in: 22c5b96dcd user: rkeene tags: tls-1-7, tls-1-7-8
Changes

Changes to Makefile.in.

    50     50   # tree -- the default target will not match paths
    51     51   .c.o:
    52     52   	$(CC) $(CPPFLAGS) $(CFLAGS) -o "$@" -c "$<"
    53     53   
    54     54   # Install the extension
    55     55   install: @EXTENSION_TARGET@ pkgIndex.tcl
    56     56   	$(INSTALL) -d '$(DESTDIR)$(PACKAGE_INSTALL_DIR)'
    57         -	$(INSTALL) -t '$(DESTDIR)$(PACKAGE_INSTALL_DIR)' @EXTENSION_TARGET@ pkgIndex.tcl
           57  +	$(INSTALL) -c @EXTENSION_TARGET@ pkgIndex.tcl '$(DESTDIR)$(PACKAGE_INSTALL_DIR)'
    58     58   
    59     59   # Test target, run the automated test suite
    60     60   test: @EXTENSION_TARGET@
    61     61   	@TCLSH_PROG@ @srcdir@/tests/all.tcl $(TESTFLAGS) -load "lappend auto_path $(shell pwd)"
    62     62   
    63     63   # Clean the local build directory for rebuild against the same configuration
    64     64   clean:

Changes to aclocal/tcl.m4.

   109    109   
   110    110   	TCLEXT_FIND_TCLCONFIG
   111    111   	TCLEXT_LOAD_TCLCONFIG
   112    112   
   113    113   	AC_DEFINE_UNQUOTED([MODULE_SCOPE], [static], [Define how to declare a function should only be visible to the current module])
   114    114   
   115    115   	TCLEXT_BUILD='shared'
          116  +	AC_ARG_ENABLE([shared], AS_HELP_STRING([--disable-shared], [disable the shared build (same as --enable-static)]), [
          117  +		if test "$enableval" = "no"; then
          118  +			TCLEXT_BUILD='static'
          119  +			TCL_SUPPORTS_STUBS=0
          120  +		fi
          121  +	])
          122  +
   116    123   	AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [enable a static build]), [
   117    124   		if test "$enableval" = "yes"; then
   118    125   			TCLEXT_BUILD='static'
   119    126   			TCL_SUPPORTS_STUBS=0
   120    127   		fi
   121    128   	])
   122    129   

Changes to tests/all.tcl.

    15     15   if {[lsearch [namespace children] ::tcltest] == -1} {
    16     16       package require tcltest
    17     17       namespace import ::tcltest::*
    18     18   }
    19     19   
    20     20   set ::tcltest::testSingleFile false
    21     21   set ::tcltest::testsDirectory [file dir [info script]]
    22         -::tcltest::configure -verbose start
    23     22   
    24     23   # We should ensure that the testsDirectory is absolute.
    25     24   # This was introduced in Tcl 8.3+'s tcltest, so we need a catch.
    26     25   catch {::tcltest::normalizePath ::tcltest::testsDirectory}
    27     26   
    28     27   puts stdout "Tests running in interp:  [info nameofexecutable]"
    29     28   puts stdout "Tests running in working dir:  $::tcltest::testsDirectory"