[PATCH]: Separate target and host config files

Nathan Sidwell nathan@codesourcery.com
Sat May 7 09:02:00 GMT 2005


Zack Weinberg wrote:
> Nathan Sidwell <nathan@codesourcery.com> writes:

> You might be able to get rid of the extra blank line by writing
> 
> #endif[]dnl
> ]))])

oh, don't think I didn't try all sorts of variations on that theme.
Nothing works -- dnl gets copied through to the target.  Trying to
add/remove/move [] quotes was no help.

> I think the redefinition of AH_TEMPLATE belongs in configure.ac, not
> aclocal.m4, but if the autoconf custom is to put it in aclocal.m4 then
> go with that.
I have no clue.  paolo is the expert there, and that's where he indicated
it should go.

> I don't see how auto-host.h is now getting included in tconfig.h.

this line does it.
	! xm_file="auto-host.h ansidecl.h ${xm_file}"
that list is fed to mkconfig.sh, which spits out those #includes.  The
previous version of the patch had 'auto-target.h' at that point.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-patches mailing list