autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updated win32 macro


From: Christopher Faylor
Subject: Re: updated win32 macro
Date: Thu, 15 Mar 2001 19:08:30 -0500
User-agent: Mutt/1.3.11i

On Fri, Mar 16, 2001 at 09:56:43AM +1100, Robert Collins wrote:
>So in a nutshell, because some packages change CFLAGS, and others change
>CC, we require everyone to change their Makefiles ?
>
>I agree that overriding CC is bad - thats why it was changed to CFLAGS.
>But CFLAGS is the standard way of changing the compiler behaviour - why
>do the makefiles over ride that? And how common a practice is that?
>
>In fact, on second thought, packages that override CFLAGS just use the
>low level interface
>AC_PROG_CC_WIN32
>EXTRA_CFLAGS="$WIN32FLAGS"

I'm sure that the autoconf maintainers have more experience with this
than I, but IMO relying on overriding of CC and CFLAGS isn't the way to
go.  When I first started changing things, I thought I could use this
technique but I think it is too fragile.

cgf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]