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

Chin Huat Ang chin.huat.ang at intel.com
Mon Jan 29 02:14:32 PST 2018


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




More information about the eclipse-yocto mailing list