From 58bfd19302e81a3c8262f94672212e191d1842a9 Mon Sep 17 00:00:00 2001
From: Miller Puckette <msp@ucsd.edu>
Date: Thu, 20 Dec 2007 10:54:32 -0800
Subject: [PATCH] fix config bug

---
 src/configure.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/configure.in b/src/configure.in
index 2aa54d0b5..bc5d5f7b8 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -101,10 +101,6 @@ fi
 
 dnl look for tcl 8.x... do I really have to go through all this!?
 
-if test x$tk != "xno"; then
-GUISRC="t_main.c t_tkcmd.c"
-fi
-
 foundit=no
 if test $foundit = "no";
 then
@@ -171,6 +167,12 @@ AC_CHECK_LIB(tk85, main,,
                             echo no tk library found; exit 1)))))))
 
 
+if test x$tk != "xno"; then
+GUISRC="t_main.c t_tkcmd.c"
+else
+GUISRC=
+fi
+
 if test `uname -s` = Linux;
 then
     dnl Ckecking for ALSA
-- 
GitLab