Diff

Differences From Artifact [259708aa9d]:

To Artifact [bf87141dc3]:


     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 09:48:08.270011999 -0500
            3  ++++ tcc-0.9.26-1tcl/configure	2014-06-21 16:28:18.930011999 -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=
................................................................................
    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)='
    44     44   +	)
    45     45   +}
    46     46   +
    47     47   +if [ -n "${tcc_tcl_path}" ]; then
    48         -+	for tcc_tcl_path_file in ${tcc_tcl_path}/{,lib,lib64}/tclConfig.sh; do
           48  ++	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
    49     49   +		if [ -f "${tcc_tcl_path_file}" ]; then
    50     50   +			eval `print_tcl_defs "${tcc_tcl_path_file}"`
    51     51   +			break
    52     52   +		fi
    53     53   +	done
    54     54   +fi
    55     55   +