I found several useful macros in the Autoconf Archive, and also a useful m4 file which helps test Boost library support. The Autoconf Archive is hosted by GNU and the Boost m4 helper is hosted as a GitHub repo. I'd like to use them in a C++ project which uses Autotools and managed by git.
Clearly it's possible to download them by hand and insert into my project's git repo. But is there a more recommended way to do it?
For example, it's possible to ensure the 3rd-party files are in the latest version by making the build process download them automatically, instead of updating them in the repo by hand. It also helps separate source from external files, since the 3rd party files aren't really part of the pure source code, but are external downloaded files.
If it's a good thing, should it be done by hand through autogen.sh? Or using automake.am? Or both (e.g. download files in autogen.sh and test version+update in automake)?
I guess keeping them in the git repo is not a disaster (just like things like COPYING, git.mk and others are there), but it's still useful to make the build process update them to latest version from the web.