Overview
Comment: | Updated to not rely on a fancy shell constructs |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ca1a93c896c7a6aee9a300bf44460aa1 |
User & Date: | rkeene on 2014-06-21 21:29:05 |
Other Links: | manifest | tags |
Context
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 | |
21:20 | tcc4tcl 0.20 check-in: 7091d27bbd user: rkeene tags: trunk, 0.20 | |
Changes
Modified build/tcc-patches/0.9.26/tcc-0.9.26-tcl.diff from [259708aa9d] to [bf87141dc3].
1 2 | diff -uNr tcc-0.9.26.orig/configure tcc-0.9.26-1tcl/configure --- tcc-0.9.26.orig/configure 2013-02-15 08:24:00.000000000 -0600 | | | 1 2 3 4 5 6 7 8 9 10 | diff -uNr tcc-0.9.26.orig/configure tcc-0.9.26-1tcl/configure --- tcc-0.9.26.orig/configure 2013-02-15 08:24:00.000000000 -0600 +++ tcc-0.9.26-1tcl/configure 2014-06-21 16:28:18.930011999 -0500 @@ -43,6 +43,7 @@ tcc_libpaths="" tcc_crtprefix="" tcc_elfinterp="" +tcc_tcl_path="" tcc_lddir= confvars= |
︙ | ︙ | |||
41 42 43 44 45 46 47 | + LDFLAGS="$LDFLAGS $TCL_LIB_SPEC $TCL_LIBS" + CFLAGS="$CFLAGS $TCL_INCLUDE_SPEC -DHAVE_TCL_H=1" + set | egrep '^(CFLAGS|LDFLAGS)=' + ) +} + +if [ -n "${tcc_tcl_path}" ]; then | | | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | + LDFLAGS="$LDFLAGS $TCL_LIB_SPEC $TCL_LIBS" + CFLAGS="$CFLAGS $TCL_INCLUDE_SPEC -DHAVE_TCL_H=1" + set | egrep '^(CFLAGS|LDFLAGS)=' + ) +} + +if [ -n "${tcc_tcl_path}" ]; then + for tcc_tcl_path_file in "${tcc_tcl_path}/tclConfig.sh" "${tcc_tcl_path}/lib/tclConfig.sh" "${tcc_tcl_path}/lib64/tclConfig.sh" "${tcc_tcl_path}/lib32/tclConfig.sh"; do + if [ -f "${tcc_tcl_path_file}" ]; then + eval `print_tcl_defs "${tcc_tcl_path_file}"` + break + fi + done +fi + |
︙ | ︙ |