I have a set of prebuilt libraries that work great, but I want to reproduce them. Is there a file inside the libraries which work great for cross compile, that will tell me how to recompile them (./configure options?)
Indeed the configure.options file will allow you to keep the options you have. You can check the content of the config.status file to see how it is used.