* msgmerge is faster now on CPUs with multiple execution units, if compiled
with GCC 4.2 or newer.
+
+* gettextize, when invoked without --intl option, now installs only the .m4
+ files that are needed: gettext.m4, iconv.m4, lib-ld.m4, lib-link.m4,
+ lib-prefix.m4, nls.m4, po.m4, progtest.m4.
\f
Version 0.15 - July 2006
* Documentation:
A complete example showing the use of GNU gettext with the wxWidgets GUI
toolkit has been added.
+
+* The gettext autoconf macros now assume 'aclocal' from automake 1.8 or newer.
\f
Version 0.14.6 - June 2006
+2006-09-11 Bruno Haible <bruno@clisp.org>
+
+ * gettext.texi (aclocal): Mention nls.m4, po.m4, mkdirp.m4.
+
2006-09-11 Bruno Haible <bruno@clisp.org>
* gettext.texi (aclocal): Add intl.m4 to file list.
@file{intdiv0.m4}, @file{intl.m4}, @file{intmax.m4}, @file{inttypes_h.m4},
@file{inttypes-h.m4}, @file{inttypes-pri.m4}, @file{lcmessage.m4},
@file{lib-ld.m4}, @file{lib-link.m4}, @file{lib-prefix.m4}, @file{lock.m4},
-@file{longdouble.m4}, @file{longlong.m4}, @file{printf-posix.m4},
-@file{progtest.m4}, @file{size_max.m4},
+@file{longdouble.m4}, @file{longlong.m4}, @file{nls.m4}, @file{po.m4},
+@file{printf-posix.m4}, @file{progtest.m4}, @file{size_max.m4},
@file{stdint_h.m4}, @file{uintmax_t.m4}, @file{ulonglong.m4},
@file{visibility.m4}, @file{wchar_t.m4}, @file{wint_t.m4}, @file{xsize.m4}
from GNU @code{gettext}'s
@file{m4/} directory into a single file. If you have suppressed the
@file{intl/} directory, only @file{gettext.m4}, @file{iconv.m4},
@file{lib-ld.m4}, @file{lib-link.m4}, @file{lib-prefix.m4},
-@file{progtest.m4} need to be concatenated.
+@file{nls.m4}, @file{po.m4}, @file{progtest.m4} need to be concatenated.
+
+If you are not using GNU @code{automake} 1.8 or newer, you will need to
+add a file @file{mkdirp.m4} from a newer automake distribution to the
+list of files above.
If you already have an @file{aclocal.m4} file, then you will have
to merge the said macro files into your @file{aclocal.m4}. Note that if
+2006-09-11 Bruno Haible <bruno@clisp.org>
+
+ * gettextize.in (have_automake19, min_automake_version): New variables.
+ (m4filelist): Use the minimum needed file list if --intl was not
+ specified and automake version is >= 1.9.
+
2006-09-11 Bruno Haible <bruno@clisp.org>
* gettextize.in (m4filelist): Add intl.m4.
fi
$do_changelog && func_poChangeLog_finish
-m4filelist=' codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4
- intl.m4 intmax.m4 inttypes_h.m4 inttypes-h.m4 inttypes-pri.m4 lcmessage.m4
- lib-ld.m4 lib-link.m4 lib-prefix.m4 lock.m4 longdouble.m4 longlong.m4
- nls.m4 po.m4 printf-posix.m4 progtest.m4 size_max.m4 stdint_h.m4
- uintmax_t.m4 ulonglong.m4 visibility.m4 wchar_t.m4 wint_t.m4 xsize.m4'
-# We cannot omit codeset.m4, glibc2.m4, glibc21.m4, intdiv0.m4, intl.m4,
-# intmax.m4, inttypes_h.m4, inttypes-h.m4, inttypes-pri.m4, lcmessage.m4,
-# lock.m4, longdouble.m4, longlong.m4, nls.m4, po.m4, printf-posix.m4,
-# size_max.m4, stdint_h.m4, uintmax_t.m4, ulonglong.m4, visibility.m4,
-# wchar_t.m4, wint_t.m4, xsize.m4
-# if test -z "$intldir", otherwise "aclocal -I m4" might give an error.
-# (aclocal doesn't know which macros are really needed, it looks which macros
-# are potentially needed.)
+# Determine whether we can assume automake 1.9 or newer.
+have_automake19=
+if (aclocal --version) >/dev/null 2>/dev/null; then
+ aclocal_version=`aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'`
+ case $aclocal_version in
+ 1.9* | 1.[1-9][0-9]* | [2-9]*) have_automake19=yes ;;
+ esac
+fi
+
+m4filelist='gettext.m4 iconv.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4
+ po.m4 progtest.m4'
+# With aclocal versions < 1.9 we need all m4 files, otherwise "aclocal -I m4"
+# might give an error. (aclocal < 1.9 didn't know which macros are really
+# needed, it looked which macros are potentially needed.)
+min_automake_version=1.9
+if test -n "$intldir" || test -z "$have_automake19"; then
+ # Add intl.m4 and its dependencies.
+ m4filelist=$m4filelist' codeset.m4 glibc2.m4 glibc21.m4 intdiv0.m4 intl.m4
+ intmax.m4 inttypes_h.m4 inttypes-h.m4 inttypes-pri.m4 lcmessage.m4 lock.m4
+ longdouble.m4 longlong.m4 printf-posix.m4 size_max.m4 stdint_h.m4
+ uintmax_t.m4 ulonglong.m4 visibility.m4 wchar_t.m4 wint_t.m4 xsize.m4'
+ min_automake_version=1.8
+fi
# All sorts of bugs could occur if the configure file was remade with the wrong
# version of gettext.m4 et al. (because then the configure and the po/Makefile.in.in
fi
please="$please
Please run 'aclocal -I $m4dir' to regenerate the aclocal.m4 file.
-You need aclocal from GNU automake 1.5 (or newer) to do this.
+You need aclocal from GNU automake $min_automake_version (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
"