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