[OpenAFS-devel] debug/optimize flags in Makefiles...
Derrick J Brashear
shadow@dementia.org
Wed, 24 Oct 2001 18:16:27 -0400 (EDT)
Gah, you kids and your wide replies.
On 24 Oct 2001, Derek Atkins wrote:
> Derrick J Brashear <shadow@dementia.org> writes:
>
> > So would I but we don't have capability to autogenerate all the
> > information in these yet. Especially which compiler needs to be used for
> > kernel modules... there's no easy way to use autoconf to test for these.
>
> Why not? It's already based on sysname, which you can generate
> from autoconf.. You choose which Makefile.`sys` to use based
> on information you generate from autoconf. So, why not put the
> logic into autoconf?
Note that I said "to test for" not "to hardcode"
> Shouldn't be too hard to have a giant 'case' statement to choose
> those parameters. ;)
Not really, no.
-D