xconfig annoyance fixed

Steven N. Hirsch (shirsch@ibm.net)
Fri, 10 Oct 1997 22:07:02 -0400 (EDT)


Linus, et al,

This fixes a problem which occurs running xconfig as a standalone program
when sound is configured in the kernel:

*** linux/scripts/header.tk.orig Sat Sep 6 20:55:39 1997
--- linux/scripts/header.tk Fri Oct 10 21:59:11 1997
***************
*** 461,463 ****
--- 461,473 ----

frame .f0

+ #
+ # It's handy to run xconfig directly without a "make xconfig". But
+ # in that case the $MAKE environment variable will not be set, so
+ # take care of it here. Steven Hirsch <shirsch@ibm.net>.
+ #
+
+ if { [llength [array names env "MAKE"]] == 0 \
+ || [string length $env(MAKE)] == 0 } {
+ set env(MAKE) "make"
+ }