New in automake 1.14
- The next major Automake version (2.0) will unconditionally activate
the 'subdir-objects' option. In order to smooth out the transition,
we now give a warning (in the category 'unsupported') whenever a
source file is present in a subdirectory but the 'subdir-object' is
not enabled. For example, the following usage will trigger such a
warning:
bin_PROGRAMS = sub/foo
sub_foo_SOURCES = sub/main.c sub/bar.c
This generates lots of warnings when running autogen.sh.
Thus we might want to edit configure.ac and set:
AM_INIT_AUTOMAKE([subdir-objects foreign]) or set it in individual Makefile.am files.
Also doing this allowed me to see warning about LIBCOMPAT being declared twice in libhsm/src/bin/Makefile.am and in the checks.
I will include fixes in a future commit.