[libav-devel] [PATCH] configure: Provide an option to override the environment

Niels Möller nisse at lysator.liu.se
Tue Jun 16 16:12:00 CEST 2015


Martin Storsjö <martin at martin.st> writes:

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

It's displayed by ./config.status --version. E.g.,

  ~/build/gmp$ ./config.status --version
  GNU MP config.status 6.0.0
  configured by /home/nisse/hack/gmp/configure, generated by GNU Autoconf 2.69,
  with options "'--disable-shared' '--disable-assembly' '--enable-assert'"

> 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).

I often do that too. 

With autoconf, I'd run ./config.status --version, copy and paste the
command line it displays, and edit as needed. Or more precisely, I'd
stick a "make distclean &&" before the configure command, and often "&&
make && make check" after. (Note that make distclean deletes
config.status, so things have to be done in the right order).

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the libav-devel mailing list