make xconfig broken by 2.0.3, patch included

David R. Conrad (drc@russell.dialip.mich.net)
Sun, 7 Jul 1996 04:54:09 -0400 (EDT)


Hello wonderful kernel development team!

The following patch fixes the problem with make xconfig dying with
the error "Bad if clause at line 60(drivers/scsi/Config.in)":

-=-=- cut here -=-=-
*** linux-2.0.3/drivers/scsi/Config.in.orig Sun Jul 7 04:39:08 1996
--- linux-2.0.3/drivers/scsi/Config.in Sun Jul 7 04:39:48 1996
***************
*** 57,63 ****
bool ' force asynchronous transfer mode' CONFIG_SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS
bool ' force synchronous negotiation' CONFIG_SCSI_NCR53C8XX_FORCE_SYNC_NEGO
fi
! if [ "$CONFIG_SCSI_NCR53C8XX" != "n" -a $CONFIG_EXPERIMENTAL = 'y' ]; then
bool ' disable master parity checking' CONFIG_SCSI_NCR53C8XX_DISABLE_MPARITY_CHECK
bool ' disable scsi parity checking' CONFIG_SCSI_NCR53C8XX_DISABLE_PARITY_CHECK
fi
--- 57,63 ----
bool ' force asynchronous transfer mode' CONFIG_SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS
bool ' force synchronous negotiation' CONFIG_SCSI_NCR53C8XX_FORCE_SYNC_NEGO
fi
! if [ "$CONFIG_SCSI_NCR53C8XX" != "n" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then
bool ' disable master parity checking' CONFIG_SCSI_NCR53C8XX_DISABLE_MPARITY_CHECK
bool ' disable scsi parity checking' CONFIG_SCSI_NCR53C8XX_DISABLE_PARITY_CHECK
fi
-=-=- cut here -=-=-

I hope that Pine hasn't munged it by wrapping lines; doesn't seem to have
at this end.

Also, if you change "-f .name" to "-s .name" in the top level Makefile it
should get rid of the trailing-hyphen-on-version-in-uname glitch for those
who like to patch their kernel source, like me.

Linux russell 2.0.2 #15- Fri Jul 5 12:52:37 EDT 1996 i486
^
(That hyphen; I did (cd /usr/src/linux; rm .name .name.orig); not too
important but thought I might mention it.)

Regards from a satisfied Linux user since 1.1.59,

--
David R. Conrad, conrad@detroit.freenet.org : PGP key on :  GDFN Hardware and
   http://www.freenet.org/staff/conrad/     :  home page : Software Committee
Union of Computer Hackers,  :  From the collection of rare photographs:
Local 2^859433-1 APL-CPIO   :    #18: Larry wall writing an awk script.