#4 autogen.sh calls automake but build toolchain does not support it
Closed: Fixed 5 years ago Opened 5 years ago by dmacks.

Automake generates Makefile.in from a Makefile.am template, whereas newt has a hand-coded Makefile.in and no Makefile.am at all. However, autogen.sh has the command:

automake --foreign -a -c -f

leading to:

configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
automake: error: no 'Makefile.am' found for any configure output

If you're happy hand-coding Makefile.in (and tracking filename extensions and sentinel values for enable/disable of features), then autogen.sh should not call automake. If instead you want automake to help handle those details, then you need Makefile.am (which can be simpler, but has additional syntax needed to so so) instead of Makefile.in


It seems automake was needed for AC_PROG_INSTALL (which needs install-sh). I've removed the macro and the call in autogen.sh.

Metadata Update from @mlichvar:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata