>>>>> "Mo" == Mo DeJong <[EMAIL PROTECTED]> writes:

Mo> I just noticed that the more I run ./config.status --recheck the
Mo> more CFLAGS arguments show up in ./configure line that gets
Mo> rerun. (This is after two re-configures)

Mo> % make /bin/sh ./config.status --recheck running /bin/sh
Mo> /home/mo/project/tkgs/configure CFLAGS=-g -O2 CFLAGS=-g -O2
Mo> --host=i386-mingw32msvc
Mo> --with-tcl=/home/mo/project/build/tcl_Xmingw
Mo> --with-tk=/home/mo/project/build/tk_Xmingw
Mo> --prefix=/tmp/tkgs_Xmingw --no-create --no-recursion

Arg, CFLAGS is declared to AC_ARG_VAR, which means it is precious, and
the value it was set to must be kept, so it is kept for --recheck.

Since in addition you passed it on the cmd line of configure, it is
saved twice.  Thanks for noticing.

Mo> Also, if CFLAGS is not set to anything by the user, why should it
Mo> get passed into the ./configure on the command line?

My opinion is that the current behavior is fine, but I'm open to
discussion.

Reply via email to