]> granicus.if.org Git - shadow/commit
*/Makefile.am: Replace INCLUDES with AM_CPPFLAGS
authorW. Trevor King <wking@tremily.us>
Sat, 30 Apr 2016 00:10:23 +0000 (17:10 -0700)
committerW. Trevor King <wking@tremily.us>
Sat, 30 Apr 2016 00:30:18 +0000 (17:30 -0700)
commitc07397695a4bb48ce00956bab203565d4e351293
treed7faeb969a39fef0557c14cabefcba605a447e3a
parentef45bb2496182b5df90ad0323bef75d1a5d69887
*/Makefile.am: Replace INCLUDES with AM_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
libmisc/Makefile.am
src/Makefile.am