Patch #3504 2013-10-02 06:59

mojca

Add subdir-objects to configure.ac
Download
3504-Add_subdir_obj.patch (328 bytes)
Category
 
Status
Open
Close date
 
Assigned to
jenslody
Index: configure.ac
===================================================================
--- configure.ac    (revision 9378)
+++ configure.ac    (working copy)
@@ -8,7 +8,7 @@
 
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
+AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip subdir-objects])
 
 AC_DISABLE_STATIC
 
mojca 2013-10-02 07:01

I'm getting the following list of warnings when running boostrap (the list is much longer, but the warnings are all the same):

src/plugins/astyle/Makefile.am:16: warning: source file 'astyle/ASBeautifier.cpp' is in a subdirectory,

src/plugins/astyle/Makefile.am:16: 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.

src/plugins/astyle/Makefile.am:16: warning: source file 'astyle/ASEnhancer.cpp' is in a subdirectory,

src/plugins/astyle/Makefile.am:16: but option 'subdir-objects' is disabled

src/plugins/astyle/Makefile.am:16: warning: source file 'astyle/ASFormatter.cpp' is in a subdirectory,

src/plugins/astyle/Makefile.am:16: but option 'subdir-objects' is disabled

src/plugins/astyle/Makefile.am:16: warning: source file 'astyle/ASResource.cpp' is in a subdirectory,

src/plugins/astyle/Makefile.am:16: but option 'subdir-objects' is disabled

src/plugins/codecompletion/Makefile.am:21: warning: source file 'parser/ccdebuginfo.cpp' is in a subdirectory,

src/plugins/codecompletion/Makefile.am:21: but option 'subdir-objects' is disabled

src/plugins/codecompletion/Makefile.am:21: warning: source file 'parser/cclogger.cpp' is in a subdirectory,

src/plugins/codecompletion/Makefile.am:21: but option 'subdir-objects' is disabled

...