bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoreconf, autopoint, and gnulib


From: Bruno Haible
Subject: Re: autoreconf, autopoint, and gnulib
Date: Sun, 6 Mar 2011 22:26:18 +0100
User-agent: KMail/1.9.9

Simon Josefsson wrote:
> > Does this work?
> >   AUTOPOINT=true autoreconf --install
> ...
> Trying it, autoreconf (automake) complains about missing ABOUT-NLS:
> 
> configure.ac:55: required file `./ABOUT-NLS' not found
> 
> I don't see that file in gnulib.  So it doesn't seem to work.

What the gnulib manual means to say (but perhaps doesn't say clearly enough)
is that if you have PO files in your package, you should invoke in this order:
  1. autopoint, in order to get the gettext infrastructure,
  2. gnulib-tool, in order to override some gettext infrastructure .m4 files
     with newer ones,
  3. AUTOPOINT=true autoreconf --install
     in order to regenerate configure and other files.

I'm more and more thinking that it was a design mistake to make 'autoreconf'
invoke 'libtoolize' and 'autopoint'. The task of fetching .m4 files omitted
from a version control repository is conceptually a very different task than
generating aclocal.m4, configure, and config.h.in files from other files;
it ought to be done by a different program.

Bruno
-- 
In memoriam Marie Politzer <http://fr.wikipedia.org/wiki/Marie_Politzer>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]