[eclipse-poky] [PATCH v2] org.yocto.sdk.ide: fix configure.ac warnings

Ang, Chin Huat chin.huat.ang at intel.com
Mon Jan 29 08:07:47 PST 2018


Given that these are Poky plugins template files which are independent of Eclipse releases, perhaps we should apply them to master, oxygen and neon.

The warning seems to be introduced in automake 1.13.1b which predates morty’s automake 1.15 or autoconf 2.69 (last updated 5+ years ago)


On 29/1/18, 11:12 PM, "Tim Orling" <timothy.t.orling at linux.intel.com> wrote:

    Should this be applied to only master, or also oxygen/neon?
    Is this dependent on version of auto tools, such that morty/pyro should not be affected?
    
    > On Jan 29, 2018, at 2:14 AM, Chin Huat Ang <chin.huat.ang at intel.com> wrote:
    > 
    > Use modern form of AM_INIT_AUTOMAKE in configure.ac template.
    > 
    > [YOCTO #12514]
    > 
    > Signed-off-by: Chin Huat Ang <chin.huat.ang at intel.com>
    > ---
    > .../projecttemplates/HelloWorldCAutotoolsProject/src/configure.ac.top   | 2 +-
    > .../HelloWorldCGTKAutotoolsProject/src/configure.ac.top                 | 2 +-
    > .../projecttemplates/HelloWorldCPPAutotoolsProject/src/configure.ac.top | 2 +-
    > 3 files changed, 3 insertions(+), 3 deletions(-)
    > 
    > diff --git a/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCAutotoolsProject/src/configure.ac.top b/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCAutotoolsProject/src/configure.ac.top
    > index 234ab99..0954df8 100644
    > --- a/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCAutotoolsProject/src/configure.ac.top
    > +++ b/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCAutotoolsProject/src/configure.ac.top
    > @@ -13,7 +13,7 @@ m4_define([$(projectName)_api_version],
    >          [$(projectName)_version_major.$(projectName)_version_minor])
    > 
    > AC_INIT($(projectName), $(projectName)_version)
    > -AM_INIT_AUTOMAKE($(projectName), $(projectName)_version)
    > +AM_INIT_AUTOMAKE
    > AC_CONFIG_HEADERS(config.h)
    > 
    > # Checks for programs.
    > diff --git a/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCGTKAutotoolsProject/src/configure.ac.top b/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCGTKAutotoolsProject/src/configure.ac.top
    > index 508bc13..a210b2e 100644
    > --- a/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCGTKAutotoolsProject/src/configure.ac.top
    > +++ b/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCGTKAutotoolsProject/src/configure.ac.top
    > @@ -13,7 +13,7 @@ m4_define([$(projectName)_api_version],
    >          [$(projectName)_version_major.$(projectName)_version_minor])
    > 
    > AC_INIT($(projectName), $(projectName)_version)
    > -AM_INIT_AUTOMAKE($(projectName), $(projectName)_version)
    > +AM_INIT_AUTOMAKE
    > AC_CONFIG_HEADERS(config.h)
    > 
    > # Checks for programs.
    > diff --git a/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPAutotoolsProject/src/configure.ac.top b/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPAutotoolsProject/src/configure.ac.top
    > index 5cc622b..313e1a6 100644
    > --- a/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPAutotoolsProject/src/configure.ac.top
    > +++ b/plugins/org.yocto.sdk.ide/templates/projecttemplates/HelloWorldCPPAutotoolsProject/src/configure.ac.top
    > @@ -13,7 +13,7 @@ m4_define([$(projectName)_api_version],
    >          [$(projectName)_version_major.$(projectName)_version_minor])
    > 
    > AC_INIT($(projectName), $(projectName)_version)
    > -AM_INIT_AUTOMAKE($(projectName), $(projectName)_version)
    > +AM_INIT_AUTOMAKE
    > AC_CONFIG_HEADERS(config.h)
    > 
    > # Checks for programs.
    > -- 
    > 2.7.4
    > 
    > _______________________________________________
    > eclipse-poky mailing list
    > eclipse-poky at yoctoproject.org
    > https://lists.yoctoproject.org/listinfo/eclipse-poky
    
    



More information about the eclipse-yocto mailing list