Skip to content
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

*/Makefile.am: Replace INCLUDES with AM_CPPFLAGS #17

Merged
merged 1 commit into from Dec 7, 2016

Conversation

wking
Copy link
Contributor

@wking wking commented Apr 30, 2016

Catch up with Automake, where the deprecation notice landed in
v1.6b, cut 2002-07-28. Avoids:

$ autoreconf -v -f --install
...
libmisc/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
...
src/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
...

Catch up with Automake's [1], which was part of v1.6b, cut 2002-07-28
[2].  Avoids:

  $ autoreconf -v -f --install
  ...
  libmisc/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  ...
  src/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
  ...

Consolidating with the earlier AM_CPPFLAGS avoids:

  $ autoreconf -v -f --install
  src/Makefile.am:72: warning: AM_CPPFLAGS multiply defined in condition TRUE ...
  src/Makefile.am:10: ... 'AM_CPPFLAGS' previously defined here
  autoreconf-2.69: Leaving directory `.'

[1]: http://git.savannah.gnu.org/cgit/automake.git/commit/?id=1415d22f6203206bc393fc4ea233123ba579222d
     Summary: automake.in (generate_makefile): Suggest using AM_CPPFLAGS instead of INCLUDES
     Date: 2002-07-09
[2]: http://git.savannah.gnu.org/cgit/automake.git/tag/?id=Release-1-6b
@hallyn
Copy link
Member

hallyn commented May 2, 2016 via email

@wking
Copy link
Contributor Author

wking commented May 2, 2016

On Mon, May 02, 2016 at 07:08:09AM -0700, Serge Hallyn wrote:

Thanks, it looks good to me. As I'm pretty autoconf-illiterate I'll
give it a bit more time for others to comment.

I haven't finished putting it through its paces yet either. Will post
back once I've had time to do that.

@hallyn
Copy link
Member

hallyn commented May 2, 2016 via email

@hallyn
Copy link
Member

hallyn commented Aug 5, 2016

Ping - @wking have you had a chance to put it through its paces?

@hallyn
Copy link
Member

hallyn commented Dec 2, 2016

(ping)

@wking
Copy link
Contributor Author

wking commented Dec 3, 2016 via email

@wking
Copy link
Contributor Author

wking commented Dec 3, 2016 via email

@hallyn
Copy link
Member

hallyn commented Dec 7, 2016

So can this also be merged if #50 was simply reverted?

@wking
Copy link
Contributor Author

wking commented Dec 7, 2016 via email

@hallyn hallyn merged commit 9e93c98 into shadow-maint:master Dec 7, 2016
@hallyn
Copy link
Member

hallyn commented Dec 7, 2016

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants