From 790e4b0b1b137a5c036a0407f864bf71bc69bf5d Mon Sep 17 00:00:00 2001 From: Gilles Espinasse Date: Fri, 15 Mar 2013 23:03:00 +0100 Subject: libnet: update for obsolete INCLUDE directive Signed-off-by: Gilles Espinasse Using autoreconf (with automake-1.12.6) show those warnings autoreconf: running: automake --add-missing --copy --force-missing Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am:9: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') include/Makefile.am:3: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') include/libnet/Makefile.am:3: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') sample/Makefile.am:9: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:9: 'Makefile.am.common' included from here autoreconf: Leaving directory `.' Just follow the advice and replace INCLUDES with AM_CPPFLAGS --- libnet/Makefile.am.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnet/Makefile.am.common b/libnet/Makefile.am.common index b1e3eab..4ca3e7d 100644 --- a/libnet/Makefile.am.common +++ b/libnet/Makefile.am.common @@ -11,5 +11,5 @@ DISTCLEANFILES = *~ ACLOCAL_AMFLAGS=-I m4 -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include -- cgit v1.2.1