modernize your automake in the ~/.autogen.sh
shirishag75 opened this issue · 1 comments
shirishag75 commented
see from my autogen.sh
+ automake --add-missing --copy --include-deps
configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:2: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Can you fix it ?
hoijui commented
I had a look at the mentioned URL (help for the error):
https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
and the code in l3afpads configure.ac
:
AC_INIT(L3afpad, 0.8.18.1.11, stevenhoneyman@gmail.com)
AM_INIT_AUTOMAKE($PACKAGE_TARNAME, $PACKAGE_VERSION)
It looks like AM_INIT_AUTOMAKE
was left in there on purpose, for backwards compatibility.
I don't know if this works in older versions of automake. I imagine AC_INIT
(in this form) is newer then this old form of AM_INIT_AUTOMAKE
, and thus might break old automakes anyway. Yet, until this becomes an error in newer automakes, I'd leave it so.
There is also a cmake
branch (my repo) of l3afpad.