-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./configure output readability #595
Comments
Could definitly be improved by proper nesting and sorting. |
context: this was done because there was a new warning introduced for armv6 builds and it appears at the top of this block of output, hence the desire to shorten it because it generally overflows a standard terminal height. I do agree that it is a bit of an eyesore now though, @trevnorris also commented about this |
The warning can't be printed after the config option list? |
not easily but you're welcome to refactor |
Yeah, the reason for that change was that me and another user missed the warning as it scrolled off because of that long options list. One possible solution could be to accumulate warnings and errors in a variable and print them at the end. Only issue I have with that would be that they are possibly taken out of context on which step they were generated on. Or alternatively, move the flags to the top (if possible). |
After giving this more thought, I'd propose this:
This will require a custom warn() function to be used throughout the file. I'll look into doing another PR for that. |
@silverwind You may want to base it off #585. |
@bnoordhuis Thanks, that PR contains partly what I would've done. Will wait a day or two for that PR to resolve, and the submit my own. |
Fixed by 6ad236c. |
Since 1b1cd1c the
./configure
output has gotten worse (I actually didn't mind the behavior before that commit). IMHO it's a step backwards.This is what I see now:
Surely there is a better way? The keys aren't even in alphabetical order.
The text was updated successfully, but these errors were encountered: