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

Peter Hutterer peter.hutterer at who-t.net
Sun Jan 13 14:44:30 PST 2013


On Sun, Jan 13, 2013 at 10:56:53AM -0500, Gaetan Nadon wrote:
> 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>

pushed, thanks

Cheers,
   Peter

> ---
>  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
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list