Imported Upstream version 0.18.3.2
[platform/upstream/gettext.git] / gettext-runtime / m4 / ChangeLog
1 2013-12-17  Daiki Ueno  <ueno@gnu.org>
2
3         Add missing extern-inline.m4 into archive.
4         Problem reported by Reuben Thomas in:
5         <https://lists.gnu.org/archive/html/bug-gettext/2013-12/msg00010.html>.
6         * extern-inline.m4: New file, from gnulib.
7         * intl.m4 (AM_INTL_SUBDIR): Require gl_EXTERN_INLINE.
8         * Makefile.am (EXTRA_DIST): Update.
9
10 2013-08-09  Daiki Ueno  <ueno@gnu.org>
11
12         * intl.m4 (AM_INTL_SUBDIR): Fix AC_CHECK_DECLS usage.
13         (gt_INTL_SUBDIR_CORE): Likewise.
14
15 2013-06-25  Daiki Ueno  <ueno@gnu.org>
16
17         Allow user to supply custom sed command when generating en@quot.po.
18         * po.m4 (AM_PO_SUBDIRS): Require AC_PROG_SED.
19
20 2013-04-23  Daiki Ueno  <ueno@gnu.org>
21
22         Obsolete gt_CHECK_DECL in favor of AC_CHECK_DECLS.
23         Now that macros installed by 'gettextize' require Autoconf 2.60,
24         gt_CHECK_DECL can be safely replaced with AC_CHECK_DECLS.
25         * intl.m4 (gt_CHECK_DECL): Remove.
26         (AM_INTL_SUBDIR): Use AC_CHECK_DECLS instead of gt_CHECK_DECL.
27         (gt_INTL_SUBDIR_CORE): Likewise.
28
29 2013-03-05  Daiki Ueno  <ueno@gnu.org>
30
31         * fcntl-o.m4: Update copyright year.
32         * gettext.m4: Likewise.
33         * glibc2.m4: Likewise.
34         * glibc21.m4: Likewise.
35         * iconv.m4: Likewise.
36         * intdiv0.m4: Likewise.
37         * intl.m4: Likewise.
38         * intldir.m4: Likewise.
39         * intlmacosx.m4: Likewise.
40         * intmax.m4: Likewise.
41         * inttypes-pri.m4: Likewise.
42         * inttypes_h.m4: Likewise.
43         * lcmessage.m4: Likewise.
44         * lock.m4: Likewise.
45         * longlong.m4: Likewise.
46         * nls.m4: Likewise.
47         * po.m4: Likewise.
48         * printf-posix.m4: Likewise.
49         * progtest.m4: Likewise.
50         * size_max.m4: Likewise.
51         * stdint_h.m4: Likewise.
52         * threadlib.m4: Likewise.
53         * uintmax_t.m4: Likewise.
54         * visibility.m4: Likewise.
55         * wchar_t.m4: Likewise.
56         * wint_t.m4: Likewise.
57         * xsize.m4: Likewise.
58
59 2012-12-25  Daiki Ueno  <ueno@gnu.org>
60
61         * gettext-0.18.2 released.
62
63 2012-12-07  Stefano Lattarini  <stefano.lattarini@gmailcom>  (tiny change)
64
65         m4: use AC_PROG_MKDIR_P, not the deprecated AM_PROG_MKDIR_P
66         * gettext.m4 (AM_INTL_SUBDIR): Require AC_PROG_MKDIR_P instead
67         of AM_PROG_MKDIR_P, as this latter macro is deprecated since
68         Automake 1.12.1, and will be removed in Automake 1.14.
69         Accordingly, bump requirement in AC_PREREQ to 2.60.
70         * po.m4 (AM_PO_SUBDIRS): Likewise.
71
72 2012-11-29  Paul Eggert  <eggert@cs.ucla.edu>
73
74         * lock.m4 (gl_PREREQ_LOCK): Do not require AC_C_INLINE.
75
76 2012-09-22  Paul Eggert  <eggert@cs.ucla.edu>
77
78         * xsize.m4 (gl_XSIZE): Do not require AC_C_INLINE.
79
80 2012-09-10  Paul Eggert  <eggert@cs.ucla.edu>
81
82         * fcntl-o.m4 (gl_FCNTL_O_FLAGS): Check for AIX 7.1 bug
83         that caused a GNU tar test failure.  Problem reported by Jez Wain; see
84         <http://lists.gnu.org/archive/html/bug-tar/2012-07/msg00018.html>.
85
86 2012-06-22  Bruno Haible  <bruno@clisp.org>
87
88         * gettext.m4: Write "Mac OS X" instead of "MacOS X".
89         * intdiv0.m4: Likewise.
90         * intlmacosx.m4: Likewise.
91         * lock.m4: Likewise.
92         * threadlib.m4: Likewise.
93         * visibility.m4: Likewise.
94
95 2012-02-18  Bruno Haible  <bruno@clisp.org>
96
97         * Makefile.am (EXTRA_DIST): Remove intmax_t.m4.
98
99 2012-02-05  Paul Eggert  <eggert@cs.ucla.edu>
100
101         * po.m4: Spelling fixes.
102
103 2012-01-26  Bruno Haible  <bruno@clisp.org>
104
105         * gettext.m4: Update copyright year.
106         * codeset.m4: Likewise.
107         * glibc2.m4: Likewise.
108         * glibc21.m4: Likewise.
109         * iconv.m4: Likewise.
110         * intdiv0.m4: Likewise.
111         * intl.m4: Likewise.
112         * intldir.m4: Likewise.
113         * intlmacosx.m4: Likewise.
114         * intmax.m4: Likewise.
115         * inttypes-pri.m4: Likewise.
116         * inttypes_h.m4: Likewise.
117         * lcmessage.m4: Likewise.
118         * lock.m4: Likewise.
119         * longlong.m4: Likewise.
120         * nls.m4: Likewise.
121         * printf-posix.m4: Likewise.
122         * progtest.m4: Likewise.
123         * size_max.m4: Likewise.
124         * stdint_h.m4: Likewise.
125         * uintmax_t.m4: Likewise.
126         * visibility.m4: Likewise.
127         * wchar_t.m4: Likewise.
128         * wint_t.m4: Likewise.
129         * xsize.m4: Likewise.
130
131 2011-09-11  Bruno Haible  <bruno@clisp.org>
132
133         Don't assume <unistd.h> exists.
134         * fcntl-o.m4 (gl_FCNTL_O_FLAGS): If <unistd.h> does not exist,
135         include <io.h> and <stdlib.h> instead. Don't test symbolink links if
136         symlink() does not exist.
137
138 2012-01-04  Bruno Haible  <bruno@clisp.org>
139
140         Talk about "native Windows API", not "Win32".
141         * threadlib.m4: Update comments to mention native Windows.
142         (gl_THREADLIB_EARLY_BODY, gl_THREADLIB_BODY): Expect
143         --enable-threads=windows instead of --enable-threads=win32. Set
144         USE_WINDOWS_THREADS, not USE_WIN32_THREADS.
145
146 2012-01-06  Paul Eggert  <eggert@cs.ucla.edu>
147
148         * m4/gettext.m4: In commentary, do not use ` to quote.
149
150 2012-01-06  Paul Eggert  <eggert@cs.ucla.edu>
151
152         Use ', not `, for quoting output.
153         * m4/intl.m4 (gt_CHECK_DECL): Quote 'like this', not `like this', as
154         per the recent change to the GNU coding standards.
155         * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT,
156         AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
157
158 2011-09-10  Bruno Haible  <bruno@clisp.org>
159
160         iconv.m4: Add support for MSVC compiler.
161         * iconv.m4 (AM_ICONV): Use ISO C declaration syntax on MSVC.
162
163 2011-07-07  Bruno Haible  <bruno@clisp.org>
164
165         Avoid literal tabs.
166         * po,m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE): Use a shell
167         variable containing a tab instead of a literal tab.
168         Reported by Jim Meyering.
169
170 2011-06-04  Bruno Haible  <bruno@clisp.org>
171
172         Ensure intmax_t gets defined in libasprintf.
173         * Makefile.am (EXTRA_DIST): Add intmax_t.m4.
174
175 2011-02-18  Eric Blake  <eblake@redhat.com>
176
177         longlong: skip, rather than fail, on cross-compilation
178         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Avoid aborting configure
179         when cross-compiling; regression from 2011-02-16.
180
181 2011-02-16  Paul Eggert  <eggert@cs.ucla.edu>
182
183         longlong: tune, particularly for common case of c99
184         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Don't bother compiling
185         or running anything if c99, or if unsigned long long int does not
186         work.  In either case, we know the answer without further tests.
187         Do not compile _AC_TYPE_LONG_LONG_SNIPPET twice.  Instead, compile
188         it at most once, and use its results for both long long int and
189         unsigned long long int.  This is more likely to be efficient in
190         the common case where the program wants to check for both long
191         long int and unsigned long long int.
192         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Don't bother compiling if c99,
193         since the answer is already known.
194
195 2010-12-04  Bruno Haible  <bruno@clisp.org>
196
197         Put more information about failed tests into the test return codes.
198         * intdiv0.m4 (gt_INTDIV0): Change test program so that it returns an
199         enumerated value (0, 1, 2, 3, 4, ...).
200         * fcntl-o.m4 (gl_FCNTL_O_FLAGS): Change test program so that it returns
201         a bit mask.
202         * iconv.m4 (AM_ICONV_LINK): Likewise.
203
204 2010-11-26  Bruno Haible  <bruno@clisp.org>
205
206         * iconv.m4 (AM_ICONV): If the gnulib module 'iconv-h' is present, set
207         ICONV_CONST.
208
209 2010-11-20  Bruno Haible  <bruno@clisp.org>
210
211         Ensure that <features.h> is included before __GLIBC__ is tested.
212         * intl.m4 (AM_INTL_SUBDIR): Test for <features.h>.
213         Reported by Mike Frysinger <vapier@gentoo.org>.
214
215 2010-11-20  Bruno Haible  <bruno@clisp.org>
216
217         Port to uClibc.
218         * glibc21.m4 (gl_GLIBC21): Treat uClibc like glibc.
219         * glibc2.m4 (gt_GLIBC2): Treat uClibc like a non-glibc platform.
220         Reported by Mike Frysinger <vapier@gentoo.org>.
221
222 2010-10-04  Bruno Haible  <bruno@clisp.org>
223
224         Make option --with-libpth-prefix work.
225         * threadlib.m4 (gl_THREADLIB_BODY): When testing whether pth works, use
226         $LIBPTH, not just -lpth.
227
228 2010-09-22  Bruno Haible  <bruno@clisp.org>
229
230         * threadlib.m4 (gl_THREADLIB_EARLY_BODY): When gl_THREADLIB_DEFAULT_NO
231         is defined, change the default to 'no'.
232         Reported by Paul Eggert.
233
234 2010-09-04  Bruno Haible  <bruno@clisp.org>
235
236         Set PATH_SEPARATOR the same way autoconf does.
237         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Determine the value of
238         PATH_SEPARATOR the same way autoconf-generated configure scripts do.
239
240 2010-08-28  Bruno Haible  <bruno@clisp.org>
241
242         Prefer using AC_DEFUN_ONCE over AC_DEFUN in projects with gnulib.
243         * iconv.m4 (gl_iconv_AC_DEFUN): Use AC_DEFUN_ONCE if gl_00GNULIB is
244         defined.
245         Suggested by Eric Blake.
246
247 2010-07-31  Bruno Haible  <bruno@clisp.org>
248
249         Use new ansi-c++.m4 from gnulib.
250         * ansi-c++.m4: Remove file.
251         * Makefile.am (EXTRA_DIST): Remove it.
252         Reported at <https://savannah.gnu.org/bugs/?30607>.
253
254 2010-07-31  Bruno Haible  <bruno@clisp.org>
255
256         iconv: Work around AIX 6.1..7.1 bug.
257         * iconv.m4 (AM_ICONV_LINK): Test against AIX 6.1, 7.1 bug. When
258         cross-compiling, guess no on all versions of AIX.
259         Reported by Rainer Tammer.
260
261 2010-07-30  Bruno Haible  <bruno@clisp.org>
262
263         iconv: Update regarding AIX.
264         * iconv.m4 (AM_ICONV_LINK): When cross-compiling, guess yes on AIX 7.
265         Reported by Rainer Tammer.
266
267 2010-07-19  Bruno Haible  <bruno@clisp.org>
268
269         Modernize AC_TRY_RUN invocations.
270         * iconv.m4 (AM_ICONV_LINK): Use AC_RUN_IFELSE instead of AC_TRY_RUN.
271         * intdiv0.m4 (gt_INTDIV0): Likewise.
272         * printf-posix.m4 (gt_PRINTF_POSIX): Likewise.
273         * threadlib.m4 (gl_THREADLIB_BODY): Likewise.
274
275 2010-07-19  Bruno Haible  <bruno@clisp.org>
276
277         Modernize AC_TRY_LINK invocations.
278         * codeset.m4 (AM_LANGINFO_CODESET): Use AC_LINK_IFELSE instead of
279         AC_TRY_LINK.
280         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
281         * iconv.m4 (AM_ICONV_LINK): Likewise.
282         * intl.m4 (gt_INTL_SUBDIR_CORE): Likewise.
283         * intlmacosx.m4 (gt_INTL_MACOSX): Likewise.
284         * lcmessage.m4 (gt_LC_MESSAGES): Likewise.
285         * threadlib.m4 (gl_THREADLIB_BODY): Likewise.
286
287 2010-07-18  Bruno Haible  <bruno@clisp.org>
288
289         Modernize AC_TRY_COMPILE invocations.
290         * iconv.m4 (gl_iconv_AC_DEFUN): Use AC_COMPILE_IFELSE instead of
291         AC_TRY_COMPILE.
292         * intl.m4 (gt_CHECK_DECL): Likewise.
293         * intmax.m4 (gt_TYPE_INTMAX_T): Likewise.
294         * inttypes-pri.m4 (gt_INTTYPES_PRI): Likewise.
295         * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
296         * lock.m4 (gl_LOCK): Likewise.
297         * size_max.m4 (gl_SIZE_MAX): Likewise.
298         * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Likewise.
299         * visibility.m4 (gl_VISIBILITY): Likewise.
300         * wchar_t.m4 (gt_TYPE_WCHAR_T): Likewise.
301         * wint_t.m4 (gt_TYPE_WINT_T): Likewise.
302
303 2010-07-01  Christian Weisgerber  <naddy@mips.inka.de>  (tiny change)
304
305         Use AC_GNU_SOURCE as a fallback for AC_USE_SYSTEM_EXTENSIONS.
306         * fcntl-o.m4 (gl_FCNTL_O_FLAGS): When AC_USE_SYSTEM_EXTENSIONS is
307         not present (i.e. with autoconf 2.59 and when using gettextize, not
308         gnulib), require AC_GNU_SOURCE instead.
309
310 2010-06-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
311
312         Avoid double-quotes inside backquote inside double-quote.
313         * gettext-runtime/m4/po.m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE):
314         Remove unneeded outermost double-quotes around backquote that contains
315         double-quoted strings. Avoids an idiom that nearly triggers a ksh bug.
316
317 2010-06-04  Bruno Haible  <bruno@clisp.org>
318
319         Prefer documented low-level autoconf macro names.
320         * intl.m4 (gt_CHECK_DECL): Use m4_translit instead of translit.
321
322 2010-06-04  Bruno Haible  <bruno@clisp.org>
323
324         * gettext-0.18.1 released.
325
326 2010-06-03  Bruno Haible  <bruno@clisp.org>
327
328         Choose among AC_DEFUN_ONCE, AC_DEFUN in a way that aclocal understands.
329         * iconv.m4 (gl_iconv_AC_DEFUN): New macro.
330         (AM_ICONV): Define it through gl_iconv_AC_DEFUN.
331         Reported by Ludovic Courtès <ludo@gnu.org>.
332
333 2010-05-16  Bruno Haible  <bruno@clisp.org>
334
335         Avoid autoconf warnings about AM_ICONV.
336         * iconv.m4 (AM_ICONV): Define using AC_DEFUN_ONCE for autoconf >= 2.64.
337
338 2010-05-09  Bruno Haible  <bruno@clisp.org>
339
340         * gettext-0.18 released.
341
342 2010-05-09  Bruno Haible  <bruno@clisp.org>
343
344         * po.m4 (AM_PO_SUBDIRS): Set GETTEXT_MACRO_VERSION to 0.18.
345
346 2010-04-20  Simon Josefsson  <simon@josefsson.org>
347             Bruno Haible  <bruno@clisp.org>
348
349         visibility: Don't use -fvisibility if it leads to a warning.
350         * visibility.m4 (gl_VISIBILITY): Check whether -Werror is usable. If
351         yes, don't pretend that visibility works if it leads to a warning.
352         Reported by Mike Gran <spk121@yahoo.com>.
353
354 2010-04-05  Bruno Haible  <bruno@clisp.org>
355
356         Make the multithread modules work on Cygwin 1.7.2.
357         * threadlib.m4 (gl_THREADLIB_BODY): Improve the test whether imported
358         symbols can be declared weak, so that it returns "no" on Cygwin 1.7.2.
359
360 2010-03-28  Bruno Haible  <bruno@clisp.org>
361
362         * gettext.m4 (AM_GNU_GETTEXT): Emit a warning if the first argument is
363         empty or 'no-libtool'.
364
365 2010-01-01  Bruno Haible  <bruno@clisp.org>
366
367         * iconv.m4 (AM_ICONV_LINK): Recognize native Solaris iconv() bug.
368
369 2009-12-26  Bruno Haible  <bruno@clisp.org>
370
371         * intl.m4 (gt_INTL_SUBDIR_CORE): Don't check for NL_LOCALE_NAME macro.
372
373 2009-12-26  Bruno Haible  <bruno@clisp.org>
374
375         * intl.m4 (gt_INTL_SUBDIR_CORE): Check also for uselocale.
376
377 2009-12-25  Bruno Haible  <bruno@clisp.org>
378
379         * fcntl-o.m4: New file, from gnulib.
380         * fcntl_h.m4: Remove file.
381         * Makefile.am (EXTRA_DIST): Add fcntl-o.m4. Remove fcntl_h.m4.
382
383 2009-12-21  Bruno Haible  <bruno@clisp.org>
384
385         Define override of setlocale and newlocale functions.
386         * intl.m4 (AM_INTL_SUBDIR): Check also for newlocale. Set
387         HAVE_NEWLOCALE.
388
389 2009-12-12  Bruno Haible  <bruno@clisp.org>
390
391         * fcntl_h.m4: Untabify.
392         * glibc2.m4: Untabify.
393         * glibc21.m4: Untabify.
394         * longlong.m4: Untabify.
395
396 2009-10-18  Bruno Haible  <bruno@clisp.org>
397
398         * fcntl_h.m4: New file, from gnulib.
399         * intl.m4 (AM_INTL_SUBDIR): Require gl_FCNTL_O_FLAGS.
400         * Makefile.am (EXTRA_DIST): Add fcntl_h.m4.
401
402 2009-08-14  Bruno Haible  <bruno@clisp.org>
403
404         * eoverflow.m4: Remove file. Obsoleted by gnulib's 'errno' module.
405         * Makefile.am (EXTRA_DIST): Remove it.
406
407 2009-08-14  Bruno Haible  <bruno@clisp.org>
408
409         Disable multithread support by default on Cygwin 1.5.x for real.
410         * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): Fix last commit.
411
412 2009-08-12  Bruno Haible  <bruno@clisp.org>
413
414         Disable multithread support by default on Cygwin 1.5.x.
415         * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): On Cygwin 1.5.x and older,
416         set gl_use_threads=no if not specified otherwise.
417
418 2009-08-03  Bruno Haible  <bruno@clisp.org>
419
420         * iconv.m4 (AM_ICONV): Fix displayed message with autoconf-2.64.
421
422 2009-06-06  Bruno Haible  <bruno@clisp.org>
423
424         Interoperate with automake-1.11 provided --enable-silent-rules option.
425         * intl.m4 (AM_INTL_SUBDIR): Set INTL_DEFAULT_VERBOSITY.
426
427 2009-05-21  Bruno Haible  <bruno@clisp.org>
428
429         Avoid redefinition warnings for SIZE_MAX.
430         * size_max.m4 (gl_SIZE_MAX): Avoid redefining SIZE_MAX in config.h.
431         Reported by Simon Josefsson.
432
433 2009-05-21  Bruno Haible  <bruno@clisp.org>
434
435         * size_max.m4 (gl_SIZE_MAX): Use AC_CACHE_CHECK instead of
436         AC_CACHE_VAL.
437
438 2009-02-23  Bruno Haible  <bruno@clisp.org>
439
440         * intl.m4 (AM_INTL_SUBDIR): Also check for strnlen, wcsnlen, mbrtowc,
441         wcrtomb.
442
443 2009-01-14  Bruno Haible  <bruno@clisp.org>
444
445         * intl.m4: More consistent m4 quoting.
446
447 2009-01-14  Jim Meyering  <meyering@redhat.com>
448
449         * codeset.m4: More consistent m4 quoting.
450         * gettext.m4: Likewise.
451         * iconv.m4: Likewise.
452         * intldir.m4: Likewise.
453         * intlmacosx.m4: Likewise.
454         * intmax.m4: Likewise.
455         * inttypes_h.m4: Likewise.
456         * inttypes-pri.m4: Likewise.
457         * lcmessage.m4: Likewise.
458         * lock.m4: Likewise.
459         * longlong.m4: Likewise.
460         * nls.m4: Likewise.
461         * po.m4: Likewise.
462         * printf-posix.m4: Likewise.
463         * progtest.m4: Likewise.
464         * stdint_h.m4: Likewise.
465         * threadlib.m4: Likewise.
466         * uintmax_t.m4: Likewise.
467         * wchar_t.m4: Likewise.
468         * wint_t.m4: Likewise.
469
470 2008-12-29  Bruno Haible  <bruno@clisp.org>
471
472         * codeset.m4 (AM_LANGINFO_CODESET): More systematic m4 argument
473         quoting.
474         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
475         * glibc2.m4 (gt_GLIBC2): Likewise.
476         * glibc21.m4 (gl_GLIBC21): Likewise.
477         * iconv.m4 (AM_ICONV_LINK, AM_ICONV): Likewise.
478         * intdiv0.m4 (gt_INTDIV0): Likewise.
479         * intl.m4 (gt_INTL_SUBDIR_CORE, gt_CHECK_DECL): Likewise.
480         * intlmacosx.m4 (gt_INTL_MACOSX): Likewise.
481         * intmax.m4 (gt_TYPE_INTMAX_T): Likewise.
482         * inttypes-pri.m4 (gt_INTTYPES_PRI): Likewise.
483         * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
484         * lcmessage.m4 (gt_LC_MESSAGES): Likewise.
485         * nls.m4 (AM_NLS): Likewise.
486         * po.m4 (AM_PO_SUBDIRS): Likewise.
487         * printf-posix.m4 (gt_PRINTF_POSIX): Likewise.
488         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
489         * size_max.m4 (gl_SIZE_MAX): Likewise.
490         * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Likewise.
491         * threadlib.m4 (gl_THREADLIB_BODY): Likewise.
492         * uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Likewise.
493         * visibility.m4 (gl_VISIBILITY): Likewise.
494         * wchar_t.m4 (gt_TYPE_WCHAR_T): Likewise.
495         * wint_t.m4 (gt_TYPE_WINT_T): Likewise.
496         * xsize.m4 (gl_XSIZE): Likewise.
497
498 2007-11-12  Paul Eggert  <eggert@cs.ucla.edu>
499
500         Don't insist on 'long long int' support in the preprocessor.  It
501         breaks too many things.  For example, PRIdMAX still uses a 'long
502         long int' format with the latest Sun compiler, even though
503         HAVE_LONG_LONG_INT isn't defined due to that compiler's
504         preprocessor problem.  This causes the latest coreutils to dump
505         core on Solaris 10 sparc with the Sun C compiler.
506         Instead, fix the 2007-10-16 problem in a different way, by evaluating
507         the troublesome expressions at configure-time, not at #if-time.
508         * longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Don't test the
509         preprocessor.
510
511 2008-08-17  Bruno Haible  <bruno@clisp.org>
512
513         * threadlib.m4: New file, from gnulib.
514         * lock.m4: Update from gnulib.
515         * Makefile.am (EXTRA_DIST): Add threadlib.m4.
516
517 2008-08-14  Bruno Haible  <bruno@clisp.org>
518
519         * intl.m4 (AM_INTL_SUBDIR): Update after changes to lock.h.
520
521 2008-06-17  Bruno Haible  <bruno@clisp.org>
522
523         New macro gl_DISABLE_THREADS.
524         * lock.m4 (gl_LOCK_EARLY_BODY): Use value gl_use_threads_default
525         if the user did not pass --enable-threads or --disable-threads option.
526         (gl_DISABLE_THREADS): New macro.
527         Reported by Eric Blake <ebb9@byu.net>.
528
529 2007-11-10  Bruno Haible  <bruno@clisp.org>
530
531         * eoverflow.m4: New file, from gnulib.
532         * Makefile.am (EXTRA_DIST): Add it.
533
534 2007-11-07  Bruno Haible  <bruno@clisp.org>
535
536         * gettext-0.17 released.
537
538 2007-10-31  Bruno Haible  <bruno@clisp.org>
539
540         * ulonglong.m4: Remove file.
541         * Makefile.am (EXTRA_DIST): Remove it.
542
543 2007-10-31  Bruno Haible  <bruno@clisp.org>
544
545         * uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Use
546         AC_TYPE_UNSIGNED_LONG_LONG_INT instead of gl_AC_TYPE_UNSIGNED_LONG_LONG.
547         * longlong.m4 (gl_AC_TYPE_LONG_LONG): Remove macro.
548         * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG): Remove macro.
549
550 2007-10-31  Bruno Haible  <bruno@clisp.org>
551
552         * longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro, extracted from
553         AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
554         (AC_TYPE_LONG_LONG_INT): Use it.
555         (AC_TYPE_UNSIGNED_LONG_LONG_INT): Moved here from ulonglong.m4. Use it
556         as well.
557         * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Remove macro; moved to
558         longlong.m4.
559
560 2007-10-28  Bruno Haible  <bruno@clisp.org>
561
562         * po.m4 (AM_PO_SUBDIRS): Initialize XGETTEXT_EXTRA_OPTIONS.
563         (AM_XGETTEXT_OPTION_INIT, AM_XGETTEXT_OPTION): New macros.
564
565 2007-10-28  Bruno Haible  <bruno@clisp.org>
566
567         * po.m4 (AM_PO_SUBDIRS): Set GETTEXT_MACRO_VERSION to 0.17.
568
569 2007-10-27  Bruno Haible  <bruno@clisp.org>
570
571         * intl.m4 (AM_INTL_SUBDIR): Set and AC_SUBST LTLIBC.
572
573 2007-10-22  Bruno Haible  <bruno@clisp.org>
574
575         * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
576         -1u, in preprocessor expression, so that we don't test for the bug
577         in HP-UX 11.00 cpp.  Testing for this bug caused problems; see
578         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
579
580 2007-10-16  Paul Eggert  <eggert@cs.ucla.edu>
581
582         Check for 64-bit int errors in HP-UX 10.20 preprocessor.
583         Problem reported by H.Merijn Brand in
584         <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
585         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Check preprocessor too.
586         * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
587
588 2007-10-07  Bruno Haible  <bruno@clisp.org>
589
590         * intl.m4 (AM_INTL_SUBDIR): Set WOE32DLL on mingw like on Cygwin.
591         Fixes incomplete 2006-05-15 patch.
592         Patch from Charles Wilson.
593
594 2007-09-12  Bruno Haible  <bruno@clisp.org>
595
596         * lock.m4: Don't provide an AC_USE_SYSTEM_EXTENSIONS definition.
597         (gl_LOCK_EARLY_BODY): Use AC_GNU_SOURCE when AC_USE_SYSTEM_EXTENSIONS
598         is not defined.
599
600 2007-09-12  Eric Blake  <ebb9@byu.net>
601
602         * lock.m4 (gl_LOCK_EARLY_BODY): AC_GNU_SOURCE will be obsolete in
603         Autoconf 2.62; use AC_USE_SYSTEM_EXTENSIONS instead, but provide
604         fallback, so that lock.m4 can be used in gettext without extensions
605         module.
606
607 2007-09-08  Bruno Haible  <bruno@clisp.org>
608
609         * po.m4 (AM_PO_SUBDIRS): Define GETTEXT_MACRO_VERSION.
610         Suggested by Daniel Leidert <daniel.leidert.spam@gmx.net>.
611
612 2007-08-26  Bruno Haible  <bruno@clisp.org>
613
614         * intl.m4 (gl_INTL_SUBDIR_CORE): Avoid an "unused variable" warning
615         in the _NL_LOCALE_NAME test.
616         Mentioned by Marti Raudsepp <marti@juffo.org>.
617
618 2007-06-07  Bruno Haible  <bruno@clisp.org>
619
620         * intlmacosx.m4: New file, extracted from gettext.m4.
621         * gettext.m4 (gt_INTL_MACOSX): Remove macro, moved to intlmacosx.m4.
622         * Makefile.am (EXTRA_DIST): Add intlmacosx.m4.
623
624 2007-05-28  Bruno Haible  <bruno@clisp.org>
625
626         * intl.m4 (AM_INTL_SUBDIR): Substitute variables WOE32, WINDRES.
627
628 2007-05-27  Bruno Haible  <bruno@clisp.org>
629
630         * iconv.m4: Update from gnulib.
631         2007-05-27  Bruno Haible  <bruno@clisp.org>
632                 * iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch.
633
634 2007-05-20  Bruno Haible  <bruno@clisp.org>
635
636         * iconv.m4: Update from gnulib.
637         2007-03-31  Bruno Haible  <bruno@clisp.org>
638                 * iconv.m4 (AM_ICONV_LINK): Fix 2007-03-29 patch. Test also
639                 against a bug in HP-UX iconv_open().
640         2007-03-29  Bruno Haible  <bruno@clisp.org>
641                 * iconv.m4 (AM_ICONV_LINK): Require AC_CANONICAL_HOST. Test
642                 against a bug in AIX iconv().
643
644         * longlong.m4: Update from gnulib.
645         2006-11-08  Bruno Haible  <bruno@clisp.org>
646                 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Set
647                 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
648         2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
649                 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in Tandem
650                 NonStop Kernel (OSS) cc -O circa 2004, reported by Matthew
651                 Woehlke.
652
653 2007-04-06  Bruno Haible  <bruno@clisp.org>
654
655         Assume the 'long double' type.
656         * longdouble.m4: Remove file.
657         * intl.m4: Remove gt_TYPE_LONGDOUBLE invocation.
658         * Makefile.am (EXTRA_DIST): Remove longdouble.m4.
659
660 2007-04-02  Bruno Haible  <bruno@clisp.org>
661
662         * intdiv0.m4 (gt_INTDIV0): Avoid performing the test for real on x86
663         or x86_64 platforms running MacOS X.
664         Reported by Ryan Schmidt <@ryandesign.com>.
665
666 2007-04-02  Bruno Haible  <bruno@clisp.org>
667
668         * intdiv0.m4 (gt_INTDIV0): When cross-compiling, treat x86_64 like
669         i386.
670
671 2007-03-04  Bruno Haible  <bruno@clisp.org>
672
673         * printf-posix.m4 (gt_PRINTF_POSIX): Treat BeOS like NetBSD and Woe32
674         systems.
675
676 2007-02-13  Bruno Haible  <bruno@clisp.org>
677
678         * intdiv0.m4 (gt_INTDIV0): Assume ANSI C. Fix underquoting bug.
679         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
680
681 2007-01-10  Eric Blake  <ebb9@byu.net>
682
683         * wint_t.m4 (gt_TYPE_WINT_T): Include <stddef.h> before <wchar.h>, to
684         work around BSDI bug in BSD/OS 4.0.1.
685         Reported by Chris McGuire.
686
687 2006-11-21  Bruno Haible  <bruno@clisp.org>
688
689         * size_max.m4 (gl_SIZE_MAX): Use AC_COMPUTE_INT instead of
690         _AC_COMPUTE_INT.
691         (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
692
693 2006-11-27  Bruno Haible  <bruno@clisp.org>
694
695         * gettext-0.16.1 released.
696
697 2006-11-20  Bruno Haible  <bruno@clisp.org>
698
699         * gettext.m4 (AM_GNU_GETTEXT): Revert 2005-07-28 patch: Use
700         changequote instead of pairs of brackets.
701         Reported by Andreas Schwab <schwab@suse.de>.
702
703 2006-10-26  Bruno Haible  <bruno@clisp.org>
704
705         * gettext-0.16 released.
706
707 2006-10-19  Bruno Haible  <bruno@clisp.org>
708
709         * size_max.m4 (gl_SIZE_MAX): Cache the result.
710
711 2006-10-15  Bruno Haible  <bruno@clisp.org>
712
713         * gettext.m4 (AM_GNU_GETTEXT): Don't use 'eval' on commands, only on
714         variable assignments. Fixes bug introduced on 2006-10-01.
715
716 2006-10-11  Bruno Haible  <bruno@clisp.org>
717
718         * intl.m4 (AM_INTL_SUBDIR): Invoke AC_TYPE_LONG_LONG_INT instead of
719         gl_AC_TYPE_LONG_LONG.
720
721 2006-10-11  Bruno Haible  <bruno@clisp.org>
722
723         * longlong.m4: Add comments.
724         * ulonglong.m4: Likewise.
725
726 2006-08-22  Eric Blake  <ebb9@byu.net>
727
728         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Avoid compiler warning.
729
730 2006-07-01  Paul Eggert  <eggert@cs.ucla.edu>
731
732         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
733         but fix a bug, by requiring at least 64 bits.
734         * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
735         * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
736         AC_TYPE_LONG_LONG_INT.  This macro is obsolete and will go soon.
737         * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
738
739 2006-10-01  Bruno Haible  <bruno@clisp.org>
740
741         Make it possible to invoke AC_GNU_SOURCE after gl_LOCK_EARLY.
742         * lock.m4 (gl_LOCK_EARLY_BODY): New macro, extracted code from
743         gl_LOCK_BODY.
744         (gl_LOCK_EARLY): Require gl_LOCK_EARLY_BODY, not gl_LOCK_BODY.
745         (gl_LOCK_BODY): Remove settings of CPPFLAGS, now done in
746         gl_LOCK_EARLY_BODY.
747         (gl_LOCK): Require gl_LOCK_BODY.
748
749 2006-10-01  Bruno Haible  <bruno@clisp.org>
750
751         * gettext.m4 (gt_NEEDS_INIT, AM_GNU_GETTEXT_NEED): New macros.
752         (AM_GNU_GETTEXT): Invoke them. Convert gt_api_version,
753         gt_cv_func_gnugettext_libc, gt_cv_func_gnugettext_libintl from
754         m4-time variables to sh-time variables.
755
756 2006-10-01  Bruno Haible  <bruno@clisp.org>
757
758         * intldir.m4: New file.
759         * gettext.m4 (AM_GNU_GETTEXT): Define gt_included_intl to yes if
760         AM_GNU_GETTEXT_INTL_SUBDIR is present among the macros selected by
761         aclocal.
762         * Makefile.am (EXTRA_DIST): Add intl.m4, intldir.m4.
763
764 2006-09-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
765
766         * intmax.m4 (gt_TYPE_INTMAX_T): Avoid unused variables warning.
767
768 2006-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
769
770         * lock.m4 (gl_LOCK_BODY): Avoid unused variables warning.
771
772 2006-09-18  Bruno Haible  <bruno@clisp.org>
773
774         Assume autoconf-2.52 or newer.
775         * inttypes-h.m4: Remove file.
776         * inttypes-pri.m4: Require autoconf >= 2.52.
777         (gt_INTTYPES_PRI): Invoke AC_CHECK_HEADERS on inttypes.h. Test
778         ac_cv_header_inttypes_h instead of gl_cv_header_inttypes_h.
779         * intl.m4: Require autoconf >= 2.52.
780         (gt_INTL_SUBDIR_CORE): Invoke AC_CHECK_HEADERS on inttypes.h.
781         * Makefile.am (EXTRA_DIST): Remove inttypes-h.m4.
782
783 2006-09-11  Bruno Haible  <bruno@clisp.org>
784
785         * intl.m4: New file, extracted from gettext.m4.
786         * gettext.m4 (AM_INTL_SUBDIR, gt_INTL_SUBDIR_CORE, gt_CHECK_DECL):
787         Move out to intl.m4.
788
789 2006-08-26  Bruno Haible  <bruno@clisp.org>
790
791         * inttypes-pri.m4 (gt_INTTYPES_PRI): Also AC_SUBST PRI_MACROS_BROKEN.
792
793 2006-08-28  Bruno Haible  <bruno@clisp.org>
794
795         * signed.m4: Remove file.
796         * gettext.m4 (AM_INTL_SUBDIR): Remove bh_C_SIGNED invocation.
797         * Makefile.am (EXTRA_DIST): Remove signed.m4.
798
799 2006-08-22  Eric Blake  <ebb9@byu.net>
800
801         * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
802         * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
803         * codeset.m4 (AM_LANGINFO_CODESET): Likewise.
804
805 2006-08-23  Bruno Haible <bruno@clisp.org>
806
807         * lock.m4 (gl_LOCK_EARLY): Renamed from gl_LOCK.
808         (gl_LOCK_BODY): Remove gl_PREREQ_LOCK invocation.
809         (gl_LOCK): New macro.
810
811 2006-08-18  Bruno Haible  <bruno@clisp.org>
812
813         * lock.m4 (gl_LOCK_BODY): Change the default value of gl_use_threads on
814         OSF/1 to no.
815         Reported by Stephen Cartwright <sgcartwr@ucalgary.ca>.
816
817 2006-07-21  Bruno Haible  <bruno@clisp.org>
818
819         * gettext-0.15 released.
820
821 2006-06-27  Bruno Haible  <bruno@clisp.org>
822
823         * isc-posix.m4: Remove file.
824         * Makefile.am (EXTRA_DIST): Remove it.
825         * gettext.m4 (AM_INTL_SUBDIR): Remove AC_ISC_POSIX invocation.
826
827 2006-06-27  Bruno Haible  <bruno@clisp.org>
828
829         Assume working 'const'.
830         * gettext.m4 (gt_INTL_SUBDIR_CORE): Remove AC_C_CONST invocation.
831
832 2006-06-15  Bruno Haible  <bruno@clisp.org>
833
834         * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
835
836 2005-07-10  Bruno Haible  <bruno@clisp.org>
837
838         * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
839         Needed when size_t is smaller than 'unsigned int'.
840         Reported by Paul Eggert.
841
842 2006-01-08  Bruno Haible  <bruno@clisp.org>
843
844         Ensure automatic ordering between gl_LOCK and gl_ARGP.
845         * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
846         (gl_LOCK): New macro, requiring gl_LOCK_BODY.
847
848 2006-06-23  Bruno Haible  <bruno@clisp.org>
849
850         * gettext.m4 (gt_INTL_SUBDIR_CORE): Check for argz_* functions,
851         not __argz*. Avoids warnings on Cygwin.
852         Reported by Eric Blake.
853
854 2006-06-17  Bruno Haible  <bruno@clisp.org>
855
856         * gettext.m4 (AM_INTL_SUBDIR): Don't redefine __libc_rwlock_* symbols.
857
858 2006-06-17  Bruno Haible  <bruno@clisp.org>
859
860         * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): Remove double-quotes around
861         backquoted expression in assignment.
862         Fixes a problem with NetBSD /bin/sh.
863
864 2006-06-04  Bruno Haible  <bruno@clisp.org>
865
866         * inttypes-h.m4: Renamed from inttypes.m4.
867         (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
868         * inttypes-pri.m4 (gt_INTTYPES_PRI): Update.
869         * gettext.m4 (gt_INTL_SUBDIR_CORE): Update.
870         * Makefile.am (EXTRA_DIST): Update.
871
872 2006-05-15  Bruno Haible  <bruno@clisp.org>
873
874         * gettext.m4 (AM_INTL_SUBDIR): Set variable WOE32DLL instead of
875         CYGWINDLL.
876
877 2006-05-11  Bruno Haible  <bruno@clisp.org>
878
879         * gettext.m4 (AM_INTL_SUBDIR): Set variable CYGWINDLL.
880
881 2006-05-07  Bruno Haible  <bruno@clisp.org>
882
883         * gettext.m4 (gt_INTL_SUBDIR_CORE): Fix test of __builtin_expect so
884         that it works correctly with non-gcc compilers.
885
886 2006-04-17  Bruno Haible  <bruno@clisp.org>
887
888         * nls.m4 (AM_MKINSTALLDIRS): Remove macro.
889         * gettext.m4 (AM_INTL_SUBDIR): Require AM_PROG_MKDIR_P instead of
890         AM_MKINSTALLDIRS.
891         * po.m4 (AM_PO_SUBDIRS): Likewise.
892
893 2006-04-14  Bruno Haible  <bruno@clisp.org>
894
895         Prepare for autoconf-2.60.
896         * po.m4 (AM_PO_SUBDIRS): Set localedir if not already defined.
897
898 2006-02-21  Bruno Haible  <bruno@clisp.org>
899
900         * gettext.m4 (AM_GNU_GETTEXT): Invoke AM_NLS through AC_REQUIRE, not
901         directly.
902         Reported by Ron Lee <ron@debian.org>.
903
904 2005-11-21  Bruno Haible  <bruno@clisp.org>
905
906         * gettext.m4 (AM_INTL_SUBDIR): Invoke gt_LC_MESSAGES always, since we
907         assume that <locale.h> always exists.
908         Fixes bug introduced on 2005-08-28.
909
910 2005-10-18  Bruno Haible  <bruno@clisp.org>
911
912         * po.m4 (AM_PO_SUBDIRS): Also define MSGFMT_015, GMSGFMT_015,
913         XGETTEXT_015.
914
915 2005-10-18  Bruno Haible  <bruno@clisp.org>
916
917         * po.m4 (AM_PO_SUBDIRS): Remove redundant checks.
918
919 2005-08-28  Bruno Haible  <bruno@clisp.org>
920
921         * gettext.m4 (AM_INTL_SUBDIR): Remove AC_HEADER_STDC, AC_TYPE_OFF_T
922         tests. Remove tests for locale.h, nl_types.h, malloc.h.
923         (gt_INTL_SUBDIR_CORE): Add test for __builtin_expect.
924
925 2005-08-28  Bruno Haible  <bruno@clisp.org>
926
927         * gettext.m4 (gt_INTL_SUBDIR_CORE): New macro, extracted from
928         AM_INTL_SUBDIR.
929         (AM_INTL_SUBDIR): Require it.
930
931 2005-08-15  Bruno Haible  <bruno@clisp.org>
932
933         * gettext.m4 (AM_INTL_SUBDIR): Fix test for NL_LOCALE_NAME macro.
934
935 2005-07-28  Stepan Kasal  <kasal@ucw.cz>
936
937         * gettext.m4 (AM_GNU_GETTEXT): Don't use changequote, add pairs of
938         brackets instead.
939
940 2005-07-28  Bruno Haible  <bruno@clisp.org>
941
942         * po.m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE): Update comments
943         regarding automake.
944         Suggested by Stepan Kasal <kasal@ucw.cz>.
945
946 2005-07-24  Bruno Haible  <bruno@clisp.org>
947
948         Tidy up exported symbols.
949         * gettext.m4 (AM_INTL_SUBDIR): Require gl_VISIBILITY.
950         * visibility.m4: New file.
951         * Makefile.am (EXTRA_DIST): Add it.
952
953 2005-07-26  Bruno Haible  <bruno@clisp.org>
954
955         * lock.m4 (gl_LOCK): On OSF/1 with cc, use -D_REENTRANT, not -pthread.
956
957 2005-07-26  Bruno Haible  <bruno@clisp.org>
958
959         * lock.m4 (gl_LOCK): Add some ordering constraints.
960
961 2005-07-25  Bruno Haible  <bruno@clisp.org>
962
963         * lock.m4 (gl_LOCK): On Solaris and HP-UX, define
964         PTHREAD_IN_USE_DETECTION_HARD.
965         * gettext.m4 (AM_INTL_SUBDIR): Also hide the glthread_in_use function.
966
967 2005-07-22  Bruno Haible  <bruno@clisp.org>
968
969         * lock.m4 (gl_LOCK): Stronger test for pthread functions in libc, so
970         that the result on IRIX 6.5 is no.
971
972 2005-07-16  Bruno Haible  <bruno@clisp.org>
973
974         * gettext.m4 (AM_INTL_SUBDIR): Also hide the glthread_once* functions.
975
976 2005-07-16  Bruno Haible  <bruno@clisp.org>
977
978         * lock.m4: New file.
979         * gettext.m4 (AM_INTL_SUBDIR): Remove multithreading checks. Instead
980         require gl_LOCK and define __libc_lock_*, __libc_rwlock_*,
981         __libc_lock_*recursive*, glthread_* as macros.
982         * Makefile.am (EXTRA_DIST): Add lock.m4.
983
984 2005-05-05  Bruno Haible  <bruno@clisp.org>
985
986         * gettext.m4 (AM_GNU_GETTEXT): Add LIBTHREAD to LIBINTL and
987         LTLIBTHREAD to LTLIBINTL.
988         (AM_INTL_SUBDIR): Check for thread library. Set LIBTHREAD, LTLIBTHREAD.
989
990 2005-03-13  Bruno Haible  <bruno@clisp.org>
991
992         * po.m4 (AM_PO_SUBDIRS): Use AC_CONFIG_COMMANDS instead of
993         AC_OUTPUT_COMMANDS.
994         Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>.
995
996 2005-04-30  Bruno Haible  <bruno@clisp.org>
997
998         * gettext.m4 (AM_INTL_SUBDIR): Remove CPPFLAGS addition for
999         CoreFoundation on MacOS X.
1000         (gt_INTL_MACOSX): Likewise. Use #include <CoreFoundation/...> syntax.
1001         It's a special Apple syntax implemented in the C compiler, but since
1002         <CFString.h> already uses it, all compilers usable on MacOS X must
1003         support it. In LIBS, use -Wl prefix for -framework option.
1004
1005 2005-05-03  Bruno Haible  <bruno@clisp.org>
1006
1007         * gettext.m4 (AM_INTL_SUBDIR): Also test for NL_LOCALE_NAME macro.
1008
1009 2006-06-21  Bruno Haible  <bruno@clisp.org>
1010
1011         * gettext-0.14.6 released.
1012
1013 2005-05-23  Bruno Haible  <bruno@clisp.org>
1014
1015         * gettext-0.14.5 released.
1016
1017 2005-04-11  Bruno Haible  <bruno@clisp.org>
1018
1019         * gettext-0.14.4 released.
1020
1021 2005-04-06  Bruno Haible  <bruno@clisp.org>
1022
1023         * gettext.m4 (AM_GNU_GETTEXT): Don't use a cast from 'char *' to 'int',
1024         since it's not valid in C++ on 64-bit machines.
1025         Reported by Mads Martin Joergensen <mmj@suse.de>.
1026
1027 2005-03-14  Bruno Haible  <bruno@clisp.org>
1028
1029         * gettext-0.14.3 released.
1030
1031 2005-03-12  Bruno Haible  <bruno@clisp.org>
1032
1033         * po.m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE): In the LINGUAS
1034         file, ignore also comments that don't start in column 0.
1035
1036 2005-03-12  Bruno Haible  <bruno@clisp.org>
1037
1038         * gettext.m4 (AM_GNU_GETTEXT): Fix quoting bug. Fixes an endless loop
1039         of 'aclocal' when a configure.ac contains two invocations of
1040         AM_GNU_GETTEXT.
1041
1042 2005-03-11  Bruno Haible  <bruno@clisp.org>
1043
1044         * gettext.m4 (AM_GNU_GETTEXT): CATOBJEXT and INTLOBJS default to empty.
1045         Reported by Stepan Kasal <kasal@ucw.cz>.
1046
1047 2005-03-07  Bruno Haible  <bruno@clisp.org>
1048
1049         * po.m4: Add comments.
1050
1051 2005-03-05  Bruno Haible  <bruno@clisp.org>
1052
1053         * nls.m4: Require autoconf >= 2.50.
1054         (AM_MKINSTALLDIRS): Use AC_REQUIRE_AUX_FILE conditionally.
1055
1056 2005-02-24  Bruno Haible  <bruno@clisp.org>
1057
1058         * gettext-0.14.2 released.
1059
1060 2005-01-29  Bruno Haible  <bruno@clisp.org>
1061
1062         * gettext.m4 (gt_INTL_MACOSX): New macro, extracted from
1063         AM_INTL_SUBDIR. Set INTL_MACOSX_LIBS instead of INTL_MACOSX_LDFLAGS.
1064         (AM_GNU_GETTEXT): Invoke it. Add the INTL_MACOSX_LIBS contents to
1065         LIBINTL and LTLIBINTL.
1066         (AM_INTL_SUBDIR): Require gt_INTL_MACOSX.
1067
1068 2005-01-19  Bruno Haible  <bruno@clisp.org>
1069
1070         * ansi-c++.m4, codeset.m4, gettext.m4, glibc21.m4, glibc2.m4, iconv.m4:
1071         * intdiv0.m4, intmax.m4, inttypes_h.m4, inttypes.m4, inttypes-pri.m4:
1072         * isc-posix.m4, lcmessage.m4, longdouble.m4, longlong.m4, nls.m4:
1073         * po.m4, printf-posix.m4, progtest.m4, signed.m4, size_max.m4:
1074         * stdint_h.m4, uintmax_t.m4, ulonglong.m4, wchar_t.m4, wint_t.m4:
1075         * xsize.m4:
1076         Use an all-permissive copyright notice, recommended by RMS.
1077
1078 2005-01-10  Bruno Haible  <bruno@clisp.org>
1079
1080         * gettext.m4 (AM_GNU_GETTEXT): Declare _nl_expand_alias with an
1081         argument.
1082         Reported by Mark A. Wicks <mwicks@kettering.edu> and
1083         Vaclav Haisman <V.Haisman@sh.cvut.cz>.
1084
1085 2005-01-08  Bruno Haible  <bruno@clisp.org>
1086
1087         * progtest.m4: Require autoconf >= 2.50.
1088         (AM_PATH_PROG_WITH_TEST): Emit some traces to the log file.
1089         * po.m4: Require autoconf >= 2.50.
1090         (AM_PO_SUBDIRS): Emit the tested program's output to the log file.
1091         Suggested by Yann Dirson <ydirson@altern.org>.
1092
1093 2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1094
1095         * longlong.m4, ulonglong.m4: Fix copyright date and/or serial number.
1096
1097 2004-09-05  Bruno Haible  <bruno@clisp.org>
1098
1099         * gettext.m4 (AM_INTL_SUBDIR): Test for CFPreferencesCopyAppValue.
1100
1101 2004-09-03  Bruno Haible  <bruno@clisp.org>
1102
1103         * gettext.m4 (AM_INTL_SUBDIR): Add a test for CFLocaleCopyCurrent.
1104
1105 2004-05-16  Bruno Haible  <bruno@clisp.org>
1106
1107         * lcmessage.m4 (gt_LC_MESSAGES): Renamed from AM_LC_MESSAGES.
1108         * gettext.m4 (AM_INTL_SUBDIR): Update.
1109         Suggested by Alexandre Duret-Lutz.
1110
1111 2004-04-19  Bruno Haible  <bruno@clisp.org>
1112
1113         * gettext.m4: Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
1114
1115 2004-04-19  Bruno Haible  <bruno@clisp.org>
1116
1117         * inttypes_h.m4: Change jm_ to gl_ in cache variables as well.
1118         * stdint_h.m4: Likewise.
1119         * uintmax_t.m4: Likewise.
1120
1121 2004-04-18  Jim Meyering  <jim@meyering.net>
1122
1123         * glibc21.m4: Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
1124         * intmax.m4: Likewise.
1125         * inttypes_h.m4: Likewise.
1126         * longlong.m4: Likewise.
1127         * stdint_h.m4: Likewise.
1128         * uintmax_t.m4: Likewise.
1129         * ulonglong.m4: Likewise.
1130
1131 2004-03-02  Bruno Haible  <bruno@clisp.org>
1132
1133         * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): For RESOURCESDLLFILES and
1134         CSHARPCATALOGS, extend the lang -> frobbedlang mapping so as to support
1135         Serbian and Uzbek locales.
1136
1137 2004-02-18  Bruno Haible  <bruno@clisp.org>
1138
1139         * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
1140         Reported by Derek Robert Price <derek@ximbiot.com>.
1141
1142 2004-02-02  Bruno Haible  <bruno@clisp.org>
1143
1144         * glibc2.m4: New file.
1145         * gettext.m4 (AM_INTL_SUBDIR): Require gt_GLIBC2.
1146         * Makefile.am (EXTRA_DIST): Add glibc2.m4.
1147
1148 2004-01-29  Bruno Haible  <bruno@clisp.org>
1149
1150         * gettext-0.14.1 released.
1151
1152 2004-01-28  Bruno Haible  <bruno@clisp.org>
1153
1154         * gettext-0.14 released.
1155
1156 2003-12-26  Bruno Haible  <bruno@clisp.org>
1157
1158         Support for C#.
1159         * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): Substitute also the variables
1160         RESOURCESDLLFILES and CSHARPCATALOGS. Add rules for each member of
1161         CSHARPCATALOGS.
1162
1163 2003-12-17  Bruno Haible  <bruno@clisp.org>
1164
1165         * gettext-0.13.1 released.
1166
1167 2003-12-16  Bruno Haible  <bruno@clisp.org>
1168
1169         * printf-posix.m4 (gt_PRINTF_POSIX): Guess correctly when cross-
1170         compiling to Cygwin.
1171
1172 2003-11-30  Bruno Haible  <bruno@clisp.org>
1173
1174         * gettext-0.13 released.
1175
1176 2003-11-23  Bruno Haible  <bruno@clisp.org>
1177
1178         * ssize_t.m4: Remove file, moved to ../../gettext-tools/m4/.
1179         * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_TYPE_SSIZE_T.
1180         * Makefile.am (EXTRA_DIST): Remove ssize_t.m4.
1181
1182 2003-11-19  Bruno Haible  <bruno@clisp.org>
1183
1184         * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
1185
1186 2003-11-16  Bruno Haible  <bruno@clisp.org>
1187
1188         * size_max.m4: New file, moved here from ../../gettext-tools/m4/.
1189         * ssize_t.m4: New file, moved here from ../../gettext-tools/m4/.
1190         * xsize.m4: New file, moved here from ../../gettext-tools/m4/.
1191         * gettext.m4 (AM_INTL_SUBDIR): Require gt_TYPE_SSIZE_T, gl_XSIZE.
1192         Improve ptrdiff_t test.
1193         * Makefile.am (EXTRA_DIST): Add size_max.m4, ssize_t.m4, xsize.m4.
1194
1195 2003-11-09  Bruno Haible  <bruno@clisp.org>
1196
1197         * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): New macro.
1198
1199 2003-09-17  Bruno Haible  <bruno@clisp.org>
1200
1201         * gettext.m4 (AM_INTL_SUBDIR): Test for fwprintf, not wprintf. Needed
1202         because cygwin-1.3.22 has a broken definition of wprintf in
1203         winsup/cygwin/syscalls.cc and lacks 1. the declaration of this function
1204         and 2. the other wide-char I/O functions fwprintf, fwscanf, wprintf,
1205         wscanf, swprintf, swscanf, vfwprintf, vwprintf, vwsprintf, fgetwc,
1206         fgetwc, fputwc, fputws, getwc, getwchar, putwc, putwchar, ungetwc.
1207
1208 2003-08-29  Bruno Haible  <bruno@clisp.org>
1209
1210         * gettext.m4 (AM_INTL_SUBDIR): Test whether _snprintf and _snwprintf
1211         are declared, not only existent as functions.
1212
1213 2003-08-24  Bruno Haible  <bruno@clisp.org>
1214
1215         * gettext.m4 (AM_INTL_SUBDIR): Also check for _snprintf, _snwprintf.
1216
1217 2003-08-11  Bruno Haible  <bruno@clisp.org>
1218
1219         * gettext.m4 (AM_INTL_SUBDIR): Also check for wcslen.
1220
1221 2003-06-27  Bruno Haible  <bruno@clisp.org>
1222
1223         Avoid use of *_unlocked functions on Solaris 2.5.1.
1224         * gettext.m4 (AM_INTL_SUBDIR): Don't test for the functions
1225         feof_unlocked, fgets_unlocked, getc_unlocked. Test for their
1226         declaration instead.
1227         (gt_CHECK_DECL): New macro.
1228         Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
1229
1230 2003-06-19  Bruno Haible  <bruno@clisp.org>
1231
1232         * printf-posix.m4: New file.
1233         * Makefile.am (EXTRA_DIST): Add printf-posix.m4.
1234         * gettext.m4 (AM_INTL_SUBDIR): Require bh_C_SIGNED,
1235         jm_AC_TYPE_LONG_LONG, gt_TYPE_LONGDOUBLE, gt_TYPE_WCHAR_T,
1236         gt_TYPE_WINT_T, jm_AC_HEADER_INTTYPES_H, jm_AC_HEADER_STDINT_H,
1237         gt_TYPE_INTMAX_T, gt_PRINTF_POSIX. Check for ptrdiff_t, asprintf,
1238         snprintf, wprintf.
1239         * longlong.m4: Update from gnulib.
1240         (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG.
1241
1242 2003-01-11  Bruno Haible  <bruno@clisp.org>
1243
1244         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
1245         suffix.
1246
1247 2003-05-22  Bruno Haible  <bruno@clisp.org>
1248
1249         * gettext-0.12.1 released.
1250
1251 2003-05-17  Bruno Haible  <bruno@clisp.org>
1252
1253         * gettext-0.12 released.
1254
1255 2003-04-29  Bruno Haible  <bruno@clisp.org>
1256
1257         * nls.m4: New file, extracted from gettext.m4.
1258         * po.m4: New file, extracted from gettext.m4.
1259         * gettext.m4 (AM_GNU_GETTEXT): Use AM_NLS.
1260         (AM_PO_SUBDIRS, AM_MKINSTALLDIRS): Remove macros.
1261         * Makefile.am (EXTRA_DIST): Add them.
1262
1263 2003-03-16  Bruno Haible  <bruno@clisp.org>
1264
1265         * gettext.m4 (AM_INTL_SUBDIR): Also test for __fsetlocking.
1266
1267 2003-02-28  Bruno Haible  <bruno@clisp.org>
1268
1269         * error.m4: Remove file. Use ../../gettext-tools/m4/error.m4 instead.
1270         * Makefile.am (EXTRA_DIST): Remove it.
1271
1272 2003-02-28  Bruno Haible  <bruno@clisp.org>
1273
1274         * gettext.m4 (AM_MKINSTALLDIRS): Fix MKINSTALLDIRS for when AC_AUX_DIR
1275         is given and $srcdir is a relative directory.
1276
1277 2003-02-16  Bruno Haible  <bruno@clisp.org>
1278
1279         * gettext.m4 (AM_PO_SUBDIRS): Require an xgettext that supports the
1280         --msgid-bugs-address option.
1281
1282 2003-02-16  Bruno Haible  <bruno@clisp.org>
1283
1284         * gettext.m4 (AM_GNU_GETTEXT): Move INTLOBJS to backward compatibility
1285         section.
1286
1287 2003-02-12  Bruno Haible  <bruno@clisp.org>
1288
1289         Restructure gettext package.
1290         * ansi-c++.m4: New file.
1291         * gettext.m4 (AM_GNU_GETTEXT): Special case the packages
1292         'gettext-runtime' and 'gettext-tools'.
1293         * Makefile.am: New file.
1294