autoreconf fails if AM_GNU_GETTEXT_VERSION is not used

From:

Bruno Haible

Subject:

autoreconf fails if AM_GNU_GETTEXT_VERSION is not used

Date:

Fri, 13 Jun 2003 13:42:28 +0200

User-agent:

KMail/1.5

Hi,
The GNU gettext manual says that in a configure.ac file that uses
AM_GNU_GETTEXT,
AM_GNU_GETTEXT_VERSION is optional. However, autoreconf fails in the case that
AM_GNU_GETTEXT is used and AM_GNU_GETTEXT_VERSION is not.
How to reproduce:
- Unpack gettext-0.12.1.tar.gz
$ cd gettext-0.12.1
$ autoreconf --version
autoreconf (GNU Autoconf) 2.57
$ autoreconf
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
Suggested fix for autoreconf:
- Remove the lines
error "$configure_ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION"
if $uses_gettext_via_traces && ! $uses_gettext;
- When uses_gettext_via_traces is set but uses_gettext is not, don't run
autopoint.
Bruno

reply via email to

[Prev in Thread]

Current Thread

[Next in Thread]

autoreconf fails if AM_GNU_GETTEXT_VERSION is not used,
Bruno Haible<=