summaryrefslogtreecommitdiff
path: root/extra/ocaml/tk8.6-build.patch
blob: 439a930f08c6650bab850be89d94b7db9f5b1899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/ocaml-4.00.1/configure	2012-06-26 08:33:50.000000000 -0700
+++ p/src/ocaml-4.00.1/configure	2013-01-05 17:06:54.877900143 -0800
@@ -804,6 +804,9 @@
 echo "ARCMD=ar" >> Makefile
 
 
+bytecccompopts="$bytecccompopts -DUSE_INTERP_RESULT"
+nativecccompopts="$nativecccompopts -DUSE_INTERP_RESULT"
+
 # Do #! scripts work?
 
 if (SHELL=/bin/sh; export SHELL; (./sharpbang || ./sharpbang2) >/dev/null); then
@@ -1450,6 +1453,7 @@
   if test -n "$tcl_version" && test "x$tcl_version" != "xnone"; then
     echo "tcl.h and tk.h version $tcl_version found with \"$tk_defs\"."
     case $tcl_version in
+    8.6) tclmaj=8 tclmin=6 tkmaj=8 tkmin=6 ;;
     8.5) tclmaj=8 tclmin=5 tkmaj=8 tkmin=5 ;;
     8.4) tclmaj=8 tclmin=4 tkmaj=8 tkmin=4 ;;
     8.3) tclmaj=8 tclmin=3 tkmaj=8 tkmin=3 ;;