aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/graphviz/files/patch-configure.in
blob: 9a347623348ae1f96b9c39890a60489c4059840f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- configure.in.orig   Fri Jul 13 19:50:41 2001
+++ configure.in    Wed Nov  7 16:50:08 2001
@@ -97,7 +97,9 @@
 
 # Some systems don't have Tcl.  Don't build
 # the Tcl products if we don't have the library.
-TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib/tclConfig.sh
+if test -z $TCLCONFIG; then
+    TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib/tclConfig.sh
+fi
 if test -f $TCLCONFIG; then
     AC_MSG_RESULT([using $TCLCONFIG])
     file=${TCLCONFIG}
@@ -173,7 +175,9 @@
 
 # Some systems have Tcl, but not TK.  Don't build
 # the Tk products if we don't have the library.
-TKCONFIG=${WISH_EXEC_PREFIX}/lib/tkConfig.sh
+if test -z $TKCONFIG; then
+    TKCONFIG=${WISH_EXEC_PREFIX}/lib/tkConfig.sh
+fi
 if test -f $TKCONFIG; then
     AC_MSG_RESULT([using $TKCONFIG])
     file=${TKCONFIG}