flavorjones / mini_portile

mini_portile and mini_portile2 - Simple autoconf and cmake builder for developers
MIT License
114 stars 51 forks source link

fix: source_directory option on windows #126

Closed flavorjones closed 1 year ago

flavorjones commented 1 year ago

This PR updates the source_directory behavior to use a posix path internally, because autoconf configure scripts get confused when presented with a windows path.

So if the windows path to the source directory is D:\temp\project, the configure script will be invoked as /D/temp/project/configure so that detection of aux files will properly look in the script's directory.

Also, this PR updates the behavior on failure to output the complete log (not just the last 20 lines), and additionally will output the entire contents of config.log from the configure step.