This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: install bug in top-level Makefile.in
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: install bug in top-level Makefile.in
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Thu, 2 Mar 2000 16:15:44 -0500
- References: <38BE62AA.28207.8620FF@localhost> (snowball3@bigfoot.com)
> 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