How do I determine the options used for ./configure when a .deb package was built?
I want to build a new package from a newer version of the software and make it as close to a drop-in replacement as possible, so getting the ./configure options right is presumably important.
As a broader question, is there a generally good way to do this type of thing? I'm currently planning to get the ./configure right, then make / checkinstall -D and see what I get.
The package in question is dspam (3.6.8 in repos, 3.8 I want).