Update AM_INIT_AUTOMAKE to use subdir-objects
PATCH 1/4 Update AM_INIT_AUTOMAKE to use subdir-objects
With this option, the objects are placed into the subdirectory of the build directory corresponding to the subdirectory of the source file. Fixes the following warning:
Makefile.am:103: warning: source file 'src/ibdiag_common.c' is in a subdirectory, Makefile.am:103: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -5,7 +5,7 @@ AC_INIT(infiniband-diags, 1.6.7, [email protected]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([subdir-objects]) AC_SUBST(RELEASE, ${RELEASE:-unknown}) AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
Signature · 6 lines
2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Ana,
I just wanted to let you know that I have these in my Queue and will get to them soon.
Ira
Quoted 49 lines
-----Original Message-----
From: [email protected] [mailto:linux-rdma- [email protected]] On Behalf Of Ana Guerrero López
Sent: Monday, September 05, 2016 2:49 PM
To: [email protected]
Subject: [infiniband-diags PATCH 1/4] UpdateAM_INIT_AUTOMAKEto use subdir-objectsWith this option, the objects are placed into the subdirectory of the build directory corresponding to the subdirectory of the source file. Fixes the following warning:
Makefile.am:103: warning: source file '
src/ibdiag_common.c' is in a subdirectory,
Makefile.am:103: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.Signed-off-by Ana Guerrero López <[email protected]>--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +1
-1@@ -5,7 +5,7 @@ AC_INIT(infiniband-diags, 1.6.7, linux- [email protected]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([subdir-objects]) AC_SUBST(RELEASE, ${RELEASE:-unknown})
AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})
--
2.9.3
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
ira.weiny
AppliedQuoted 16 lines · Ana Guerrero López
With this option, the objects are placed into the subdirectory of the build directory corresponding to the subdirectory of the source file. Fixes the following warning:
Makefile.am:103: warning: source file '
src/ibdiag_common.c' is in a subdirectory, Makefile.am:103: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Quoted 1 line
Signed-off-by Ana Guerrero López <[email protected]>
Thanks Applied,
Ira
Quoted 24 lines
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configure.ac +1
-1@@ -5,7 +5,7 @@ AC_INIT(infiniband-diags, 1.6.7, [email protected]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([subdir-objects]) AC_SUBST(RELEASE, ${RELEASE:-unknown}) AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})Signature · 6 lines
2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html