+2009-09-20 Bruno Haible <bruno@clisp.org>
+
+ * gettext.texi (src/Makefile): Update recommendations for autoconf
+ versions >= 2.60.
+ Reported by Sylvain Beucler <beuc@gnu.org>
+ at <http://savannah.gnu.org/bugs/?27464>.
+
2009-08-16 Bruno Haible <bruno@clisp.org>
* Makefile.am (dist-html-split): Depend on gettext_toc.html.
@end example
To make LOCALEDIR known to the program, add the following lines to
-@file{Makefile.in}:
+@file{Makefile.in} if you are using Autoconf version 2.60 or newer:
+
+@example
+datadir = @@datadir@@
+datarootdir= @@datarootdir@@
+localedir = @@localedir@@
+DEFS = -DLOCALEDIR=\"$(localedir)\" @@DEFS@@
+@end example
+
+or these lines if your version of Autoconf is older than 2.60:
@example
datadir = @@datadir@@
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
@end example
-for all modules and compilation units together. Furthermore, add this
-line to define @samp{localedir}:
+for all modules and compilation units together. Furthermore, if you are
+using an Autoconf version older then 2.60, add this line to define
+@samp{localedir}:
@example
localedir = $(datadir)/locale