build: use autopoint 0.17 to provide gettext support
commit9d74a0e1578a2b62884da6ff7a7a14b2d305e51f
authorNicola Fontana <ntd@entidi.it>
Tue, 30 Dec 2014 18:57:33 +0000 (30 19:57 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 30 Dec 2014 18:57:33 +0000 (30 19:57 +0100)
tree1427047dfe8973805058ed5df705df2e44feee38
parentae05277e369ca775259ee36cd23026e3628b95f2
build: use autopoint 0.17 to provide gettext support

The problem is if I don't want to depend on external gettext, I need to
import inside the repository a bunch of stuff, including some M4 macros
that can possibly conflict with other build components.

If I depend on external gettext without providing a version, the build
fails because there is no po/Makefile.in.in template. The stupid
gettextize command requires user interaction, making it unsuitable for
automated scripts.

So the "solution" (pun intended) is to use autopoint (automatically
triggered by autoreconf) by feeding a specific version to
AM_GNU_GETTEXT_VERSION.

I opted to depend on 0.17 because it is old enough to be decently
supported on modern distros and still it is not a ten years old relic.
.gitignore
ABOUT-NLS [deleted file]
build/.gitignore
build/config.rpath [deleted file]
configure.ac
po/.gitignore