[gnu.gcc.bug] fix to config.gcc

andy@CSVAX.CALTECH.EDU (Andy Fyfe) (10/18/88)

The script uses the variable "link" both as the name of the link program
and as the name of the link to be created.  Also, it gets the config.h
file wrong for the 3b1.  Diffs follow.

*** save/config.gcc	Mon Oct 17 21:15:42 1988
--- config.gcc	Mon Oct 17 21:18:11 1988
***************
*** 33,44 ****
  progname=$0
  
  remove=rm
! link=ln
  symbolic_link='ln -s'
  
  #for Test
  #remove="echo rm"
! #link="echo ln"
  #symbolic_link="echo ln -s"
  
  case $# in
--- 33,44 ----
  progname=$0
  
  remove=rm
! hard_link=ln
  symbolic_link='ln -s'
  
  #for Test
  #remove="echo rm"
! #hard_link="echo ln"
  #symbolic_link="echo ln -s"
  
  case $# in
***************
*** 124,129 ****
--- 124,130 ----
  		;;
  	3b1)
  		cpu_type=m68k
+ 		configuration_file=config-${machine}.h
  		;;
  	sequent-ns32k | sequent)
  		cpu_type=ns32k
***************
*** 182,188 ****
  		$remove -f $link
  		rm -f config.status
  		# Make a symlink if possible, otherwise try a hard link
! 		$symbolic_link $file $link 2>/dev/null || $link $file $link
  
  		if [ ! -r $link ]
  		then
--- 183,189 ----
  		$remove -f $link
  		rm -f config.status
  		# Make a symlink if possible, otherwise try a hard link
! 		$symbolic_link $file $link 2>/dev/null || $hard_link $file $link
  
  		if [ ! -r $link ]
  		then