Hi Simon, Ralf, > * Simon Josefsson wrote on Sat, Mar 05, 2011 at 12:22:56PM CET: > > The reason an older longlong.m4 ends up in the *.tar.gz archive is > > proabably that autoreconf --install (gettextize) pulls in an old > > longlong.m4: > > > > test -f ./configure || autoreconf --install > > ... > > Copying file m4/longlong.m4 > > > What's a good way to avoid having 'autoreconf --install' copy these old > > files? > > Does this work? > AUTOPOINT=true autoreconf --install
Good point. The doc at <http://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html> is not mentioning this. Let me improve the documentation: 2011-03-05 Bruno Haible <br...@clisp.org> doc: Improve doc regarding autopoint vs. gnulib. * doc/gnulib-tool.texi (gettextize and autopoint): Recommend to disable autopoint while running autoreconf. Suggested by Ralf Wildenhues. --- doc/gnulib-tool.texi.orig Sat Mar 5 14:31:59 2011 +++ doc/gnulib-tool.texi Sat Mar 5 14:31:35 2011 @@ -483,6 +483,14 @@ were integrated into Gnulib and now mismatch the @file{po/} infrastructure. In this case, fetch and install the new GNU gettext release and run @code{gettextize} followed by @code{gnulib-tool}. + +@item +When you invoke @code{autoreconf} after @code{gnulib-tool}, make sure to +not invoke @code{autopoint} a second time, by setting the @code{AUTOPOINT} +environment variable, like this: +@smallexample +$ env AUTOPOINT=true autoreconf --install +@end smallexample @end enumerate -- In memoriam Hasso von Boehmer <http://en.wikipedia.org/wiki/Hasso_von_Boehmer>