[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] autopoint: required config.rpath not installed for AM_ICON
From: |
Guillem Jover |
Subject: |
[bug-gettext] autopoint: required config.rpath not installed for AM_ICONV |
Date: |
Fri, 7 Oct 2011 12:35:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi!
When a project wants to only use AM_ICONV and none of the other gettext
autoconf macros [0], autoreconf does not invoke autopoint to install
the required config.rpath if AM_GNU_GETTEXT_VERSION is not used, the
latter does not even run standalone if the that macro is missing
(which makes sense as it needs a specific version to retrieve the
stuff from the git archive).
[0] <http://lists.freedesktop.org/archives/xorg-devel/2011-August/024527.html>
If AM_GNU_GETTEXT_VERSION is used but not AM_GNU_GETTEXT, then the
whole intl/ po/ and m4/ directories are inserted which is a space
waste when the project is not going to make any use of it. If
AM_GNU_GETTEXT([external]) is used instead that's a waste at configure
time, as none of its checks are needed, and the po/ directory is still
generated and warnings about unset SUBDIRS issued. The only remaining
option is to include config.rpath in the repository, which is still
suboptimal, but better than the others.
I think it would be ideal for autopoint to recognize the case of:
AM_GNU_GETTEXT_VERSION([VERSION])
AM_ICONV
and only install the required files.
A trivial test case follows:
,--- configure.ac ---
AC_PREREQ(2.60)
AC_INIT([ac-iconv] [0.0])
AM_INIT_AUTOMAKE([1.8 foreign])
AM_GNU_GETTEXT_VERSION([0.18])
AM_ICONV
AC_OUTPUT([Makefile])
`---
,--- Makefile.am ---
`---
thanks,
guillem
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gettext] autopoint: required config.rpath not installed for AM_ICONV,
Guillem Jover <=