This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: install bug in top-level Makefile.in


> A simpler change would be to modify the top level configure.in to
> rewrite the INSTALL line on the DJGPP host.  Search for RPATH_ENVVAR
> in that file to see an example of rewriting a make variable on a
> specific host.
> 

Well, here's the patch.

2000-03-02 Mark Elbrecht <snowball3@bigfoot.com>
	* configure.in: Set top level INSTALL line in Makefile to 'ginstall -c'
	  for DJGPP host.

*** configure.in.orig	Sun Feb 27 23:24:30 2000
--- configure.in	Thu Mar  2 15:02:52 2000
***************
*** 1210,1215 ****
--- 1210,1225 ----
  rm -f Makefile
  mv -f Makefile.tem Makefile
  
+ # Let hosts override the install program.
+ case ${host} in
+   *-*-msdosdjgpp*)
+     sed -e "s|^INSTALL[    ]*=.*$|INSTALL = ginstall -c|" \
+ 	Makefile > Makefile.tem
+     rm -f Makefile
+     mv -f Makefile.tem Makefile
+     ;;
+ esac
+ 
  #
  # Local Variables:
  # fill-column: 131


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]