Prevent automake warning about deprecated INCLUDES (#735742)

Automake 1.13 and later generates the following warning when building
GParted from git:

    $ ./autogen.sh
    ...
    checking for automake >= 1.9...
      testing automake-1.13... found 1.13.4
    ...
    Running automake-1.13...
    src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
    ...

INCLUDES name has been depreciated since automake 1.7.  GParted's
autogen.sh and configure.ac require at least automake 1.9.  Therefore
replace automake variable INCLUDES with AM_CPPFLAGS.

Bug #735742 - automake warns INCLUDES is deprecated
This commit is contained in:
Mike Fleetwood 2014-08-31 11:13:57 +01:00 committed by Curtis Gedak
parent 20158f0440
commit e8533c39c2
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
INCLUDES = \
AM_CPPFLAGS = \
$(GTHREAD_CFLAGS) \
$(GTKMM_CFLAGS) \
-DGPARTED_DATADIR=\""$(datadir)"\" \