On 11.05.2019 17:30 Manolo wrote:
> I believe there was an automake/autotools inversion
> in a sentence of the post above. One should rather read:
>
> FLTK uses _automake_ to create a configure script,
> but we don't use _autotools_, ...
No, the wording was intentional, although not entirely correct.
'autotools' is, AFAICT, a generic term for all auto* tools. This
includes autoconf which we use to generate the configure script.
'automake' is one of the autotools to "Generate Makefile.in for
configure from Makefile.am" (see `man automake') which we don't use for
this case.
However, we do indeed use automake (thanks for the correction) in a
border case to generate "missing" support files for autoconf
(config.guess and config.sub) but this is entirely optional: you don't
need to install automake because there's a fallback to use the bundled
files from misc/ instead (misc/config.guess and misc/config.sub).
$ automake --add-missing
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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
All these errors are benign (ignored) because we don't really *use*
automake (to generate Makefiles).