Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS

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: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2013-01-15 18:51:39 -08:00
parent 2a9eaf3305
commit 1b98fd6a2e

View file

@ -12,7 +12,7 @@ AM_CFLAGS = \
-DICONDIR=\"$(ICONDIR)\" \
-DXCURSORPATH=\"$(XCURSORPATH)\"
INCLUDES = -I$(top_srcdir)/include/X11/Xcursor
AM_CPPFLAGS = -I$(top_srcdir)/include/X11/Xcursor
#
# Shared library version info. This is not the same as the package version