-
Notifications
You must be signed in to change notification settings - Fork 38.7k
build: Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR. #4765
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
Conversation
|
Verbose used to be on, and was only recently disabled: 82ccb05. I don't changing things back and forth, so lets leave it like it is. People that need to debug can always enable verbose. |
|
What's the practice with the warnings=all flag? |
|
Showing all warnings seems like a good precaution, unless they're really silly (I haven't tested). |
2113c40 to
feb886d
Compare
|
Ok updated. No more verbosity. Warnings on, when they are fixed it will quieten back to standard output (not silly at the moment, imo.) |
|
Mm. I agree with these changes, but they're going to lead to lots of devs scratching their heads and thinking "wtf broke?". See here: https://s3.amazonaws.com/archive.travis-ci.org/jobs/33572253/log.txt and grep for AC_TRY_COMPILE. That's nearly 100 lines of spew that is pretty incomprehensible to anyone but an autotools dev. And every warning but 1 is for deprecated (but working) functions. I'd say either:
|
|
It seems autoupdate is able to correctly fix the deprecations for me: If you'll add those changes here, ACK. |
|
I've add the fixes for the warnings (which I intended to do in a subsequent PR anyway). Turning off warnings for bad code is not good practice, regardless of which devs are scratching their heads or otherwise, imho. |
5d7ce8f to
732e06c
Compare
e9e3d88 to
5d89bbc
Compare
8d7fdf4 to
c4661a6
Compare
|
Does this need to be rebased every day? |
|
@theuni are you OK with this now? |
|
Yes. It'll cause a new warning about the GZIP var, but that's fine. I think we can get rid of that now. |
c4661a6 to
dd60cf9
Compare
|
@sipa wasn't aware constant rebase would have any negative downstream implications? Seems like a good practice to keep up-to-date? |
|
The only negative downsides are:
In general, keeping code in sync with the main tree is a good practice |
dd60cf9 to
e2a98d2
Compare
|
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4765_e2a98d270d511711111a54f350c25733bc15a5b2/ for binaries and test log. |
Added warnings and verbosity for autoreconf, should be useful for debugging.
AC_CONFIG_SRCDIR argument should actually be a unique file in the src dir, not the dir itself.
(http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Input.html)
Also moved two AC_CONFIG calls to a more readable (usual) location.