An important question: why does someone fix am__api_versions . Most likely answer: Because automake tends to change macro arguments or even completely delete macros from the previous version. There is a section in every issue of automake ad called
WARNING: future incompatibilities!
and the other -
Deprecated features removed
You can refer to releases 1.12 , 1.13 , 1.14
Thus, configure.ac or Makefile.am may contain some macros deprecated in future releases. When you encounter this problem, you have two options. Either find out which function replaced the obsolete, or stick to one version of automake . Most developers do not consider autotools files autotools be part of the source code for projects. They just want to keep the working version and stick to the current version of am .
Please note that all distributions support older versions of automake . In ubuntu you can find:
$ apt-cache search automake | grep automake automake - Tool for generating GNU Standards-compliant Makefiles automake1.4 - A tool for generating GNU Standards-compliant Makefiles automake1.9 - A tool for generating GNU Standards-compliant Makefiles automake1.10 - Tool for generating GNU Standards-compliant Makefiles automake1.11 - Tool for generating GNU Standards-compliant Makefiles
This means that you can install the requested version of automake .
So, you can delete the line am__api_version='1.11' and find out which macro is out of date. You will then need to decide which of these two solutions you will follow.
source share