Hello,
Using autopoint from gettext 0.18.2 I am unable to create a gnulib testdir.
$ gnulib/gnulib-tool --create-testdir --with-tests --dir=t gettext
Module list with included dependencies (indented):
extensions
gettext
gettext-h
havelib
Notice from module gettext:
You must add an invocation of AM_GNU_GETTEXT([external]) to configure.ac.
File list:
...
...
executing autopoint --force
autopoint: *** Missing version: please specify in configure.ac through a
line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package
is using
autopoint: *** Stop.
The problem seems to be that autopoint is looking for
^AM_GNU_GETTEXT_VERSION but in the gnulib-tool created configure.ac it
is indented.
The indentation looks to be hardcoded in gnulib-tool (in
func_emit_autoconf_snippets) so I had to modify autopoint to instead
look for ^[[:space:]]*AM_GNU_GETTEXT_VERSION before I could create a
testdir.
What is the correct solution to this issue?
-tgc