Hi Stefano, > Also, a conscientious user would anyway add > `--install -I m4' to his ACLOCAL_AMFLAGS, so that third-party m4 files > would be copied in the local m4 directory (and thus automatically > distributed by automake).
Hey, the --install option is something I need to mention in the GNU gettext documentation. I wasn't aware of it up to now. 2011-07-08 Bruno Haible <br...@clisp.org> * gettext.texi (aclocal): Recommend the use of aclocal's --install option. Suggested by Stefano Lattarini <stefano.lattar...@gmail.com>. --- gettext-tools/doc/gettext.texi.orig Fri Jul 8 23:22:44 2011 +++ gettext-tools/doc/gettext.texi Fri Jul 8 23:22:39 2011 @@ -7990,6 +7990,18 @@ @noindent to your top level @file{Makefile.am}. +If you are using GNU @code{automake} 1.10 or newer, it is even easier: +Add the line + +@example +ACLOCAL_AMFLAGS = --install -I m4 +@end example + +@noindent +to your top level @file{Makefile.am}, and run @samp{aclocal --install -I m4}. +This will copy the needed files to the @file{m4/} subdirectory automatically, +before updating @file{aclocal.m4}. + These macros check for the internationalization support functions and related informations. Hopefully, once stabilized, these macros might be integrated in the standard Autoconf set, because this -- In memoriam Jean Moulin <http://en.wikipedia.org/wiki/Jean_Moulin>