[PATCH] Use AM_CPPFLAGS instead of INCLUDE



Hello,

Automake 1.13.1 in Fedora Rawhide complains loudly that the INCLUDE
variable in tests/Makefile.am is deprecated and should be replaced by
AM_CPPFLAGS.  What do I know to resist.  Fixed thus and applied to the
master branch.

        * tests/Makefile.am: Use AM_CPPFLAGS instead of the deprecated
        INCLUDE variable.  At least automake 1.13.1 complains for that.
---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 39522a4..38877bc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -201,7 +201,7 @@ bigvar_LDADD= NEMIVERCOMMON_LIBS@
 threads_SOURCES=$(h)/threads.cc
 threads_LDADD= NEMIVERCOMMON_LIBS@
 
-INCLUDES=-I$(top_srcdir)/src \
+AM_CPPFLAGS=-I$(top_srcdir)/src \
 -I$(top_srcdir)/src/confmgr \
 -I$(top_srcdir)/src/dbgengine \
 @NEMIVERCOMMON_CFLAGS@ -DBOOST_TEST_DYN_LINK \
-- 
                Dodji


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]