On Tue, 16 Jun 2015, Niels Möller wrote:

Martin Storsjö <[email protected]> writes:

Also, with autoconf I often end up needing to set CC and CFLAGS via
the env, which are lost in the process when reconfiguring later

Side note: With non-ancient autoconf, CC ought to be retained by
config.status --recheck.

See
https://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fARG_005fVAR-1209

And I think that's a nice feature of the configure system.

Oh - thanks. Are those stored easily visible somewhere as well?

One of the more common usecases for me is to rerun configure with the same set of configure options, but adjusting them slightly (for build trees that I haven't built recently). With libav, I edit the top of config.mak and rerun "make config", while with autoconf I check the head of config.log and rerun configure with those, but I don't remember seeing CC there (although perhaps my autoconf has been too old).

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to