[PATCH input-joystick] Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS

Gaetan Nadon memsize at videotron.ca
Sun Jan 13 07:56:53 PST 2013


Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

  - Support for the long-deprecated INCLUDES variable will be removed
    altogether in Automake 1.14.  The AM_CPPFLAGS variable should be
    used instead.

This variable was deprecated in Automake releases prior to 1.10, which is the
current minimum level required to build X.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 21cdf32..c8e8b93 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,7 +31,7 @@ AM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS)
 @DRIVER_NAME at _drv_la_LDFLAGS = -module -avoid-version
 @DRIVER_NAME at _drv_ladir = @inputdir@
 
-INCLUDES=-I$(top_srcdir)/include/
+AM_CPPFLAGS = -I$(top_srcdir)/include
 
 @DRIVER_NAME at _drv_la_SOURCES =  jstk.c jstk.h \
 				jstk_axis.c jstk_axis.h \
-- 
1.7.9.5



More information about the xorg-devel mailing list