Check-in [8615f936d3]
Overview
Comment:Updated to use "source" instead of "." to source a file, for really old shells
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8615f936d3af2410775a7a1a9b5ad2f6aad33c9a
User & Date: rkeene on 2014-06-21 21:44:15
Other Links: manifest | tags
Context
2014-06-22
17:31
Updated to get pointers from Tcl using Tcl_GetWideIntFromObj() check-in: 6deb0e2500 user: rkeene tags: trunk
2014-06-21
21:44
Updated to use "source" instead of "." to source a file, for really old shells check-in: 8615f936d3 user: rkeene tags: trunk
21:29
Updated to not rely on a fancy shell constructs check-in: ca1a93c896 user: rkeene tags: trunk
Changes

Modified build/tcc-patches/0.9.26/tcc-0.9.26-tcl.diff from [bf87141dc3] to [e727d46678].

     1      1   diff -uNr tcc-0.9.26.orig/configure tcc-0.9.26-1tcl/configure
     2      2   --- tcc-0.9.26.orig/configure	2013-02-15 08:24:00.000000000 -0600
     3         -+++ tcc-0.9.26-1tcl/configure	2014-06-21 16:28:18.930011999 -0500
            3  ++++ tcc-0.9.26-1tcl/configure	2014-06-21 16:43:35.180011999 -0500
     4      4   @@ -43,6 +43,7 @@
     5      5    tcc_libpaths=""
     6      6    tcc_crtprefix=""
     7      7    tcc_elfinterp=""
     8      8   +tcc_tcl_path=""
     9      9    tcc_lddir=
    10     10    confvars=
................................................................................
    29     29   @@ -339,6 +343,29 @@
    30     30      esac
    31     31    fi
    32     32    
    33     33   +print_tcl_defs() {
    34     34   +	(
    35     35   +		tclConfig="$1"
    36         -+		. "${tclConfig}"
           36  ++		source "${tclConfig}"
    37     37   +		if [ "${TCL_SUPPORTS_STUBS}" = '1' ]; then
    38     38   +			TCL_LIBS="${TCL_LIBS} ${TCL_STUB_LIB_SPEC}"
    39     39   +		fi
    40     40   +
    41     41   +		LDFLAGS="$LDFLAGS $TCL_LIB_SPEC $TCL_LIBS"
    42     42   +		CFLAGS="$CFLAGS $TCL_INCLUDE_SPEC -DHAVE_TCL_H=1"
    43     43   +		set | egrep '^(CFLAGS|LDFLAGS)='