Re: [Python-Dev] weird configure (autotools) setup

2008-04-15 Thread Sérgio Durigan Júnior
Hi Jeroen On Sat, 2008-04-12 at 12:00 +0200, Jeroen Ruigrok van der Werven wrote: > Why is CFLAGS in Makefile.pre.in specified as > CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS) > whereas that will negate any CFLAGS you pass to configure? I suggest you read (and follow) this issue: http:/

Re: [Python-Dev] weird configure (autotools) setup

2008-04-12 Thread Martin v. Löwis
Jeroen Ruigrok van der Werven wrote: > Why is CFLAGS in Makefile.pre.in specified as > CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS) > whereas that will negate any CFLAGS you pass to configure? There is a long history to that. The short version is that configure decides on its own what flag

[Python-Dev] weird configure (autotools) setup

2008-04-12 Thread Jeroen Ruigrok van der Werven
Why is CFLAGS in Makefile.pre.in specified as CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS) whereas that will negate any CFLAGS you pass to configure? A normal call to configure (as ./configure --help also explains) can contain a CFLAGS specification, e.g.: CFLAGS="-compiler_options" ./con