diff --git a/src/configure.in b/src/configure.in index 2aa54d0b5ed72e6f796ee3bbaa3d54bec61ae9c5..bc5d5f7b87513685a77c8f94a0b2ab4d72d0f6fb 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