[gparted] Prevent automake warning about deprecated INCLUDES (#735742)



commit e8533c39c270b2a38f64bf5e9e54eed4a638183b
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sun Aug 31 11:13:57 2014 +0100

    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

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index d73f77b..3500645 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES =                                             \
+AM_CPPFLAGS =                                          \
        $(GTHREAD_CFLAGS)                               \
        $(GTKMM_CFLAGS)                                 \
        -DGPARTED_DATADIR=\""$(datadir)"\"                      \


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