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/Makefile.am:263: warning: source file 'android/mips-ftruncate64.S' is in a subdirectory,
src/Makefile.am:263: but option 'subdir-objects' is disabled
src/Makefile.am:267: warning: source file 'android/x86-ftruncate64.S' is in a subdirectory,
src/Makefile.am:267: but option 'subdir-objects' is disabled
I think AUTOMAKE_OPTIONS = subdir-objects in src/Makefile.am is the way to go.
add configure.ac:
AM_INIT_AUTOMAKE([subdir-objects])
should do the trick.
Agreed
@tatsuhiro-t
Agreed
On AUTOMAKE_OPTIONS or AM_INIT_AUTOMAKE?
I didn't see the comment carefully, so I meant AUTOMAKE_OPTIONS, but I'm fine with AM_INIT_AUTOMAKE too, as long as it works.
Most helpful comment
add configure.ac:
AM_INIT_AUTOMAKE([subdir-objects])
should do the trick.