I did a update of my macports environment and got automake 1.14 installed.

The Changelog contains this:

 Unsupported and changed behaviour in automake starting from version 1.14
 • The AM_PROG_CC_C_O macro has been deprecated, and its use now is a no-op.
 Instead, the compile script is now required for all builds, and the tests
 executed by this macro have been bolted on the AC_PROG_CC basic macro instead.
 Removal of this macro is scheduled for version 2.0.
 • The dist-shar and dist-tarZ options have been deprecated and are scheduled
 to be removed for version 2.0.

When enabling 1.14 in autogen.sh I get this:

boost/Makefile.am:19: warning: source file 'libs/regex/src/c_regex_traits.cpp' 
is in a subdirectory,
boost/Makefile.am:19: 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.

What is the correct move? I've added the subdir-objects option and this works.

Stephan

Attachment: 0001-automake-1-14.diff
Description: Binary data



Reply via email to