]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update recommended way to define localedir.
authorBruno Haible <bruno@clisp.org>
Sat, 19 Sep 2009 14:58:23 +0000 (16:58 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 19 Sep 2009 14:58:23 +0000 (16:58 +0200)
gettext-tools/doc/ChangeLog
gettext-tools/doc/gettext.texi

index a78339b0559f6b98cf76ce5dd83a8b166b1dedc1..017622960d391e150179e8cf0bab2275638a6c06 100644 (file)
@@ -1,3 +1,10 @@
+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.
index 45f36f46e0ac868e07d1533325ca758ad56e5a82..b09bcbadbe3d6b613ac747a6b17ac86c7f1c2e92 100644 (file)
@@ -8145,7 +8145,16 @@ textdomain (@var{PACKAGE});
 @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@@
@@ -8221,8 +8230,9 @@ for each specific module or compilation unit, or
 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