This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Support sharing ARM headers for hard and soft float
> What I really want here is an AC_SUBSTed makefile variable, set by the
> same configure test that puts a definition in config.h with AC_DEFINE.
> But I think that's harder to do cleanly (completely independently for each
> port) than sorting out the config.h issue (bug 14068); autoconf appears to
> want to put all the AC_SUBSTed variables in one shell variable setting in
> configure initialization, which isn't really conducive to configure
> fragments adding their own.
Indeed. Perhaps you could use an AC_CONFIG_COMMANDS to write an extra file
like config.arm.make manually. I'm not sure there's any special reason to
prefer that over a makefile-generated makefile. Either one is far better
than using $(shell ...), which nobody should ever do.
Thanks,
Roland