Is there any "conventional" way to save options passed to a ./configure
script?
On the rare occasion that I need to build something from source, I generally need to pass it non-standard configure options (eg, --prefix=...
, --with-foo=...
, etc)… Then when I eventually need to re-build it, I've forgotten all the options I originally used.
Currently I use something like this:
$ mv configure{,.real}
$ echo "./configure.real --prefix=... --with-foo=..." > ./configure
$ chmod +x ./configure
But that feels… Less then ideal.