freebsd-ports/games/tvp/files/patch-aa
Steve Price bc087374d3 Update to use Tcl/Tk version 8.2.
Submitted by:	Ade Lovett <ade@lovett.com>
1999-11-28 18:32:45 +00:00

39 lines
1.3 KiB
Plaintext

--- configure.orig Tue Aug 19 20:57:12 1997
+++ configure Wed Nov 3 17:33:31 1999
@@ -1306,10 +1306,10 @@
WINDLL=true
TCLTK=""
-for tkver in 42 4.2 41 4.1 80 8.0
+for tkver in 82
do
- echo $ac_n "checking for Tk_Main in -ltk${tkver}""... $ac_c" 1>&6
-echo "configure:1313: checking for Tk_Main in -ltk${tkver}" >&5
+ echo $ac_n "checking for Tk_MainEx in -ltk${tkver}""... $ac_c" 1>&6
+echo "configure:1313: checking for Tk_MainEx in -ltk${tkver}" >&5
ac_lib_var=`echo tk${tkver}'_'Tk_Main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1322,10 +1322,10 @@
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char Tk_Main();
+char Tx_MainEx();
int main() {
-Tk_Main()
+Tk_MainEx()
; return 0; }
EOF
if { (eval echo configure:1332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
@@ -1345,7 +1345,7 @@
echo "$ac_t""yes" 1>&6
WINDLL=false
- for tclver in 76 7.6 75 7.5 80 8.0
+ for tclver in 82
do
echo $ac_n "checking for Tcl_Main in -ltcl${tclver}""... $ac_c" 1>&6
echo "configure:1352: checking for Tcl_Main in -ltcl${tclver}" >&5