summaryrefslogtreecommitdiff
path: root/science/omnetpp/files/patch-configure
blob: b91204ae708c07139df45473254ab0e7381e35db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- configure.orig	2006-10-21 17:47:44.000000000 +0200
+++ configure	2008-04-06 15:04:21.000000000 +0200
@@ -5152,6 +5152,7 @@
 echo "$as_me: error: Cannot find wish, part of Tcl/Tk -- maybe it is not in the PATH or has some exotic name (tested names were: wish wish85 wish8.5 wish84 wish8.4 cygwish cygwish85 cygwish84)" >&2;}
    { (exit 1); exit 1; }; }
 fi
+if false; then
 if echo 'puts OK; exit' | $WISH | grep OK >/dev/null; then :; else
     { { echo "$as_me:$LINENO: error: Cannot run wish (wish command \"puts OK; exit\" failed): maybe you're not running X or DISPLAY environment variable not set?" >&5
 echo "$as_me: error: Cannot run wish (wish command \"puts OK; exit\" failed): maybe you're not running X or DISPLAY environment variable not set?" >&2;}
@@ -5162,6 +5163,7 @@
 echo "$as_me: error: wish command \"package require Tk 8.4\" failed: probably old Tcl/Tk version, version 8.4.0+ required" >&2;}
    { (exit 1); exit 1; }; }
 fi
+fi
 
 # note: square brackets necessary otherwise M4 messes up the Tcl command
 tcl_library=`echo 'puts [info library]; exit' | $WISH`