[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib configure.ac and autopoint?
From: |
Tom G. Christensen |
Subject: |
gnulib configure.ac and autopoint? |
Date: |
Sat, 05 Jan 2013 16:06:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121116 Thunderbird/10.0.11 |
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
- gnulib configure.ac and autopoint?,
Tom G. Christensen <=