* stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
[pspp] / m4 / ChangeLog
1 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
2
3         * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
4         test cases, so that config.log is a bit easier to follow.
5
6 2006-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7
8         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
9         but fix a bug, by requiring at least 64 bits.
10         * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
11         * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
12         AC_TYPE_LONG_LONG_INT.  This macro is obsolete and will go soon.
13         * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
14
15         * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
16         changes.  Make 2.59 a prerequisite.  Check and substitute for
17         HAVE_LONG_LONG_INT.  Rely on Autoconf to check for stdint.h and
18         inttypes.h.  Do not use special include files; just use the
19         defaults.  Check for sys/inttypes.h and sys/bitypes.h in the usual
20         way now.  Remove no-longer-needed tests for HAVE_LONG_64BIT,
21         HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
22         uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
23         int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
24         uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
25         int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
26         uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
27         uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
28         UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
29         INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
30         UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
31         UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
32         UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
33         UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
34         INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
35         INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
36         UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
37         INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
38         SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
39         WINT_MAX.  Check for C99 conformance more strictly, by detecting
40         bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9.  On the other hand do
41         not check for things that C99 does not require, e.g., int8_t.  If
42         a test isn't needed unless <stdint.h> isn't working, and is
43         unlikely to be needed for any other reason, then don't do it
44         unless <stdint.h> isn't working.  Do not check for ptrdiff_t or
45         size_t, since we assume C89 freestanding at least.  Do not check
46         for sig_atomic_t, wchar_t, or wint_t, since the code now does
47         the right thing even if the types are not defined.  Instead use:
48         (gl_STDINT_TYPE_PROPERTIES): New macro.
49         (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove.  Don't bother
50         testing whether <sys/types.h> clashes, as Autoconf does this for
51         us now.  All uses removed.
52         (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
53         (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
54         (gl_CHECK_TYPE_SAME):
55         Remove; no longer needed.
56         (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
57         exists, since we'll return 0 anyway in that case.
58         (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
59
60 2006-07-01  Eric Blake  <ebb9@byu.net>
61
62         * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
63
64 2006-07-01  Eric Blake  <ebb9@byu.net>
65
66         * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
67         Reported by Andreas Buening.
68
69 2006-06-29  Eric Blake  <ebb9@byu.net>
70
71         * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
72
73 2006-06-29  Eric Blake  <ebb9@byu.net>
74
75         * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
76
77 2006-06-29  Derek R. Price  <derek@ximbiot.com>
78
79         * strftime.m4: Don't call AC_FUNC_STRFTIME.
80
81 2006-06-29  Derek R. Price  <derek@ximbiot.com>
82
83         * c-bs-a.m4: Removed.
84
85 2006-06-28  Derek R. Price  <derek@ximbiot.com>
86
87         * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
88
89         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
90         it's obsolete.
91         * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
92
93 2006-06-28  Bruno Haible  <bruno@clisp.org>
94
95         * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
96         gt_TYPE_WCHAR_T.
97
98 2006-06-28  Eric Blake  <ebb9@byu.net>
99
100         * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
101         * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
102
103 2006-06-28  Simon Josefsson  <jas@extundo.com>
104
105         * getaddrinfo.m4: Look for getnameinfo prototypes too.
106
107 2006-06-27  Simon Josefsson  <jas@extundo.com>
108
109         * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
110         Eggert and Martin Lambers.
111
112 2006-06-27  Bruno Haible  <bruno@clisp.org>
113
114         * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
115         result to 0, not to empty.
116         Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
117
118 2006-06-26  Bruno Haible  <bruno@clisp.org>
119
120         * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
121
122 2006-06-26  Bruno Haible  <bruno@clisp.org>
123
124         * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
125         SGI C compiler in pre-C99 mode.
126         Suggested by Mark D. Baushke and Larry Jones.
127
128 2006-06-23  Mark D. Baushke  <mdb@gnu.org>
129
130         * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
131
132 2006-06-26  Simon Josefsson  <jas@extundo.com>
133
134         * inet_ntop.m4: Don't check for sys/types.h, we assume it is
135         present.
136
137 2006-06-23  Bruno Haible  <bruno@clisp.org>
138
139         * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
140
141 2006-06-22  Simon Josefsson  <jas@extundo.com>
142
143         * sockpfaf.m4: Include winsock2.h too, to make it work under
144         MinGW.
145
146 2006-06-21  Simon Josefsson  <jas@extundo.com>
147
148         * getaddrinfo.m4: Don't define WINVER.  Look for gethostbyname in
149         -lws2_32 too.  Fixes getaddrinfo on Windows 2000, with the price
150         of using the (limited) gnulib implementation on Windows XP.
151
152         * inet_pton.m4: New file.
153
154 2006-06-19  Bruno Haible  <bruno@clisp.org>
155
156         * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
157         and FULL_PATH_INTTYPES_H in angle brackets.
158         Reported by Mark D. Baushke <mdb@gnu.org>.
159
160 2006-06-17  Bruno Haible  <bruno@clisp.org>
161
162         * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
163         <sys/inttypes.h>.
164
165 2006-06-16  Eric Blake  <ebb9@byu.net>
166
167         * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
168         errno.
169
170 2006-06-17  Bruno Haible  <bruno@clisp.org>
171
172         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
173         whether errno is declared. Assume <errno.h> declares errno.
174
175 2006-06-15  Bruno Haible  <bruno@clisp.org>
176
177         * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
178         (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
179         gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
180         gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
181         gl_CHECK_TYPE_SAME): New macros.
182
183 2006-06-15  Bruno Haible  <bruno@clisp.org>
184
185         * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
186
187 2006-06-15  Eric Blake  <ebb9@byu.net>
188
189         * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
190
191 2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
192             Bruno Haible  <bruno@clisp.org>
193
194         * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
195         check for the declaration of strnlen and a run test that exposes the
196         AIX 5.1 strnlen bug.  In the failure case, #define strndup to
197         rpl_strndup.
198
199 2006-05-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
200
201         * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
202         compile test, for Tru64 4.0D.
203
204 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
205
206         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
207         gl_ rather than jm_.  Link, don't run, so that cross-compiles are
208         allowed.  Check that resulting type is arithmetic.  Move AC_REQUIRE
209         and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
210         not really conditional on the cache.
211         (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
212
213 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
214
215         * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
216         test for C99 conformance; (bool) 0.5 is an integer constant
217         expression, but (bool) -0.5 is not.  Problem reported by Fedor
218         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
219
220 2006-05-11  Simon Josefsson  <jas@extundo.com>
221
222         * xvasprintf.m4: Fix obvious typo.
223
224 2006-05-09  Bruno Haible  <bruno@clisp.org>
225
226         * xvasprintf.m4: New file.
227
228 2006-05-08  Bruno Haible  <bruno@clisp.org>
229
230         * stdarg.m4: New file, from GNU gettext.
231
232 2006-05-05  Jim Meyering  <jim@meyering.net>
233
234         * warning.m4: New file, derived from bison's file by the same name.
235
236 2006-05-02  Bruno Haible  <bruno@clisp.org>
237
238         * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
239         test from here...
240         * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
241
242 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
243
244         * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
245         to define main with arguments, for C++.  Reported by Eric Blake.
246         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
247         Prefer 'int main ()' to 'int main (void)', for C++.
248         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
249         * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
250         for 'main', for C99 and C++.
251
252 2006-04-23  Bruno Haible  <bruno@clisp.org>
253
254         * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
255         assigned exactly once.
256
257 2006-04-23  Bruno Haible  <bruno@clisp.org>
258
259         * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
260         implementation in AIX.
261         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
262
263 2006-03-04  Eric Blake  <ebb9@byu.net>
264
265         * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
266
267 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
268
269         * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
270         Don't assume that exit status -1 is valid.
271         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
272         * putenv.m4 (gl_FUNC_PUTENV): Likewise.
273         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
274         * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
275         * rename.m4 (vb_FUNC_RENAME): Likewise.
276         * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
277         not AC_TRY_RUN.  Use return, not exit.  Don't assume that
278         functions can be used without declaring them, or that you can
279         exit with status -1.
280         * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
281
282 2006-04-20  Bruno Haible  <bruno@clisp.org>
283
284         * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
285         one argument, so that the code will be portable to Autoconf 2.60.
286         * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
287         * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
288         * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
289
290 2006-04-19  Derek Price  <derek@ximbiot.com>
291             Eric Blake  <ebb9@byu.net>
292
293         * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
294         than "/full/path.h".  Update comment to match.  Shorten & generalize
295         m4_translit call via AS_TR_CPP.
296
297 2006-04-18  Derek Price  <derek@ximbiot.com>
298             Paul Eggert  <eggert@cs.ucla.edu>
299
300         * _inttypes_h.m4, full-header-path.m4, include_next: New files.
301
302 2006-04-11  Paul Eggert  <eggert@cs.ucla.edu>
303
304         * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
305
306 2006-04-09  Paul Eggert  <eggert@cs.ucla.edu>
307
308         * regex.m4 (gl_REGEX): Check for new glibc interface to
309         translation table.
310
311 2006-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
312
313         * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
314         `__error_t_defined', so argp.h will not typedef the former.
315
316 2006-03-25  Paul Eggert  <eggert@cs.ucla.edu>
317
318         * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
319         REG_SYNTAX_EMACS, and REG_IGNORE_CASE.  Settle for the traditional
320         glibc names.  Even if glibc is changed to conform to POSIX, the
321         traditional names will be available anyway, since regex depends on
322         the extensions module.  Also, fix a longstanding typo in the
323         implementation of Spencer ERE test #75 from grep 2.3.  Problems
324         reported by Emanuele Giaquinta.  Also, change sense of cached
325         variable, so that the message makes sense.
326
327 2006-03-17  Jim Meyering  <jim@meyering.net>
328
329         * regex.m4 (gl_REGEX): Fix typo in last change:
330         s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
331
332 2006-03-16  Paul Eggert  <eggert@cs.ucla.edu>
333
334         * regex.m4 (gl_REGEX): Don't check for off_t, since the code
335         no longer needs it.  Instead, check that regoff_t is as least
336         as wide as ptrdiff_t.
337
338         Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
339         so that our regex.h stays compatible with the installed regex.
340         This is helpful for installers who configure --without-included-regex.
341         Problem reported by Emanuele Giaquinta.
342
343 2006-03-15  Eric Blake  <ebb9@byu.net>
344
345         * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
346
347 2006-03-08  Simon Josefsson  <jas@extundo.com>
348
349         * gc-random.m4: Permit 'no' as variable values and fix warnings,
350         suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
351
352 2006-03-08  Simon Josefsson  <jas@extundo.com>
353
354         * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
355         $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
356
357 2006-03-07  Paul Eggert  <eggert@cs.ucla.edu>
358
359         * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
360         Problem reported by Juan Manuel Guerrero.
361
362 2006-03-07  Simon Josefsson  <jas@extundo.com>
363
364         * unistd_h.m4: New file.
365
366 2006-03-07  Simon Josefsson  <jas@extundo.com>
367
368         * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
369         test to be side-effect free by storing the result in the cache
370         variable gl_cv_lib_readline, and moving the assignment of
371         LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
372         From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
373
374 2006-03-07  Simon Josefsson  <jas@extundo.com>
375
376         * gc-random.m4: New file, mostly from gc.m4.  Warn instead of
377         error on missing devices (the functions will return an error).
378
379         * gc.m4: Move random stuff to gc-random.m4
380
381 2006-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de> (tiny change)
382
383         * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
384         our replacement poll.h in any case, to avoid a differing
385         declaration from a system header.  Seen on AIX.
386
387 2006-03-01  Paul Eggert  <eggert@cs.ucla.edu>
388
389         * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
390         not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
391         pedantically.
392         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
393         * timespec.m4 (gl_TIMESPEC): Likewise.
394
395         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
396         not "==".  Reported by Ralf Wildenhues.
397
398 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
399
400         Sync from coreutils.
401         * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
402         gl_CHDIR_SAFER.
403
404 2006-02-22  Jim Meyering  <jim@meyering.net>
405
406         Sync from coreutils.
407         * chdir-safer.m4: New file.
408
409 2006-02-17  Eric Blake  <address@hidden>
410
411         * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
412
413 2006-02-15  Eric Blake  <ebb9@byu.net>
414
415         * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
416         winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
417         'present but cannot compile' warnings on cygwin.
418         * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.  Don't
419         use ws2tcpip.h if sys/socket.h works.
420         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
421         (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
422
423 2006-02-14  Jim Meyering  <jim@meyering.net>
424
425         Sync from coreutils.
426         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
427         unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
428         gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
429         variable, to accommodate the rare case in which getmntent is
430         available in none of the libraries checked.  This happens at
431         least on FreeBSD 5.0.
432
433 2006-02-05  Paul Eggert  <eggert@cs.ucla.edu>
434
435         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
436         __EXTENSIONS__ if this causes compilation to fail.  Problem
437         reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
438         c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
439
440 2006-01-25  Simon Josefsson  <jas@extundo.com>
441
442         * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
443         -lws2_32.  Protect sys/socket.h and netdb.h #include's.  Include
444         ws2tcpip.h with WINVER=0x0501.  All for mingw32.
445
446 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
447
448         * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
449         so that we test the test.
450         Check for yet another HP-UX cc bug involving *bool |= bool.
451
452 2006-01-24  Bruno Haible  <bruno@clisp.org>
453
454         * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
455         Patch by Paul Eggert.
456
457 2006-01-24  Jim Meyering  <jim@meyering.net>
458
459         * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
460         Reported by Mark D. Baushke.
461
462 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
463
464         * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
465
466 2006-01-20  Paul Eggert  <eggert@cs.ucla.edu>
467
468         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
469         rather than -Xlinker -z -Xlinker ignore, as it's more portable.
470         Suggested by Bruno Haible.
471
472 2006-01-19  Simon Josefsson  <jas@extundo.com>
473
474         * socklen.m4: Look in ws2tcpip.h too, for mingw32.
475
476 2006-01-16  Paul Eggert  <eggert@cs.ucla.edu>
477
478         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
479         it's not portable and it doesn't work with cross-compiles.
480         Problem reported by Bruno Haible.  Fix missing-$ typo in
481         'test "gl_cv_ignore_unused_libraries" ...' that prevented
482         -zignore from being used with Sun's C compiler.
483
484 2006-01-12  Bruno Haible  <bruno@clisp.org>
485
486         * ldd.m4: New file.
487
488 2006-01-08  Bruno Haible  <bruno@clisp.org>
489
490         Ensure automatic ordering between gl_LOCK and gl_ARGP.
491         * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
492         (gl_LOCK): New macro, requiring gl_LOCK_BODY.
493
494 2006-01-10  Jim Meyering  <jim@meyering.net>
495
496         * fpending.m4: Also include <stdio.h>, for Dragonfly.
497         Patch by Joerg Sonnenberger.
498
499 2006-01-10  Paul Eggert  <eggert@cs.ucla.edu>
500
501         * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
502         the 2002-12-31 change.  Problem and fix reported by Bruno Haible.
503         People who are still concerned with buggy memcmp implementations
504         can invoke gl_FUNC_MEMCMP themselves.
505
506 2006-01-10  Simon Josefsson  <jas@extundo.com>
507
508         * sys_socket_h.m4: New file.
509
510 2006-01-10  Bruno Haible  <bruno@clisp.org>
511
512         * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
513         Reported by Werner Lemberg <wl@gnu.org>.
514
515 2006-01-09  Paul Eggert  <eggert@cs.ucla.edu>
516
517         Sync from coreutils.
518         * lib-ignore.m4: New file.
519         * lchmod.m4: New file.
520
521 2006-01-09  Jim Meyering  <jim@meyering.net>
522
523         Sync from coreutils.
524         * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
525         Require openat-priv.h.
526
527 2006-01-09  Andreas Gruenbacher  <agruen@suse.de>
528
529         Sync from coreutils.
530         * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
531
532 2005-10-16  Bruno Haible  <bruno@clisp.org>
533
534         * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
535
536 2005-12-16  Jim Meyering  <jim@meyering.net>
537
538         * fprintftime.m4: New file.
539
540 2005-12-10  Sergey Poznyakoff  <gray@gnu.org.ua>
541
542         * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
543         HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
544
545 2005-12-09  Sergey Poznyakoff  <gray@gnu.org.ua>
546
547         * argp.m4:  Check if program_invocation_name and
548         program_invocation_short_name are declared and define appropriate
549         macros if they are not.
550
551 2005-12-07  Paul Eggert  <eggert@cs.ucla.edu>
552
553         * stat-time.m4 (gl_STAT_TIME): Add check for
554         TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
555         porting problem reported by Georg Schwarz in
556         <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
557
558 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
559
560         * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
561         Use implementation from Albert Chin, with some
562         comments/corrections by Stepan Kasal and myself.
563
564 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
565
566         * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
567         statement, to work around an HP-UX 10.20 compiler bug reported by
568         Peter O'Gorman.
569
570 2005-11-10  Paul Eggert  <eggert@cs.ucla.edu>
571
572         * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
573         or gettimeofday; no longer needed.
574
575 2005-10-30  Paul Eggert  <eggert@cs.ucla.edu>
576
577         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
578         variables to suggest the intended function of the PATH_MAX check.
579
580 2005-10-30  Kean Johnston  <jkj@sco.com>
581
582         Trivial changes to support SCO systems.
583         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
584         as PATH_MAX.
585         * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
586         where __ptr is null when no I/O is pending.
587
588 2005-10-28  Simon Josefsson  <jas@extundo.com>
589
590         * inet_ntop.m4: More tests.
591
592         * gc-md2.m4, md2.m4: New file.
593
594 2005-10-22  Simon Josefsson  <jas@extundo.com>
595
596         * gc.m4: Don't be fooled by --disable-*random-device parameters,
597         suggested by Bruno Haible <bruno@clisp.org>.  Fix error messages.
598
599 2005-10-21  Simon Josefsson  <jas@extundo.com>
600
601         * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
602         Bruno Haible <bruno@clisp.org>.
603
604         * gc-des.m4: New file.
605
606 2005-10-21  Simon Josefsson  <jas@extundo.com>
607
608         * arctwo.m4: New file.
609
610         * gc-arctwo.m4: New file.
611
612 2005-10-19  Simon Josefsson  <jas@extundo.com>
613
614         * gc-arcfour.m4: New file.
615
616         * gc-rijndael.m4: New file.
617
618 2005-10-19  Simon Josefsson  <jas@extundo.com>
619
620         * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
621         m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
622         <kasal@ucw.cz>.
623
624 2005-10-19  Simon Josefsson  <jas@extundo.com>
625
626         * gc-md4.m4: New file.
627
628 2005-10-18  Simon Josefsson  <jas@extundo.com>
629
630         * md4.m4: New file.
631
632 2005-10-17  Bruno Haible  <bruno@clisp.org>
633
634         * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
635         it can also be used in a test.
636
637 2005-10-11  Simon Josefsson  <jas@extundo.com>
638
639         * md5.m4: Remove call to uint32_t.m4.
640
641 2005-10-15  Simon Josefsson  <jas@extundo.com>
642
643         * rijndael.m4: New file.
644
645 2005-10-14  Simon Josefsson  <jas@extundo.com>
646
647         * arcfour.m4: New file.
648
649 2005-10-12  Bruno Haible  <bruno@clisp.org>
650
651         * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
652         Reported by Stepan Kasal <kasal@ucw.cz>.
653
654 2005-10-12  Simon Josefsson  <jas@extundo.com>
655
656         * gc-pbkdf2-sha1.m4: New file.
657
658         * gc-hmac-sha1.m4: New file.
659
660         * gc-sha1: New file.
661
662         * hmac-sha1.m4: New file.
663
664 2005-10-12  Simon Josefsson  <jas@extundo.com>
665
666         * gc-md5.m4, gc-hmac-md5: New files.
667
668         * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
669
670 2005-10-11  Simon Josefsson  <jas@extundo.com>
671
672         * crc.m4: New file.
673
674 2005-10-07  Simon Josefsson  <jas@extundo.com>
675
676         * memxor.m4: Remove gl_C_RESTRICT call.
677
678 2005-10-06  Paul Eggert  <eggert@cs.ucla.edu>
679
680         * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
681         promotes to int, not unsigned int, to catch the AIX 5.3
682         compiler bug.
683
684 2005-10-06  Simon Josefsson  <jas@extundo.com>
685
686         * hmac-md5.m4: New file.
687
688         * memxor.m4: Require gl_C_RESTRICT.
689
690 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
691
692         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
693         sys/socket.h, netdb.h, sys/types.h; the checks areno longer
694         needed, since the source code now assumes these .h files.
695
696 2005-10-05  Simon Josefsson  <jas@extundo.com>
697
698         * memxor.m4: New file.
699
700 2005-10-02  Paul Eggert  <eggert@cs.ucla.edu>
701
702         Sync from coreutils.
703         * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
704         * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
705         defines ULONG_MAX_LT_ULLONG_MAX.  Thomas M.Ott reports that
706         ULLONG_MAX doesn't work with 2.7.2.1.
707
708 2005-10-02  Jim Meyering  <jim@meyering.net>
709
710         Sync from coreutils.
711         * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
712         from glibc-2.2.5 that fails for read-only files.
713
714 2005-10-02  Alfred M. Szmidt  <ams@gnu.org>
715
716         Sync from coreutils.
717         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
718         against `yes', rather than just testing for nonempty.
719
720 2005-10-01  Simon Josefsson  <jas@extundo.com>
721
722         * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
723         and Darwin.
724
725         * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
726         as an (POSIX) extension.  Check for sys/types.h, sys/socket.h, and
727         netdb.h too, needed by getaddrinfo.h.  Check if getaddrinfo,
728         freeaddrinfo and gai_strerror are declared by the POSIX headers.
729         Check if struct addrinfo is declared.
730
731 2005-10-01  Jim Meyering  <jim@meyering.net>
732
733         Sync from coreutils.
734
735         * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
736         libraries [inet nsl socket xnet].  Nelson Beebe reported that with
737         native cc on Solaris 7, getaddrinfo.c requires -lsocket.
738         * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
739         in the inet and nsl libraries.  Required on Solaris 5.7.
740
741 2005-09-24  Jim Meyering  <jim@meyering.net>
742
743         Sync from coreutils.
744         * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
745         in the inet and nsl libraries.  Required on Solaris 5.7.
746
747 2005-09-26  Bruno Haible  <bruno@clisp.org>
748
749         * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
750         mbchar.c if they are not both present.
751         * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
752         * mbiter.m4 (gl_MBITER): Likewise.
753         * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
754         * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
755         * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
756
757 2005-09-23  Paul Eggert  <eggert@cs.ucla.edu>
758
759         * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
760         and similarly for the other external symbols.  Problem reported
761         by James Gallager.
762
763         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
764         bug reported by Jim Meyering.
765
766         * utimens.m4 (gl_UTIMENS): Check for futimesat.
767         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
768         not needed, since socklen is a prerequisite module.
769
770 2005-09-23  Jim Meyering  <jim@meyering.net>
771
772         Sync from coreutils.
773         Correct build failure (socklen_t not defined) on at least
774         mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
775         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
776
777 2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
778
779         Sync from coreutils.
780         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
781
782 2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
783
784         Sync from coreutils.
785
786         * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
787         * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
788         * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
789         * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
790         * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
791         * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
792         * userspec.m4, xgetcwd.m4, xreadlink.m4:
793         Don't bother checking for string.h, stdlib.h, unistd.h.
794         * fts.m4 (gl_FUNC_FTS_CORE): Don't require
795         AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
796         module's job.
797         * jm-macros.m4 (gl_MACROS): Likewise.
798         * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
799
800         * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
801         (gl_GETDATE): Use it.
802
803         * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
804
805 2005-09-22  Jim Meyering  <jim@meyering.net>
806
807         Sync from coreutils.
808
809         * lstat.m4 (gl_FUNC_LSTAT):
810         Use AC_LIBSOURCES to require lstat.c and lstat.h.
811         Remove obsolete comment.
812         * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
813         * xstrtod.m4: Likewise.
814
815         * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
816
817 2005-09-19  Simon Josefsson  <jas@extundo.com>
818
819         * socklen.m4: Fix typo.
820
821 2005-09-15  Paul Eggert  <eggert@cs.ucla.edu>
822
823         * st_mtim.m4: Remove.  Superseded by...
824         * stat-time.m4: New file.
825         * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
826         Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
827
828 2005-09-15  Derek Price  <derek@ximbiot.com>
829
830         * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
831
832 2005-09-12  Derek Price  <derek@ximbiot.com>
833
834         Make canon-host require getaddrinfo.
835         * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
836         AC_LIBSOURCE canon-host.h.  Call...
837         (gl_PREREQ_CANON_HOST): ...this new function, which requires
838         gl_GETADDRINFO.
839         * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
840
841 2005-09-12  Derek Price  <derek@ximbiot.com>
842             Paul Eggert  <eggert@cs.ucla.edu>
843
844         * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
845         glob_.h, glob-libc.h.
846         (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
847
848 2005-08-31  Simon Josefsson  <jas@extundo.com>
849
850         * socklen.m4: New file.
851
852 2005-09-03  Derek Price  <derek@ximbiot.com>
853
854         * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
855         From Larry Jones <lawrence.jones@ugs.com>.
856
857 2005-08-27  Bruno Haible  <bruno@clisp.org>
858
859         Support for lib vs. lib64 distinction on biarch platforms.
860         * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
861         (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
862         * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
863
864 2005-09-01  Jim Meyering  <jim@meyering.net>
865
866         * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
867         CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
868         Require gl_STAT_MACROS, too.
869
870 2005-08-31  Paul Eggert  <eggert@cs.ucla.edu>
871
872         * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
873         _REGEX_LARGE_OFFSETS).  Test for regoff_t/off_t bug in 64-bit
874         and large-file glibc and in 32-bit large-file Solaris.
875
876 2005-08-28  Bruno Haible  <bruno@clisp.org>
877
878         * gnulib-tool.m4: New file.
879
880 2005-08-27  Jim Meyering  <jim@meyering.net>
881
882         * stdlib-safer.m4: New file.  From coreutils.
883         * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
884         * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
885         AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
886         * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
887         Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
888
889 2005-08-24  Simon Josefsson  <jas@extundo.com>
890
891         * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
892         __fsetlocking.
893
894 2005-08-25  Stepan Kasal  <kasal@ucw.cz>
895
896         * regex.m4: Add AC_PREREQ(2.50).
897         (gl_REGEX): If --with-included-regex was given, skip the autodetection.
898
899 2005-08-25  Bruno Haible  <bruno@clisp.org>
900
901         * minmax.m4: Require autoconf 2.52.
902         (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
903         of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
904         alternatives of translit over the alphabet.
905         Based on a patch from Stepan Kasal <kasal@ucw.cz>.
906
907 2005-08-24  Paul Eggert  <eggert@cs.ucla.edu>
908
909         * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
910         for GNU regex features.
911
912 2005-08-24  Jim Meyering  <jim@meyering.net>
913
914         Sync from coreutils.
915         * fcntl-safer.m4: New file.
916
917         * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
918         and object files for this module.
919
920 2005-08-23  Paul Eggert  <eggert@cs.ucla.edu>
921
922         * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
923         All contents moved to gl_REGEX.
924         (gl_REGEX): Don't bother checking whether lib/regex.c exists;
925         assume that it does.
926
927 2005-08-20  Bruno Haible  <bruno@clisp.org>
928
929         * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
930
931 2005-08-17  Bruno Haible  <bruno@clisp.org>
932
933         * strcasestr.m4: New file.
934
935 2005-08-17  Bruno Haible  <bruno@clisp.org>
936
937         * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
938         (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
939
940 2005-08-16  Paul Eggert  <eggert@cs.ucla.edu>
941
942         * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
943         of gl_GETOPT_SUBSTITUTE.  That way, if both gl_GETOPT_SUBSTITUTE
944         and gl_GETOPT are both invoked via different paths (as happens
945         with GNU tar CVS because it uses both argp and getopt), the former
946         wins.
947
948 2005-08-16  Bruno Haible  <bruno@clisp.org>
949
950         * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
951         (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
952
953 2005-08-16  Bruno Haible  <bruno@clisp.org>
954
955         * mbfile.m4: New file.
956
957 2005-08-16  Bruno Haible  <bruno@clisp.org>
958
959         * mbiter.m4: New file.
960
961 2005-08-16  Bruno Haible  <bruno@clisp.org>
962
963         * mbchar.m4: New file.
964
965 2005-08-16  Bruno Haible  <bruno@clisp.org>
966
967         * tls.m4: New file, from GNU gettext.
968
969 2005-08-12  Bruno Haible  <bruno@clisp.org>
970
971         * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
972
973 2005-08-12  Simon Josefsson  <jas@extundo.com>
974
975         * readline.m4: Look for termcap, curses or ncurses if required.
976
977 2005-08-11  Simon Josefsson  <jas@extundo.com>
978
979         * readline.m4: New file.
980
981 2005-08-10  Simon Josefsson  <jas@extundo.com>
982
983         * strnlen.m4: New file.
984
985         * strndup.m4: Don't check for strnlen declaration, done in
986         strnlen.m4.
987
988 2005-08-10  Stepan Kasal  <kasal@ucw.cz>
989
990         * onceonly_2_57.m4: Really require Autoconf 2.57.
991
992 2005-08-02  Simon Josefsson  <jas@extundo.com>
993
994         * getline.m4: Separate out getdelim stuff into separate module.
995
996         * getdelim.m4: New file.
997
998 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
999
1000         Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1001         normal way.
1002         * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1003         (gl_GETOPT_SUBSTITUTE): Use it.  Invoke gl_PREREQ_GETOPT.
1004         (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1005         (gl_GETOPT): Use the new macros.  Most of the implementation
1006         is moved to the new macros.  This is for programs like Emacs
1007         that don't want all the functionality of gl_GETOPT.
1008
1009 2005-07-26  Bruno Haible  <bruno@clisp.org>
1010
1011         * lock.m4: Update from GNU gettext.
1012
1013 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
1014
1015         * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1016         obsolescent AC_TRY_RUN.  Include the default includes files, for 'exit'.
1017
1018 2005-07-24  Bruno Haible  <bruno@clisp.org>
1019
1020         * visibility.m4: New file.
1021
1022 2005-07-18  Bruno Haible  <bruno@clisp.org>
1023
1024         * lock.m4: New file, from GNU gettext.
1025
1026 2005-06-01  Bruno Haible  <bruno@clisp.org>
1027
1028         * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1029         When using lib/poll.c, define poll as rpl_poll.
1030
1031 2005-07-14  Bruno Haible  <bruno@clisp.org>
1032
1033         * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1034         Instead, test for *_unlocked function declarations directly.
1035
1036 2005-07-14  Derek Price  <derek@ximbiot.com>
1037
1038         * glob.m4 (gl_GLOB): Cache glob interface check result.  Add check for
1039         glob symlink bug.
1040
1041 2005-07-10  Bruno Haible  <bruno@clisp.org>
1042
1043         * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1044         Needed when size_t is smaller than 'unsigned int'.
1045         Reported by Paul Eggert.
1046
1047 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1048
1049         * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1050         * same.m4 (gl_SAME): Likewise.
1051         Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1052
1053         * regex.m4: Adjust to new libc regex implementation.
1054         (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1055         all the .c and .h parts of (the new) regex.
1056         Quote the m4 stuff better.
1057         Check for RE_ICASE bug of old gnulib.
1058         Check for REG_STARTEND of recent libc.
1059         Rename local variables from jm_* to gl_*.
1060         Quote operand of "test -f".
1061         Say "recent enough" version of libc, not "version 2".
1062         (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1063         prerequisite module.  Remove AC_HEADER_STDC; no longer needed.
1064         Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1065         Remove check for btowc, isascii.
1066         Require AM_LANGINFO_CODESET.
1067
1068 2005-07-05  Bruno Haible  <bruno@clisp.org>
1069
1070         * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1071         autoconf CVS. Needed for mingw.
1072
1073 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1074
1075         Remove the dependency of the strftime module on the tzset module.
1076         * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1077
1078 2005-07-02  Jim Meyering  <jim@meyering.net>
1079
1080         * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1081         * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1082         * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1083         Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1084
1085 2005-06-28  Simon Josefsson  <jas@extundo.com>
1086
1087         * check-version.m4: New file, suggested by Jim Meyering
1088         <jim@meyering.net>.
1089
1090 2005-06-24  Derek Price  <derek@ximbiot.com>
1091         and Bruno Haible  <bruno@clisp.org>
1092
1093         Remove stat module & update lstat.
1094         * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1095         AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1096         * stat.m4: Remove this file.
1097
1098 2005-06-20  Derek Price  <derek@ximbiot.com>
1099
1100         * bison.m4: Note that precious decls of YACC & YFLAGS will be
1101         unnecessary for Autoconfs > 2.59c.
1102
1103 2005-06-16  Derek Price  <derek@ximbiot.com>
1104
1105         * bison.m4: Declare YACC & YFLAGS precious.
1106
1107 2005-06-08  Bruno Haible  <bruno@clisp.org>
1108
1109         * csharpcomp.m4: New file, from GNU gettext.
1110
1111 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1112
1113         Sync from coreutils.
1114         * mkdir-p.m4: Renamed from makepath.m4.
1115         (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH.  All uses changed.
1116         Rename files from makepath.c to mkdir-p.c, and from
1117         makepath.h to mkdir-p.h.
1118         * filenamecat.m4: Renamed from path-concat.m4.
1119         (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT.  All uses changed.
1120         Rename files from path-concat.c to filenamecat.c,
1121         and from path-concat.h to filenamecat.h.
1122         * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1123         "file name" in local variables or comments.
1124         * rename.m4: Likewise.
1125
1126 2005-06-01  Bruno Haible  <bruno@clisp.org>
1127
1128         * csharp.m4: New file, from GNU gettext.
1129         * csharpexec.m4: New file, from GNU gettext.
1130
1131 2005-05-31  Derek Price  <derek@ximbiot.com>
1132             Paul Eggert  <eggert@cs.ucla.edu>
1133
1134         Sync from cvs.
1135         * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1136
1137 2005-05-29  Derek Price  <derek@ximbiot.com>
1138             Paul Eggert  <eggert@cs.ucla.edu>
1139
1140         * glob.m4: New file.
1141
1142 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1143
1144         * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1145         and don't require gt_INTTYPES_PRI.
1146
1147 2005-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1148
1149         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1150         _POSIX_PTHREAD_SEMANTICS for Solaris.
1151
1152 2005-05-25  Derek Price  <derek@ximbiot.com>
1153             Paul Eggert  <eggert@cs.ucla.edu>
1154
1155         * getlogin_r.m4: New files.
1156
1157 2005-05-22  Bruno Haible  <bruno@clisp.org>
1158
1159         * minmax.m4: New file.
1160         Based on a patch by Derek Price <derek@ximbiot.com>.
1161
1162 2005-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1163
1164         * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1165         (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1166
1167 2005-05-20  Eric Blake  <ebb9@byu.net>  (tiny change)
1168
1169         * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1170         of -1.
1171
1172 2005-05-18  Paul Eggert  <eggert@cs.ucla.edu>
1173
1174         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1175         Don't check for stddef.h.
1176         * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1177         don't use its results.
1178         Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1179         since we include them unconditionally.  Don't require
1180         AM_STDBOOL_H, since stdbool is a prerequisite.
1181         Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1182         since we assume C89 or better.
1183         Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1184         as we don't use their results.
1185         Don't check for fchdir, memmove, memset, strrchr, as we use
1186         them unconditionally.
1187         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1188         GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1189
1190 2005-05-18  Jim Meyering  <jim@meyering.net>
1191
1192         * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1193         Reported by Yoann Vandoorselaere.
1194
1195 2005-05-17  Jim Meyering  <jim@meyering.net>
1196
1197         * fts.m4: New file, from coreutils.
1198
1199 2005-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1200
1201         Sync from coreutils.
1202         * unlinkdir.m4: New file.
1203
1204 2005-05-10  Derek Price  <derek@ximbiot.com>
1205
1206         * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1207         possible.
1208
1209 2005-05-10  Simon Josefsson  <jas@extundo.com>
1210
1211         * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1212         Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1213
1214 2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1215             Bruno Haible  <bruno@clisp.org>
1216
1217         * inet_ntop.m4: New file.
1218
1219 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
1220
1221         * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1222         needless checks.
1223
1224 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
1225
1226         * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1227         * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1228         (gl_PREREQ_CHOWN): Remove.
1229         * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1230         it.  Don't require AC_HEADER_STAT.
1231         (gl_PREREQ_LSTAT): Remove.
1232         * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1233         Don't require AC_HEADER_STAT.
1234         * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1235         (gl_PREREQ_RMDIR): Remove.
1236         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1237         mention stat-macros.h or AC_HEADER_STAT, since we'll make
1238         the stat-macros module a prerequisite.
1239         * file-type.m4 (gl_FILE_TYPE): Likewise.
1240         * filemode.m4 (gl_FILEMODE): Likewise.
1241         * makepath.m4 (gl_MAKEPATH): Likewise.
1242         * modechange.m4 (gl_MODECHANGE): Likewise.
1243         * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1244         variable names.
1245         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1246         fetish_FUNC_RMDIR_NOTEMPTY.  All uses changed.  Use gl_ for
1247         variable prefixes.
1248         * fcntl-safer.m4: Remove.
1249         * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1250         * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1251         Invoke gl_PREREQ_FD_SAFER.
1252         (gl_PREREQ_FD_SAFER): New macro.
1253         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1254         * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1255         Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1256         Remove duplicate call to AC_LIBOBJ(readutmp).
1257         (gl_PREREQ_READUTMP): Remove.  All uses inlined.
1258
1259         * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1260         MAP_ANON.  Problem reported by Moriyoshi Koizumi to bug-cvs.
1261
1262 2005-05-01  Oskar Liljeblad  <oskar@osk.mine.nu>
1263
1264         * byteswap.m4: New file.
1265
1266 2005-04-25  karl
1267
1268         * gettext.m4: Update from GNU gettext 0.14.4.
1269
1270 2005-04-15  Simon Josefsson  <jas@extundo.com>
1271
1272         * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1273
1274 2005-03-28  Eric Blake  <ebb9@byu.net>  (tiny change)
1275
1276         * getcwd-path-max.m4: Return success on systems such as Cygwin
1277         where no absolute path name can be longer than PATH_MAX.
1278
1279 2005-03-22  Jim Meyering  <jim@meyering.net>
1280
1281         * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1282
1283 2005-03-21  Jim Meyering  <jim@meyering.net>
1284         and  Paul Eggert  <eggert@cs.ucla.edu>
1285
1286         * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1287         cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1288         exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1289         getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1290         getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1291         idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1292         memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1293         path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1294         quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1295         safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1296         strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1297         unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1298         xnanosleep.m4, xstrtol.m4, yesno.m4:
1299         Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1300         for these modules.
1301
1302 2005-03-21  Jim Meyering  <jim@meyering.net>
1303
1304         * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1305         * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1306
1307 2005-03-16  Bruno Haible  <bruno@clisp.org>
1308
1309         * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1310         HAVE_LONGLONG_64BIT.
1311
1312 2005-03-14  Bruno Haible  <bruno@clisp.org>
1313
1314         * lib-link.m4, gettext.m4, nls.m4, po.m4:
1315         Update from GNU gettext 0.14.3.
1316
1317 2005-03-10  Jim Meyering  <jim@meyering.net>
1318
1319         * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1320
1321 2005-03-07  Bruno Haible  <bruno@clisp.org>
1322
1323         * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1324
1325 2005-03-03  Bruno Haible  <bruno@clisp.org>
1326
1327         * inttypes.m4, isc-posix.m4, once-only.m4:
1328         Use an all-permissive copyright notice, recommended by RMS.
1329
1330 2005-03-03  Derek R. Price  <derek@ximbiot.com>
1331
1332         * mmap-anon.m4: New file.
1333         * pagealign_alloc.m4: New file.
1334
1335 2005-01-28  Bruno Haible  <bruno@clisp.org>
1336
1337         * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1338         AIX, the replacement has to be done only after <string.h> is included,
1339         therefore not in config.h. stpncpy.h does the replacement, and
1340         stpncpy.c uses it.
1341
1342 2005-03-01  Paul Eggert  <eggert@cs.ucla.edu>
1343
1344         * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1345         to detect nanosleep bug.
1346
1347 2005-02-25  Paul Eggert  <eggert@cs.ucla.edu>
1348
1349         * gethrxtime.m4, xnanosleep.m4: New files.
1350         * gettime.m4 (gl_GETTIME): Check for nanotime.
1351
1352 2005-02-24  Bruno Haible  <bruno@clisp.org>
1353
1354         * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1355         * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1356         * progtest.m4:
1357         Update from GNU gettext 0.14.2.
1358         * glibc2.m4: New file, from GNU gettext 0.14.2.
1359
1360 2005-02-22  Simon Josefsson  <jas@extundo.com>
1361
1362         * iconvme.m4: New file.
1363
1364 2005-02-23  Jim Meyering  <jim@meyering.net>
1365
1366         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1367         Thanks to Bruno Haible for catching it.
1368
1369 2005-02-22  Jim Meyering  <jim@meyering.net>
1370
1371         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1372
1373 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
1374
1375         * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1376
1377 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1378
1379         Sync from coreutils.
1380         * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1381
1382         Remove files that are specific to coreutils.
1383         * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1384
1385 2005-01-28  Bruno Haible  <bruno@clisp.org>
1386
1387         * javacomp.m4: New file, from GNU gettext.
1388
1389 2005-01-26  Bruno Haible  <bruno@clisp.org>
1390
1391         * javaexec.m4: New file, from GNU gettext.
1392
1393 2005-01-24  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
1394
1395         * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1396         must be defined if the header file was not found, in order
1397         to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1398
1399 2005-01-23  Paul Eggert  <eggert@cs.ucla.edu>
1400
1401         * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1402         backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1403         c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1404         clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1405         dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1406         exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1407         file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1408         free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1409         getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1410         getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1411         getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1412         gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1413         group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1414         idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1415         link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1416         makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1417         memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1418         memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1419         modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1420         path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1421         posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1422         readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1423         restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1424         savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1425         sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1426         stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1427         strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1428         strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1429         strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1430         time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1431         uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1432         unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1433         utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1434         xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1435         xstrtol.m4, xstrtoumax.m4, yesno.m4:
1436         Use an all-permissive copyright notice, recommended by RMS.
1437
1438 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
1439
1440         * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1441
1442 2005-01-18  Paul Eggert  <eggert@cs.ucla.edu>
1443
1444         Merge from coreutils.
1445         * ullong_max.m4: New file.
1446         * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1447         (gl_MACROS): Assume localeconv exists.
1448
1449 2005-01-18  Jim Meyering  <jim@meyering.net>
1450
1451         Merge from coreutils.
1452         * chdir-long.m4, openat.m4: New files.
1453         * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1454         save-cwd.h.  Add AC_LIBOBJ for save-cwd.
1455         * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1456         is sane and DOES follow symlinks.  Besides, testing 20 different
1457         systems found no broken chown implementations.
1458         Prompted by a change in rsync's copy of this macro.
1459         * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1460
1461         * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1462
1463         * utimes.m4: Work around tests/touch/empty-file failure on a system
1464         (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1465         NULL-means-set-to-current-time semantics.
1466         Remove temporary file immediately, rather than waiting
1467         for configure's at-exit trap code to do it.
1468
1469 2005-01-18  Bruno Haible  <bruno@clisp.org>
1470
1471         * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1472         * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1473         * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1474         * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1475         * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1476         * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1477         * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1478         * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1479         * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1480         * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1481         * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1482         Use an all-permissive copyright notice, recommended by RMS.
1483
1484 2005-01-06  Bruno Haible  <bruno@clisp.org>
1485
1486         * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1487
1488 2005-01-04  Jim Meyering  <jim@meyering.net>
1489
1490         Changes imported from coreutils.
1491         * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1492         as the mkstemp template, use a temporary directory and an
1493         8.3-friendly template to avoid trouble on systems like DJGPP.
1494         Reported by Juan M. Guerrero via Stepan Kasal.
1495         * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1496         Remove the temporary directory right away, rather than waiting
1497         for configure's at-exit trap code to do it.
1498         Suggestion from Stepan Kasal.
1499
1500 2004-12-24  Paul Eggert  <eggert@cs.ucla.edu>
1501
1502         * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1503         (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1504
1505 2004-12-23  Paul Eggert  <eggert@cs.ucla.edu>
1506
1507         * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1508
1509 2004-12-18  Bruno Haible  <bruno@clisp.org>
1510
1511         * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1512
1513 2004-12-07  Paul Eggert  <eggert@cs.ucla.edu>
1514
1515         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1516         spurious "-l"s.  Problem reported by Stepan Kasal.
1517
1518 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1519
1520         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1521         in Autoconf 2.59.  Problem reported by Mark D. Baushke.
1522
1523 2004-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1524
1525         Changes imported from coreutils.
1526         * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1527         exist.
1528         * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1529
1530 2004-11-30  Paul Eggert  <eggert@cs.ucla.edu>
1531
1532         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1533         Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1534
1535         * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1536
1537 2004-11-30  Simon Josefsson  <jas@extundo.com>
1538
1539         * base64.m4: New file.
1540
1541 2004-11-30  Simon Josefsson  <jas@extundo.com>
1542
1543         * restrict.m4: Add copyright and copying conditions.
1544
1545 2004-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1546
1547         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1548         GL_FUNC_GETCWD_PATH_MAX for consistency.  All uses changed.
1549         Use the _ONCE methods, for efficiency.
1550         Check for fcntl.h.  In test program, include <errno.h>
1551         and <fcntl.h> if available.  Remove old K&R cruft from
1552         test program.  Check for common errors in GNU/Linux,
1553         OpenBSD, and Solaris.  Just set gl_cv_func_getcwd_path_max;
1554         don't do AC_LIBOBJ, as that's getcwd.m4's job.
1555         * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1556         AC_FUNC_GETCWD_NULL.  All used changed.  Change cache variable
1557         name accordingly.
1558         (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros.  Revamp to
1559         accommodate new getcwd.c.
1560         * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1561         * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1562         * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1563         that's all we need now.
1564
1565 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
1566
1567         * utimens.m4 (gl_UTIMENS): Check for futimes function.
1568
1569 2004-11-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
1570
1571         * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1572         argp-parse.c depends on getopt internals, that means we should
1573         always use our getopt, to be on the safe side.
1574         * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1575         order not to spoil the result of an eventual previous invocation
1576         of gl_GETOPT_SUBSTITUTE.
1577
1578 2004-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1579
1580         * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1581         that mishandle size_t overflow.
1582
1583 2004-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1584
1585         * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1586
1587 2004-11-13  Jim Meyering  <jim@meyering.net>
1588
1589         * jm-macros.m4: Do require gl_FUNC_FPENDING.
1590
1591 2004-11-11  Paul Eggert  <eggert@cs.ucla.edu>
1592
1593         * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1594         of replacing opterr, getopt, etc.  This should handle the
1595         powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1596
1597 2004-11-11  Simon Josefsson  <jas@extundo.com>
1598
1599         * strtok_r.m4: New file.
1600
1601         * getopt.m4: Replace opterr.
1602
1603 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
1604
1605         * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1606
1607 2004-11-10  Jim Meyering  <jim@meyering.net>
1608
1609         * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1610
1611 2004-11-08  Simon Josefsson  <jas@extundo.com>
1612
1613         * getaddrinfo.m4: New file.
1614
1615 2004-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1616
1617         * strftime.m4 (_gl_STRFTIME_PREREQS): Remove.  Move its body to
1618         gl_FUNC_STRFTIME.
1619         (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1620         and AC_REQUIRE when possible, to avoid duplicate checks.
1621         Check for <wchar.h>.
1622
1623 2004-11-09  Bruno Haible  <bruno@clisp.org>
1624
1625         * sockpfaf.m4: New file.
1626
1627 2004-11-03  Albert Chin <china@thewrittenword.com>
1628             Paul Eggert  <eggert@cs.ucla.edu>
1629
1630         * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1631         equivalent, substitute $ac_type for equivalent type rather than
1632         blindly using uint32_t *always* which won't work if uint32_t is not
1633         available.  Define _UINT32_T to work around typedef of uint32_t if
1634         <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1635         2.5.1.
1636
1637 2004-11-02  Paul Eggert  <eggert@cs.ucla.edu>
1638
1639         * jm-macros.m4: Sync from coreutils.
1640         (gl_MACROS): Check for mbrlen, for pathchk.
1641         (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1642
1643 2004-11-02  Bruno Haible  <bruno@clisp.org>
1644
1645         * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1646         returns void.
1647
1648 2004-11-01  Paul Eggert  <eggert@cs.ucla.edu>
1649
1650         * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1651         fflush_unlocked, flockfile, funlockfile, funlockfile,
1652         fputs_unlocked, putc_unlocked.
1653
1654 2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1655
1656         * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1657
1658 2004-10-15  Paul Eggert  <eggert@cs.ucla.edu>
1659
1660         * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1661         implementation of getopt_long.  Problem reported by Alexander Taler in:
1662         http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1663
1664 2004-10-11  Yoann Vandoorselaere  <yoann@prelude-ids.org>
1665
1666         * vsnprintf.m4: New file.
1667
1668 2004-10-05  Bruno Haible  <bruno@clisp.org>
1669
1670         * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1671         for the declaration of strsep.
1672
1673 2004-10-04  Paul Eggert  <eggert@cs.ucla.edu>
1674
1675         * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove.  All uses removed.
1676
1677         * unlocked-io.m4: Add copyright notice.
1678         (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1679
1680 2004-10-04  Simon Josefsson  <jas@extundo.com>
1681
1682         * memmem.m4: New file.
1683
1684 2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
1685
1686         * strsep.m4: New file.
1687
1688 2004-09-30  Simon Josefsson  <jas@extundo.com>
1689
1690         * snprintf.m4: New file.
1691
1692 2004-09-09  Bruno Haible  <bruno@clisp.org>
1693
1694         * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1695         modifications.
1696         * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1697
1698 2004-09-08  Bruno Haible  <bruno@clisp.org>
1699
1700         * stdint.m4: New file, taken from GNU clisp with modifications.
1701
1702 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
1703
1704         * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1705
1706 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
1707
1708         * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1709         uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1710         Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1711         Check for program_invocation_name, program_invocation_short_name,
1712         flockfile, funlockfile, features.h, _getopt_long_only_r.
1713
1714 2004-08-12  Simon Josefsson  <jas@extundo.com>
1715
1716         * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1717         as discussed with Paul Eggert in threads rooted at
1718         <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1719         and
1720         <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1721         Before, the test was empty, and relied on ELIDE_CODE in source
1722         code.)
1723         (gl_PREREQ_GETOPT): New macro.
1724         (gl_GETOPT): Use them.
1725
1726 2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
1727
1728         Merge from coreutils.
1729
1730         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1731
1732         * obstack.m4 (gl_PREREQ_OBSTACK): Require
1733         gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1734
1735 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
1736
1737         * uint32_t.m4, uintptr_t.m4: New files.
1738         * sha1.m4: Renamed from sha.m4.
1739         (gl_SHA1): Renamed from gl_SHA.  All uses changed.
1740
1741 2004-08-08  Simon Josefsson  <jas@extundo.com>
1742
1743         * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1744         Check getpass declaration.
1745
1746 2004-08-06  Paul Eggert  <eggert@cs.ucla.edu>
1747
1748         More merge from coreutils.
1749
1750         * utimens.m4, utimecmp.m4: New files.
1751         * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
1752         fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
1753         prereq.m4, sha.m4: Import changes from coreutils.
1754
1755 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
1756
1757         Merge from coreutils.
1758
1759         * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
1760         New files.
1761
1762         * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
1763         FILESYSTEM_PREFIX_LEN ->
1764         FILE_SYSTEM_PREFIX_LEN.
1765         FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
1766         FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
1767         FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
1768         FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1769
1770         * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1771         prerequisite modules now handle the DOS stuff.
1772         Don't check for unistd.h.
1773
1774 2004-08-03  Simon Josefsson  <jas@extundo.com>
1775
1776         * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
1777
1778 2004-08-02  Simon Josefsson  <jas@extundo.com>
1779
1780         * getsubopt.m4: New file.
1781
1782 2004-08-03  Paul Eggert  <eggert@cs.ucla.edu>
1783
1784         * fatal.m4: Remove, as the "fatal" module wasn't used or working.
1785
1786 2004-07-13  Robert Millan  <robertmh@gnu.org>
1787
1788         * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1789
1790 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1791
1792         * argz.m4: New file, which is autoupdated from libtool.
1793
1794 2004-06-01  Jim Meyering  <jim@meyering.net>
1795
1796         * calloc.m4: New file.
1797
1798 2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1799
1800         Merge from coreutils CVS.
1801
1802         * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
1803         makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
1804         putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
1805         strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
1806         xstrtol.m4: Fix copyright date and/or serial number.
1807
1808         * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1809         See if we need an fchown replacement.
1810         (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1811         (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1812         and use the replacement function if we detect either defect.
1813
1814         * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
1815         gl_UTIMECMP.
1816
1817 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1818
1819         * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
1820         C B3910B A.05.55 [Dec 04 2003].  Problem reported by Jim Meyering.
1821         Also, fix a typo in a diagnostic.
1822
1823 2004-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1824
1825         * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
1826         or AC_FUNC_REALLOC.
1827
1828 2004-05-20  Andreas Schwab  <schwab@suse.de>
1829
1830         * free.m4: Replace free if it not known to work, not the other
1831         way round.
1832
1833 2004-05-17  Derek R. Price  <derek@ximbiot.com>
1834             Paul Eggert  <eggert@cs.ucla.edu>
1835
1836         * argp: Depend on alloca.
1837
1838 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
1839
1840         * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1841         for backward compatibility with older code.  We need our own
1842         alloca.h if _AIX is defined.  Define HAVE_ALLOCA if we discover
1843         it under some other name, and our alloca.h will define it.
1844
1845 2004-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1846
1847         * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
1848         Check for gettimeofday.
1849         * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
1850         Check for settimeofday, stime.
1851
1852 2004-04-20  Paul Eggert  <eggert@twinsun.com>
1853
1854         * host-os.m4: Add a copyright notice.
1855
1856 2004-04-20  Jim Meyering  <jim@meyering.net>
1857
1858         Change UTILS_ to gl_ in AC_DEFINE'd names.
1859         Change utils_- and jm_-prefixed variables, too.
1860         * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1861         UTILS_FUNC_MKDIR_TRAILING_SLASH.
1862         * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1863
1864         * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1865         Don't emit trailing blanks.
1866         Also rename jm_-prefixed variables to have gl_ prefix.
1867
1868         * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
1869         Also rename jm_-prefixed variables to have gl_ prefix.
1870
1871         * jm-macros.m4: Reflect the renamings.
1872         * prereq.m4: Likewise.
1873
1874 2004-04-19  Jim Meyering  <jim@meyering.net>
1875
1876         * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1877         now that readutmp.c may call `free (0)'.
1878
1879 2004-04-19  Bruno Haible  <bruno@clisp.org>
1880
1881         * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
1882         * inttypes_h.m4: Likewise.
1883         * stdint_h.m4: Likewise.
1884         * intmax_t.m4: Likewise.
1885         * uintmax_t.m4: Likewise.
1886
1887 2004-04-18  Jim Meyering  <jim@meyering.net>
1888
1889         * prereq.m4: Don't forbid jm_ prefix.
1890
1891         * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
1892         * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
1893         * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
1894         * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
1895         * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
1896         * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
1897         * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
1898         * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
1899         * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
1900         * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
1901         * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
1902         * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
1903         * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
1904         * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
1905         * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
1906         Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
1907
1908 2004-04-16  Jim Meyering  <jim@meyering.net>
1909
1910         * prereq.m4 (jm_PREREQ_STAT): Remove macro.  It is specific to
1911         coreutils' stat program.
1912         (gl_PREREQ): Don't require jm_PREREQ_STAT.
1913
1914 2004-03-31  Jim Meyering  <jim@meyering.net>
1915
1916         * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
1917         Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
1918         * xalloc.m4: Likewise.
1919
1920 2004-03-30  Jim Meyering  <jim@meyering.net>
1921
1922         * realloc.m4: Remove file, since now it does no more than
1923         AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
1924         the `configure.ac' section of module/realloc.
1925         * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
1926
1927 2004-03-30  Paul Eggert  <eggert@twinsun.com>
1928
1929         Merge from coreutils.
1930
1931         * inttostr.m4: New file.
1932         * getdate.m4 (gl_GETDATE): Remove time-related stuff.
1933         Require AM_STDBOOL_H and gl_TIMESPEC instead.
1934         Require gl_CLOCK_TIME.
1935         * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
1936
1937 2004-03-30  Jim Meyering  <jim@meyering.net>
1938
1939         Merge from coreutils.
1940
1941         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
1942         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
1943         on some systems one must include <grp.h> before it.
1944         Reported by Christian Krackowizer.
1945
1946 2004-03-29  Paul Eggert  <eggert@twinsun.com>
1947
1948         * cloexec.m4: New file.
1949
1950 2004-03-18  Paul Eggert  <eggert@twinsun.com>
1951             Bruno Haible  <bruno@clisp.org>
1952
1953         * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
1954         mbswidth.
1955
1956 2004-03-07  Paul Eggert  <eggert@twinsun.com>
1957
1958         * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
1959         All uses changed.  Check for sa_sigaction member; this fixes
1960         a bug first reported by Jason Andrade in
1961         <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
1962
1963 2004-01-18  Simon Josefsson  <jas@extundo.com>
1964
1965         * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
1966
1967 2004-02-18  Bruno Haible  <bruno@clisp.org>
1968
1969         * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
1970         Reported by Derek Robert Price <derek@ximbiot.com>.
1971
1972 2004-02-06  Karl Berry  <karl@gnu.org>
1973
1974         * po.m4: update from gettext 0.14.1.
1975
1976 2004-02-03  Bruno Haible  <bruno@clisp.org>
1977
1978         * pipe.m4: New file, from GNU gettext.
1979
1980 2004-01-27  Bruno Haible  <bruno@clisp.org>
1981
1982         * execute.m4: New file, from GNU gettext.
1983
1984 2003-11-24  Bruno Haible  <bruno@clisp.org>
1985
1986         * allocsa.m4: New file, from GNU gettext.
1987
1988 2003-11-24  Bruno Haible  <bruno@clisp.org>
1989
1990         * eealloc.m4: New file, from GNU gettext.
1991
1992 2004-01-15  Paul Eggert  <eggert@twinsun.com>
1993
1994         Merge from coreutils.
1995
1996         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
1997         * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
1998         (gl_DEFAULT_POSIX2_VERSION): Move
1999         the documentation from 'configure' into 'config.hin',
2000         so that 'configure --help' isn't burdened by it and
2001         we don't have to worry about its formatting there.
2002         Reword the documentation so that it's more succinct
2003         and can be run together into a single paragraph.
2004         * same.m4 (gl_SAME): Check for pathconf.
2005
2006 2004-01-15  Jim Meyering  <jim@meyering.net>
2007
2008         Merge from coreutils.
2009
2010         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2011         if no library is required.
2012         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2013         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2014         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2015         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2016         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2017         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2018         value, $ac_cv_search_crypt, if it's "none required".
2019         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2020         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2021         not gl_FUNC_GETLOADAVG.
2022         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2023         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2024
2025 2004-01-15  Alexandre Duret-Lutz  <adl@gnu.org>
2026
2027         Merge from coreutils.
2028
2029         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2030         value, $ac_cv_search_nanosleep, if it's "none required".
2031
2032 2003-12-03  Bruno Haible  <bruno@clisp.org>
2033
2034         * gettext.m4: Upgrade from gettext-0.13.
2035         * po.m4: Upgrade from gettext-0.13.
2036         * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2037         * intmax.m4: New file, from gettext-0.13.
2038         * printf-posix.m4: New file, from gettext-0.13.
2039
2040 2003-11-25  Bruno Haible  <bruno@clisp.org>
2041
2042         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2043         gt_TYPE_SSIZE_T.
2044
2045 2003-11-17  Bruno Haible  <bruno@clisp.org>
2046
2047         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2048
2049 2003-11-12  Paul Eggert  <eggert@twinsun.com>
2050
2051         * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2052         gl_PTRDIFF_MAX.
2053
2054 2003-11-11  Bruno Haible  <bruno@clisp.org>
2055
2056         * size_max.m4: New file.
2057         * ptrdiff_max.m4: New file.
2058         * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2059         * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2060         (gl_XALLOC): Invoke it.
2061
2062 2003-11-04  Bruno Haible  <bruno@clisp.org>
2063
2064         * xsize.m4: New file.
2065
2066 2003-11-03  Bruno Haible  <bruno@clisp.org>
2067
2068         * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2069
2070 2003-10-30  Paul Eggert  <eggert@cs.ucla.edu>
2071
2072         * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2073         netbsd*-gnu*.  Suggested by Robert Millan.
2074
2075 2003-10-29  Paul Eggert  <eggert@twinsun.com>
2076
2077         * xalloc.m4 (gl_XALLOC): Undo previous change.
2078
2079 2003-10-29  Paul Eggert  <eggert@twinsun.com>
2080
2081         * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu.  Add comments
2082         to it, and to knetbsd*-gnu and kfreebsd*-gnu.  Remove the '*' from
2083         after the 'gnu' in these cases.  This fixes some bugs in the
2084         previous change, and is based on suggestions by Robert Millan.
2085
2086 2003-10-28  Paul Eggert  <eggert@twinsun.com>
2087
2088         * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2089         GNU/KNetBSD.  These implementations use glibc atop the FreeBSD and
2090         NetBSD kernels.  Requested by Richard Stallman.
2091
2092 2003-10-26  Paul Eggert  <eggert@twinsun.com>
2093
2094         * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2095         now uses inline.
2096
2097 2003-10-23  Paul Eggert  <eggert@twinsun.com>
2098
2099         * getline.m4 (AM_FUNC_GETLINE):
2100         Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2101         hosts.  Problem reported by Derek Robert Price in
2102         <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2103         This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2104         * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2105
2106 2003-10-20  Bruno Haible  <bruno@clisp.org>
2107
2108         * wait-process.m4: New file.
2109
2110 2003-10-14  Bruno Haible  <bruno@clisp.org>
2111
2112         * sig_atomic_t: New file, from GNU gettext.
2113         * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2114
2115 2003-10-12  Paul Eggert  <eggert@twinsun.com>
2116
2117         * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2118
2119 2003-10-10  Simon Josefsson  <jas@extundo.com>
2120
2121         * argp.m4: Add AC_C_INLINE.
2122
2123 2003-10-08  Paul Eggert  <eggert@twinsun.com>
2124
2125         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2126
2127 2003-10-06  Bruno Haible  <bruno@clisp.org>
2128
2129         * fatal-signal.m4: New file.
2130         * signalblocking.m4: New file, from GNU gettext.
2131
2132 2003-09-27  Paul Eggert  <eggert@twinsun.com>
2133
2134         * free.m4: New file.
2135
2136 2003-09-26  Bruno Haible  <bruno@clisp.org>
2137
2138         * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2139         Don't define stpncpy through config.h; it's now done through stpncpy.h.
2140
2141 2003-09-25  Simon Josefsson  <jas@extundo.com>
2142             Bruno Haible  <bruno@clisp.org>
2143
2144         * getdomainname.m4: New file.
2145
2146 2003-09-17  Paul Eggert  <eggert@twinsun.com>
2147
2148         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2149         to avoid spurious warnings like "AC_RUN_IFELSE was called before
2150         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2151
2152 2003-09-12  Paul Eggert  <eggert@twinsun.com>
2153
2154         * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2155
2156         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2157         and AC_MINIX, too, so that their extensions are available.
2158
2159         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
2160         This macro has been superseded by gl_BACKUPFILE.
2161
2162         More patches to assume C89 or better.
2163
2164         * error.m4 (gl_ERROR): Don't check for vprintf.
2165
2166         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2167         unconditionally.
2168         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2169         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2170         Include <string.h>, <stdlib.h> unconditionally.
2171         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2172         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2173         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2174         or for string.h.
2175         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2176         or strtoul.
2177
2178         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2179         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2180         * userspec.m4 (gl_USERSPEC): Likewise.
2181         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2182         * xstrtod.m4 (gl_XSTRTOD): Likewise.
2183         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2184         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2185         memcpy, memset.
2186         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2187         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2188         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2189         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2190         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2191         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2192         strtoul.
2193
2194 2003-09-11  Paul Eggert  <eggert@twinsun.com>
2195
2196         More patches to assume C89 or better.
2197         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2198         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2199         string.h, memchr, STDC_HEADERS.
2200
2201 2003-09-10  Bruno Haible  <bruno@clisp.org>
2202
2203         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2204         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2205         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2206         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2207         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2208         <stdlib.h> and <string.h> checks.
2209         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2210         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2211
2212 2003-09-09  Paul Eggert  <eggert@twinsun.com>
2213
2214         More patches to assume C89 or better.
2215         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2216         * getopt.m4 (gl_GETOPT): Don't check for string.h.
2217         * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2218         or for string.h.
2219         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2220         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2221         headers.
2222         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2223         string.h.
2224         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2225         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2226         * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2227         or for string.h.
2228         * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2229         * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2230         C headers.
2231         * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2232         memcpy.
2233         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2234         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2235         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2236         * memcoll.m4 (gl_MEMCOLL): Likewise.
2237         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2238         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2239         string.h, free.
2240         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2241         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2242         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2243         C headers, or for string.h.
2244         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2245         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2246         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2247         headers, memory.h, stdlib.h, string.h, strings.h.
2248         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2249         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2250         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2251         strchr.
2252         * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2253         headers, memory.h, string.h.
2254         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2255         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2256         free.
2257         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2258         * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2259         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2260         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2261         * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2262         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2263
2264 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
2265
2266         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2267         C89 spec.
2268
2269 2003-09-08  Paul Eggert  <eggert@twinsun.com>
2270
2271         Assume C89 or better; remove K&R cruft.
2272         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2273         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2274         string.h, getenv, malloc.
2275         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2276         headers.
2277         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2278         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2279         do not check for strerror.
2280         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2281         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2282         * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2283         do not check for doprnt or vprintf.
2284         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
2285         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2286
2287 2003-09-06  Paul Eggert  <eggert@twinsun.com>
2288
2289         * time_r.m4: New file.
2290         * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2291         * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2292         Check for timegm declaration.
2293         (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2294         Do not check for gmtime_r.
2295         Replace mktime if __mktime_internal does not exist and if mktime
2296         hasn't been replaced already.
2297
2298 2003-08-31  Simon Josefsson  <jas@extundo.com>
2299
2300         * timegm.m4: New file.
2301
2302 2003-08-26  Bruno Haible  <bruno@clisp.org>
2303
2304         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2305         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2306         followed by '#define fnmatch fnmatch_posix' gives an error.
2307
2308 2003-08-27  Jim Meyering  <jim@meyering.net>
2309
2310         * mkstemp.m4: Require that the system mkstemp be able to create
2311         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
2312         would fail after 32.  Reported by Danny Levinson.  Details here:
2313         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2314
2315 2003-08-20  Karl Berry  <karl@gnu.org>
2316
2317         * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2318
2319 2003-08-19  Jim Meyering  <jim@meyering.net>
2320
2321         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2322         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2323
2324 2003-08-19  Bruno Haible  <bruno@clisp.org>
2325
2326         * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2327
2328 2003-08-18  Jim Meyering  <jim@meyering.net>
2329
2330         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2331         * lib-ld.m4: Likewise.
2332
2333 2003-08-17  Simon Josefsson  <jas@extundo.com>
2334
2335         * argp.m4: New file.
2336
2337 2003-08-17  Simon Josefsson  <jas@extundo.com>
2338
2339         * xstrndup.m4: New file.
2340
2341 2003-08-16  Jim Meyering  <jim@meyering.net>
2342
2343         * utimes.m4 (gl_FUNC_UTIMES): New file.
2344         * utimes.m4: Removed.
2345         * utimes-null.m4: Renamed from utimes.m4.
2346
2347         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2348         to 1MB, so as not to render systems with no stack size limit (e.g.,
2349         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
2350         Include <unistd.h>.  On some systems,
2351         it is required for the definition of _SC_PAGESIZE.
2352
2353 2003-08-16  Paul Eggert  <eggert@twinsun.com>
2354
2355         Merges from coreutils, etc.
2356         * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2357         error in gl_FUNC_MATCH.  This fixes a bug I introduced on 2003-05-28.
2358         * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2359         fixing a typo.
2360         * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2361         * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2362
2363 2003-08-16  Jim Meyering  <jim@meyering.net>
2364         and Paul Eggert  <eggert@cs.ucla.edu>
2365
2366         Merges from coreutils, etc.
2367
2368         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2369         using the latest version from cvs.  This avoids problems with #line
2370         directives using a vendor (Sun) compiler.
2371         (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2372         Don't set GETGROUPS_LIB here; now it's
2373         done via getgroups.m4's wrapper function.
2374         AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2375         rather than just in sh-util/configure.in, so that the
2376         now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2377         same.
2378         Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2379         AC_FUNC_GETLOADAVG where to find getloadavg.c.
2380         Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2381         UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2382         gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2383         Remove code that is now done by the newly-required macros.
2384         Append $(EXEEXT) to DF_PROG.
2385         AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2386         Do not invoke or require the following here,
2387         since prereq.m4 or some gnulib .m4 now does this for us:
2388         gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2389         jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2390         jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2391         jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2392         jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2393         AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2394         vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2395         AC_FUNC_OBSTACK.
2396         Do not replace the following functions, as this is now the job
2397         of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2398         getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2399         strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2400         atexit getpass, strdup, getpagesize.
2401         Replace 'raise'.
2402         Do not check for the following functions, as this is now the job
2403         of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2404         getcwd, getmntinfo, resolvepath.  But check for sysctl, setreuid,
2405         setregid.
2406         (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2407         Check for sys/sysctl.h.
2408         (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2409         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Invoke gt_TYPE_SSIZE_T instead
2410         of checking for ssize_t ourselves.
2411
2412         * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2413         Require every macro that gnulib/modules/* suggests for us.
2414         (jm_PREREQ_ADDEXT): New macro.
2415         (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2416         Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2417
2418         * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2419         (gl_PHYSMEM): Use it.
2420         Also check for `table' function.
2421         Check for new headers and functions.
2422         Add check for sys/sysmp.h.
2423         With suggestions from Kaveh Ghazi.
2424         Ignore headers that are present but cannot be compiled.  This
2425         avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2426         C 5.4.
2427
2428 2003-08-16  Jim Meyering  <jim@meyering.net>
2429
2430         Merges from coreutils.
2431         * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2432         prefix.  Adjust cache variables similarly.  Create 500 rather than
2433         just 300 files, to exercise bug on Darwin6.5, too.
2434         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2435         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2436         Reported by mkc@mathdogs.com.
2437         Also change use of $am_cv_sys_posix_termios
2438         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
2439         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2440         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2441         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2442         /proc/mounts until it finds one with matching device number.  This is
2443         unnecessary when the FILE argument *is* a mount point.  No stat call
2444         is necessary in that case.  So, disable the statvfs-testing code on
2445         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
2446         as RedHat bug# 84846.
2447         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2448         to 1MB, so as not to render systems with no stack size limit (e.g.,
2449         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
2450         Include <unistd.h>.  On some systems,
2451         it is required for the definition of _SC_PAGESIZE.
2452
2453 2003-08-15  Jim Meyering  <jim@meyering.net>
2454         and Paul Eggert  <eggert@cs.ucla.edu>
2455
2456         Merges from coreutils, etc.
2457         * strftime.m4 (_jm_STRFTIME_PREREQS):
2458         Require gl_FUNC_TZSET_CLOBBER.
2459         * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2460         ut_exit.ut_termination, and ut_exit.e_termination members.
2461
2462 2003-08-14  Paul Eggert  <eggert@twinsun.com>
2463
2464         Help the merge from coreutils.
2465         * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2466         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2467         * tzset.m4: Use it too.
2468
2469 2003-08-14  Jim Meyering  <jim@meyering.net>
2470
2471         Merge from coreutils.
2472         * tzset.m4: New file.
2473         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2474         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2475         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
2476         is inadequate on such systems: 1) detecting whether a file system
2477         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
2478         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2479         merely /MOUNT_POINT.  Reported by Mike Jetzer.
2480
2481 2003-08-13  Paul Eggert  <eggert@twinsun.com>
2482
2483         * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2484         Check for isascii.
2485
2486         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2487         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2488         Undo previous (whitespace-only) change.
2489
2490 2003-08-12  Paul Eggert  <eggert@twinsun.com>
2491
2492         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2493         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2494         Normalize leading white space and remove trailing white space.
2495
2496         Merge from coreutils
2497         * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2498
2499         * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2500         0.12.1.  These files are now being upgraded automatically by
2501         ../config/srclist-update.
2502
2503 2003-08-11  Bruno Haible  <bruno@clisp.org>
2504
2505         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2506
2507 2003-08-09  Paul Eggert  <eggert@twinsun.com>
2508
2509         * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2510         apparently Emacs's Unicode mode got confused before my 2003-08-05
2511         checkin.
2512
2513 2003-08-08  Paul Eggert  <eggert@twinsun.com>
2514
2515         * extensions.m4: New file.
2516         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2517         Require gl_USE_SYSTEM_EXTENSIONS.
2518         * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2519         Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2520
2521 2003-08-07  Paul Eggert  <eggert@twinsun.com>
2522
2523         * restrict.m4: New file.
2524         * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2525
2526 2003-08-07  Bruno Haible  <bruno@clisp.org>
2527
2528         * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2529         the module 'getndelim2' compatible with the module 'getline'.
2530
2531 2003-08-05  Paul Eggert  <eggert@twinsun.com>
2532
2533         * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2534         byte with "\201" to avoid glitches when editing that source file
2535         with multi-gnome-terminal.
2536
2537 2003-07-31  Bruno Haible  <bruno@clisp.org>
2538
2539         * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2540
2541 2003-07-18  Bruno Haible  <bruno@clisp.org>
2542
2543         * getndelim2.m4: New file.
2544         * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2545         invoke gl_PREREQ_GETNDELIM2.
2546         (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2547         gl_PREREQ_GETNDELIM2.
2548         * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2549         gl_GETNDELIM2.
2550
2551 2003-07-17  Bruno Haible  <bruno@clisp.org>
2552
2553         * Makefile.am.in: Remove file.
2554         * Makefile.am: Remove file.
2555         * Makefile.in: Remove file.
2556
2557 2003-07-17  Bruno Haible  <bruno@clisp.org>
2558
2559         * getnline.m4: New file.
2560
2561 2003-07-14  Simon Josefsson  <jas@extundo.com>
2562
2563         * mempcpy.m4: New file.
2564
2565 2003-07-10  Jim Meyering  <jim@meyering.net>
2566
2567         * clock_time.m4: Remove trailing blank.
2568         * intmax_t.m4: Likewise.
2569
2570 2003-07-01  Paul Eggert  <eggert@twinsun.com>
2571
2572         * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2573         xreadlink.c now includes it unconditionally.
2574
2575 2003-07-01  Bruno Haible  <bruno@clisp.org>
2576
2577         * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2578         should be sufficient.
2579         Reported by Paul Eggert.
2580
2581 2003-06-25  Bruno Haible  <bruno@clisp.org>
2582
2583         * readlink.m4: New file.
2584
2585 2003-06-22  Bruno Haible  <bruno@clisp.org>
2586
2587         Portability to mingw32.
2588         * ssize_t.m4: New file, from GNU gettext.
2589         * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2590         * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2591
2592 2003-06-11  Bruno Haible  <bruno@clisp.org>
2593
2594         * sysexits.m4: New file.
2595
2596 2003-06-10  Simon Josefsson  <jas@extundo.com>
2597
2598         * strchrnul.m4: New file.
2599
2600 2003-06-07  Bruno Haible  <bruno@clisp.org>
2601
2602         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2603         gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2604         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2605         directory.
2606         * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2607         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2608         directory.
2609
2610 2003-06-04  Paul Eggert  <eggert@twinsun.com>
2611
2612         * human.m4 (gl_HUMAN): Require AM_STDBOOL_H.  Check for
2613         locale.h, localeconv.  This merges changes from coreutils.
2614
2615         * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2616         It can be removed after the next Autoconf is released.
2617         * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2618         needed.
2619
2620 2003-05-30  Bruno Haible  <bruno@clisp.org>
2621
2622         * gettext.m4: Upgrade to gettext-0.12.1.
2623         * nls.m4: New file, from gettext-0.12.1.
2624         * po.m4: New file, from gettext-0.12.1.
2625         * progtest.m4: Upgrade to gettext-0.12.1.
2626
2627 2003-05-28  Paul Eggert  <eggert@twinsun.com>
2628
2629         Assume the headers required for C89 freestanding compilers.
2630         * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2631         * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2632         * human.m4 (gl_HUMAN): Likewise.
2633         * pathmax.m4 (gl_PATHMAX): Likewise.
2634         * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2635         * userspec.m4 (gl_USERSPEC): Likewise.
2636         * xreadlink.m4 (gl_XREADLINK): Likewise.
2637         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2638         * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2639
2640 2003-05-26  Jim Meyering  <jim@meyering.net>
2641
2642         Merge in a change from coreutils:
2643         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2644         that is guaranteed to be `no'.  Use `no_such_member' to indicate
2645         that condition, rather than `-1' which is slightly misleading.
2646         Change the name of the cache variable to have the gl_ prefix.
2647         Prompted by a patch from Richard Dawe for DJGPP.
2648
2649 2003-05-17  Bruno Haible  <bruno@clisp.org>
2650
2651         * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2652         expansion for AC_EGREP_CPP.
2653         * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2654         * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2655         Suggested by Akim Demaille <akim@epita.fr> in
2656         http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2657
2658 2003-04-21  Paul Eggert  <eggert@twinsun.com>
2659
2660         * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2661         code which expansion is under static control.  Patch imported from
2662         Akim Demaille's patch to Bison; see
2663         <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2664
2665 2003-04-14  Bruno Haible  <bruno@clisp.org>
2666
2667         * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2668
2669 2003-04-10  Bruno Haible  <bruno@clisp.org>
2670
2671         * findprog.m4: New file.
2672         * eaccess.m4: New file.
2673
2674 2003-04-04  Bruno Haible  <bruno@clisp.org>
2675
2676         * linebreak.m4: New file.
2677
2678 2003-04-03  Bruno Haible  <bruno@clisp.org>
2679
2680         * utf-ucs4.m4: New file.
2681         * ucs4-utf.m4: New file.
2682
2683 2003-03-30  Bruno Haible  <bruno@clisp.org>
2684
2685         * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2686
2687 2003-03-28  Bruno Haible  <bruno@clisp.org>
2688
2689         * copy-file.m4: New file.
2690
2691 2003-03-18  Bruno Haible  <bruno@clisp.org>
2692
2693         * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2694         * onceonly_2_57.m4: Likewise.
2695
2696 2003-03-17  Bruno Haible  <bruno@clisp.org>
2697
2698         * onceonly.m4: Require autoconf 2.54 or newer.
2699         (m4_quote): Remove macro.
2700         * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2701
2702 2003-03-14  Bruno Haible  <bruno@clisp.org>
2703
2704         * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2705         AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2706
2707 2003-03-13  Paul Eggert  <eggert@twinsun.com>
2708
2709         * onceonly.m4 (m4_quote): New macro.
2710         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2711         Quote AC_FOREACH variable-expansions properly.
2712
2713 2003-02-19  Paolo Bonzini  <bonzini@gnu.org>
2714
2715         * poll.m4: New file.
2716
2717 2003-02-18  Paolo Bonzini  <bonzini@gnu.org>
2718
2719         * mathl.m4: New file.
2720
2721 2003-02-17  Bruno Haible  <bruno@clisp.org>
2722
2723         * mkdtemp.m4: New file, from GNU gettext with modifications.
2724
2725 2003-02-02  Jim Meyering  <jim@meyering.net>
2726
2727         * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2728         e.g. glibc-2.2.93.
2729
2730 2003-01-31  Bruno Haible  <bruno@clisp.org>
2731
2732         * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
2733         'rpl_rename'.
2734         * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
2735         'rpl_strnlen'.
2736         * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
2737         'rpl_strtod'.
2738         * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
2739         'rpl_utime'.
2740
2741 2003-01-30  Bruno Haible  <bruno@clisp.org>
2742
2743         * signed.m4: New file, from GNU gettext.
2744         * longdouble.m4: New file, from GNU gettext.
2745         * wchar_t.m4: New file, from GNU gettext.
2746         * wint_t.m4: New file, from GNU gettext.
2747         * vasnprintf.m4: New file.
2748         * vasprintf.m4: New file.
2749
2750 2003-01-29  Bruno Haible  <bruno@clisp.org>
2751
2752         * stpncpy.m4: New file.
2753
2754 2003-01-23  Jim Meyering  <jim@meyering.net>
2755
2756         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2757         from working on systems without dirfd (at least Irix and OSF1/Tru64).
2758
2759 2003-01-16  Jim Meyering  <jim@meyering.net>
2760
2761         * regex.m4: The `regex' struct is both input and output.
2762         Initialize it before each use.  Patch by Tim Waugh.
2763
2764 2003-01-11  Bruno Haible  <bruno@clisp.org>
2765
2766         * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
2767         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
2768         suffix.
2769
2770 2003-01-11  Bruno Haible  <bruno@clisp.org>
2771
2772         * md5.m4 (gl_MD5): Require AC_C_INLINE.
2773
2774 2003-01-11  Bruno Haible  <bruno@clisp.org>
2775
2776         * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
2777
2778 2003-01-12  Paul Eggert  <eggert@twinsun.com>
2779
2780         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
2781         to avoid collisions with libcurses and libreadline.
2782
2783         * getstr.m4: Remove.
2784         * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
2785
2786 2003-01-10  Bruno Haible  <bruno@clisp.org>
2787
2788         * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
2789
2790 2003-01-09  Bruno Haible  <bruno@clisp.org>
2791
2792         * stdbool.m4 (AM_STDBOOL_H): New macro.
2793
2794 2002-12-31  Paul Eggert  <eggert@twinsun.com>
2795
2796         * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
2797
2798 2002-12-24  Bruno Haible  <bruno@clisp.org>
2799
2800         General infrasructure.
2801         * README: Rewritten.
2802         * onceonly.m4: New file.
2803         * onceonly_2_57.m4: New file.
2804
2805         Module atexit.
2806         * atexit.m4: New file.
2807
2808         Module strtod.
2809         * strtod.m4: New file.
2810
2811         Module strtol.
2812         * strtol.m4: New file.
2813
2814         Module strtoul.
2815         * strtoul.m4: New file.
2816
2817         Module memchr.
2818         * memchr.m4: New file.
2819
2820         Module memcmp.
2821         * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
2822         (jm_FUNC_MEMCMP): Invoke it.
2823
2824         Module memcpy.
2825         * memcpy.m4: New file.
2826
2827         Module memmove.
2828         * memmove.m4: New file.
2829
2830         Module memset.
2831         * memset.m4: New file.
2832
2833         Module strcspn.
2834         * strcspn.m4: New file.
2835
2836         Module strpbrk.
2837         * strpbrk.m4: New file.
2838
2839         Module strstr.
2840         * strstr.m4: New file.
2841
2842         Module strerror.
2843         * strerror.m4: New file.
2844
2845         Module mktime.
2846         * mktime.m4: Renamed from jm-mktime.m4.
2847         (gl_PREREQ_MKTIME): New macro.
2848         (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
2849
2850         Module malloc.
2851         * malloc.m4 (gl_PREREQ_MALLOC): New macro.
2852         (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
2853         Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
2854
2855         Module realloc.
2856         * realloc.m4 (gl_PREREQ_REALLOC): New macro.
2857         (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
2858         Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
2859
2860         Module strftime.
2861         * tm_gmtoff.m4: New file, extracted from strftime.m4.
2862         * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
2863         Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
2864         gl_TM_GMTOFF.
2865         (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
2866
2867         Module xalloc.
2868         * xalloc.m4: New file.
2869
2870         Module alloca.
2871         * alloca.m4: New file.
2872
2873         Module putenv.
2874         * putenv.m4 (gl_PREREQ_PUTENV): New macro.
2875         (jm_FUNC_PUTENV): Invoke it.
2876
2877         Module setenv.
2878         * setenv.m4 (gt_FUNC_SETENV): New macro.
2879         (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
2880         when invoked twice.
2881         (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
2882         gt_FUNC_SETENV.
2883
2884         Module memrchr.
2885         * memrchr.m4: New file.
2886
2887         Module stpcpy.
2888         * stpcpy.m4: New file.
2889
2890         Module strcase.
2891         * strcase.m4: New file.
2892
2893         Module strdup.
2894         * strdup.m4: New file.
2895
2896         Module strnlen.
2897         * strnlen.m4: New file.
2898
2899         Module strndup.
2900         * strndup.m4: New file.
2901
2902         Module xstrtod.
2903         * xstrtod.m4: New file.
2904
2905         Module xstrtol.
2906         * xstrtol.m4: New file.
2907
2908         Module getdate.
2909         * getdate.m4: New file.
2910
2911         Module unlocked-io.
2912         * unlocked-io.m4: Renamed from jm-glibc-io.m4.
2913         (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
2914         * jm-glibc-io.m4n: Remove file.
2915
2916         Module long-options.
2917         * long-options.m4: New file.
2918
2919         Module md5.
2920         * md5.m4: New file.
2921
2922         Module sha.
2923         * sha.m4: New file.
2924
2925         Module getstr.
2926         * getstr.m4: New file.
2927
2928         Module getline.
2929         * getline.m4 (gl_PREREQ_GETLINE): New macro.
2930         (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
2931         <sys/types.h>, for size_t. Use the function name gnu_getline, not
2932         simply getline. Infoke gl_PREREQ_GETLINE.
2933
2934         Module obstack.
2935         * obstack.m4: New file.
2936
2937         Module hash.
2938         * hash.m4: New file.
2939
2940         Module readtokens.
2941         * readtokens.m4: New file.
2942
2943         Module strverscmp.
2944         * strverscmp.m4: New file.
2945
2946         Module stdbool.
2947         * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
2948
2949         Module strtoll.
2950         * strtoll.m4: New file.
2951
2952         Module strtoull.
2953         * strtoull.m4: New file.
2954
2955         Module strtoimax.
2956         * strtoimax.m4: New file.
2957
2958         Module strtoumax.
2959         * strtoumax.m4: New file.
2960
2961         Module xstrtoimax.
2962         * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
2963         Moved the strtol prerequisites to strtol.m4.
2964         Moved the strtoll prerequisites to strtoll.m4.
2965         Moved the strtoimax prerequisites to strtoimax.m4.
2966
2967         Module xstrtoumax.
2968         * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
2969         Moved the strtoul prerequisites to strtoul.m4.
2970         Moved the strtoull prerequisites to strtoull.m4.
2971         Moved the strtoumax prerequisites to strtoumax.m4.
2972
2973         Module chown.
2974         * chown.m4 (gl_PREREQ_CHOWN): New macro.
2975         (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
2976
2977         Module dup2.
2978         * dup2.m4: New file.
2979
2980         Module ftruncate.
2981         * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
2982         (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
2983
2984         Module getgroups.
2985         * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
2986         (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
2987
2988         Module gettimeofday.
2989         * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
2990         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
2991         gl_PREREQ_GETTIMEOFDAY.
2992
2993         Module mkdir.
2994         * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
2995         (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
2996
2997         Module mkstemp.
2998         * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
2999         (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3000         jm_AC_TYPE_UINTMAX_T.
3001         (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3002
3003         Module stat.
3004         * stat.m4 (gl_PREREQ_STAT): New macro.
3005         (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3006
3007         Module lstat.
3008         * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3009         (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3010
3011         Module timespec.
3012         * timespec.m4 (gl_TIMESPEC): New macro.
3013         (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3014         * st_mtim.m4: Indentation.
3015
3016         Module nanosleep.
3017         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3018         (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3019         gl_PREREQ_NANOSLEEP.
3020
3021         Module regex.
3022         * regex.m4 (jm_PREREQ_REGEX): New macro.
3023         (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3024         (gl_REGEX): New macro.
3025
3026         Module rename.
3027         * rename.m4 (gl_PREREQ_RENAME): New macro.
3028         (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3029
3030         Module rmdir.
3031         * rmdir.m4: New file.
3032
3033         Module utime.
3034         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3035         * utime.m4 (gl_PREREQ_UTIME): New macro.
3036         (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3037
3038         Module dirname.
3039         * dirname.m4: New file.
3040
3041         Module getopt.
3042         * getopt.m4: New file.
3043
3044         Module unistd-safer.
3045         * unistd-safer.m4: New file.
3046
3047         Module fnmatch.
3048         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3049         declaration.
3050         (gl_PREREQ_FNMATCH_EXTRA): New macro.
3051         (gl_FUNC_FNMATCH_POSIX): New macro.
3052         (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3053         gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3054         simply fnmatch.
3055
3056         Module exclude.
3057         * exclude.m4: New file.
3058
3059         Module human.
3060         * human.m4: New file.
3061
3062         Module acl.
3063         * acl.m4: Nop.
3064
3065         Module backupfile.
3066         * backupfile.m4: New file.
3067         * d-ino.m4: Indentation.
3068
3069         Module fsusage.
3070         * fsusage.m4 (gl_FSUSAGE): New macro.
3071         (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3072         (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3073
3074         Module dirfd.
3075         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3076
3077         Module euidaccess.
3078         * euidaccess.m4: New file.
3079
3080         Module file-type.
3081         * file-type.m4: New file.
3082
3083         Module fileblocks.
3084         * fileblocks.m4: New file.
3085
3086         Module filemode.
3087         * filemode.m4: New file.
3088
3089         Module isdir.
3090         * isdir.m4: New file.
3091
3092         Module lchown.
3093         * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3094         (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3095
3096         Module makepath.
3097         * makepath.m4: New file.
3098
3099         Module modechange.
3100         * modechange.m4: New file.
3101
3102         Module mountlist.
3103         * mountlist.m4: New file.
3104         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3105         Indentation.
3106
3107         Module path-concat.
3108         * path-concat.m4: New file.
3109
3110         Module pathmax.
3111         * pathmax.m4: New file.
3112
3113         Module same.
3114         * same.m4: New file.
3115
3116         Module save-cwd.
3117         * save-cwd.m4: New file.
3118
3119         Module savedir.
3120         * savedir.m4: New file.
3121
3122         Module xgetcwd.
3123         * xgetcwd.m4: New file.
3124         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3125
3126         Module xreadlink.
3127         * xreadlink.m4: New file.
3128
3129         Module safe-read.
3130         * safe-read.m4: New file.
3131
3132         Module safe-write.
3133         * safe-write.m4: New file.
3134
3135         Module closeout.
3136         * closeout.m4: New file.
3137
3138         Module stdio-safer.
3139         * stdio-safer.m4: New file.
3140
3141         Module getpass.
3142         * getpass.m4: New file.
3143
3144         Module getugroups.
3145         * getugroups.m4: New file.
3146
3147         Module group-member.
3148         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3149         (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3150
3151         Module idcache.
3152         * idcache.m4: New file.
3153
3154         Module userspec.
3155         * userspec.m4: New file.
3156
3157         Module gettime.
3158         * clock_time.m4: New file.
3159         * gettime.m4: New file.
3160
3161         Module settime.
3162         * settime.m4: New file.
3163
3164         Module posixtm.
3165         * posixtm.m4: New file.
3166
3167         Module gethostname.
3168         * gethostname.m4: New file.
3169
3170         Module canon-host.
3171         * canon-host.m4: New file.
3172
3173         Module gettext.
3174         * codeset.m4: New file, from gettext-0.11.5.
3175         * gettext.m4: New file, from gettext-0.11.5.
3176         * glibc21.m4: New file, from gettext-0.11.5.
3177         * iconv.m4: New file, from gettext-0.11.5.
3178         * intdiv0.m4: New file, from gettext-0.11.5.
3179         * inttypes-pri.m4: New file, from gettext-0.11.5.
3180         * inttypes.m4: New file, from gettext-0.11.5.
3181         * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3182         * isc-posix.m4: New file, from gettext-0.11.5.
3183         * lcmessage.m4: New file, from gettext-0.11.5.
3184         * lib-ld.m4: New file, from gettext-0.11.5.
3185         * lib-link.m4: New file, from gettext-0.11.5.
3186         * lib-prefix.m4: New file, from gettext-0.11.5.
3187         * progtest.m4: New file, from gettext-0.11.5.
3188         * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3189         * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3190         * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3191
3192         Module localcharset.
3193         * localcharset.m4: New file.
3194
3195         Module hard-locale.
3196         * hard-locale.m4: New file.
3197
3198         Module mbswidth.
3199         * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3200         onceonly macros.
3201         * mbrtowc.m4: Add comment.
3202
3203         Module memcasecmp.
3204         * memcasecmp.m4: New file.
3205
3206         Module memcoll.
3207         * memcoll.m4: New file.
3208
3209         Module unicodeio.
3210         * unicodeio.m4: New file.
3211
3212         Module rpmatch.
3213         * rpmatch.m4: New file.
3214
3215         Module yesno.
3216         * yesno.m4: New file.
3217
3218         Module exitfail.
3219         * exitfail.m4: New file.
3220
3221         Module c-stack.
3222         * c-stack.m4 (gl_C_STACK): New macro.
3223         (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3224
3225         Module error.
3226         * error.m4 (gl_ERROR): New macro.
3227         (jm_PREREQ_ERROR): Use onceonly macros.
3228
3229         Module fatal.
3230         * fatal.m4: New file.
3231
3232         Module getloadavg.
3233         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3234         (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3235
3236         Module getpagesize.
3237         * getpagesize.m4: New file.
3238
3239         Module getusershell.
3240         * getusershell.m4: New file.
3241
3242         Module physmem.
3243         * physmem.m4: New file.
3244
3245         Module posixver.
3246         * posixver.m4: New file.
3247
3248         Module quotearg.
3249         * quotearg.m4: New file.
3250
3251         Module quote.
3252         * quote.m4: New file.
3253
3254         Module readutmp.
3255         * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3256
3257         Module sig2str.
3258         * sig2str.m4: New file.
3259
3260         Other.
3261         * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3262         ulonglong.m4.
3263         * intmax_t.m4: New file.
3264         * d-type.m4: Indentation.
3265         * jm-macros.m4: Update.
3266         * prereq.m4 (jm_PREREQ): Update.
3267         (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3268         (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3269         (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3270         (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3271         (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3272         (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3273         (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3274         (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3275         (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3276         (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3277         (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3278         (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3279         (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3280         (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3281         (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3282         (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3283         (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3284         (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3285         * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3286
3287 2002-12-18  Bruno Haible  <bruno@clisp.org>
3288
3289         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3290         * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3291
3292 2002-12-17  Bruno Haible  <bruno@clisp.org>
3293
3294         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3295         stdlib.h, string.h.
3296
3297 2002-12-11  Bruno Haible  <bruno@clisp.org>
3298
3299         * setenv.m4: New file, from gettext-0.11.5.
3300
3301 2002-12-06  Paul Eggert  <eggert@twinsun.com>
3302
3303         Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3304         a pain in practice to deal with generated m4 files.  This change
3305         goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3306
3307         * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3308         and jm-glibc-io.m4, as they are no longer a special case.
3309         * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3310         kludge and the auto-generation stuff.  Check only whether the
3311         functions are declared, not whether they exist, since older hosts
3312         that don't declare the functions can't use the optimization anyway.
3313
3314 2002-07-06  Jim Meyering  <meyering@lucent.com>
3315
3316         * README: Don't mention Makefile.am.in.
3317         Outline how I've tested changes to .m4 files.  Yep, it's a pain.
3318
3319 2002-06-11  Paul Eggert  <eggert@twinsun.com>
3320
3321         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3322
3323 2002-06-22  Jim Meyering  <meyering@lucent.com>
3324
3325         * c-stack.m4: New file, from diffutils-2.8.2.
3326         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3327
3328         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3329         now that configure.ac uses AC_GNU_SOURCE.
3330         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3331         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3332
3333         Update to latest tools.  Suggestions from Paul Eggert.
3334         * stdbool.m4: New file, from diffutils-2.8.2.
3335         * gnu-source.m4: Update from diffutils-2.8.2.
3336         * fnmatch.m4: Likewise.
3337         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3338         to AC_HEADER_STDBOOL
3339
3340 2002-06-21  Jim Meyering  <meyering@lucent.com>
3341
3342         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3343         * mbrtowc.m4: Likewise.
3344
3345         * mbstate_t.m4: Update from diffutils-2.8.2.
3346         * mbswidth.m4: Reflect name change:
3347         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3348         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3349
3350         * lib-link.m4: Update from gettext-0.11.2.
3351         * gettext.m4: Likewise.
3352
3353         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3354         From Alfred M. Szmidt.
3355
3356 2002-05-19  Paul Eggert  <eggert@twinsun.com>
3357
3358         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3359
3360 2002-06-07  Jim Meyering  <meyering@lucent.com>
3361
3362         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3363         They're needed at least for NetBSD 1.5.2.
3364         ($statxfs_includes): Include those same headers.
3365         ($statxfs_includes): Include sys/vfs.h if available.
3366         ($statxfs_includes): Likewise for sys/statvfs.h.
3367         Check for the following members in both structs statfs and statvfs:
3368         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3369
3370 2002-06-01  Jim Meyering  <meyering@lucent.com>
3371
3372         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3373         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3374
3375 2002-05-28  Jim Meyering  <meyering@lucent.com>
3376
3377         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3378         Reported by Volker Borchert.
3379
3380 2002-05-27  Jim Meyering  <meyering@lucent.com>
3381
3382         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3383         localtime.
3384
3385         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3386         use the replacement function; it wouldn't resolve at link time.
3387         Reported by Volker Borchert.
3388
3389 2002-04-30  Jim Meyering  <meyering@lucent.com>
3390
3391         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3392
3393 2002-04-29  Paul Eggert  <eggert@twinsun.com>
3394
3395         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3396         Do not check for alloca.h (no longer used) or stdbool.h (was never
3397         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
3398
3399 2002-04-28  Paul Eggert  <eggert@twinsun.com>
3400
3401         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3402
3403 2002-04-29  Jim Meyering  <meyering@lucent.com>
3404
3405         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3406         * prereq.m4: Add jm_PREREQ_STRNLEN.
3407         Use AC_FUNC_STRNLEN here instead.
3408
3409         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3410         With autoconf-2.53a, it's part of AC_PROG_CC.
3411
3412 2002-04-28  Paul Eggert  <eggert@twinsun.com>
3413
3414         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3415         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3416
3417 2002-04-24  Jim Meyering  <meyering@lucent.com>
3418
3419         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3420         (jm_PREREQ): Use it.
3421
3422         * getloadavg.m4: Check for these headers: locale.h unistd.h
3423         mach/mach.h fcntl.h.
3424         Check for this function: setlocale.
3425
3426 2002-04-16  Jim Meyering  <meyering@lucent.com>
3427
3428         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3429         ut_pid, ut_id, ut_exit.
3430
3431 2002-04-12  Jim Meyering  <meyering@lucent.com>
3432
3433         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3434         check for f_type in sys/mount.h.  Instead, just test for the existence
3435         of the getmntinfo function.  Needed for Darwin 5.3.
3436
3437         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3438         This is necessary at least on Darwin 5.3.
3439
3440         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3441         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
3442         in the library, and that makes some versions of ranlib object.
3443
3444 2002-04-09  Jim Meyering  <meyering@lucent.com>
3445
3446         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3447         to be more precise.  Rather than saying we're checking whether the
3448         function `works', say what we're testing.
3449         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3450         Reported by Bruno Haible.
3451
3452 2002-02-27  Paul Eggert  <eggert@twinsun.com>
3453
3454         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3455         Check for clock_settime.
3456
3457 2002-02-25  Paul Eggert  <eggert@twinsun.com>
3458
3459         * acl.m4: New file.
3460         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3461         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3462
3463 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
3464
3465         * codeset.m4: Upgrade to gettext-0.11.
3466         * gettext.m4: Upgrade to gettext-0.11.
3467         * glibc21.m4: Upgrade to gettext-0.11.
3468         * iconv.m4: Upgrade to gettext-0.11.
3469         * isc-posix.m4: Upgrade to gettext-0.11.
3470         * lcmessage.m4: Upgrade to gettext-0.11.
3471         * lib-ld.m4: New file, from gettext-0.11.
3472         * lib-link.m4: New file, from gettext-0.11.
3473         * lib-prefix.m4: New file, from gettext-0.11.
3474         * progtest.m4: Upgrade to gettext-0.11.
3475
3476 2002-02-15  Paul Eggert  <eggert@twinsun.com>
3477
3478         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3479         (jm_PREREQ): Use it.
3480
3481 2002-01-26  Jim Meyering  <meyering@lucent.com>
3482
3483         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3484         * strnlen.m4: Remove file, now that it's part of autoconf.
3485
3486 2002-01-22  Paul Eggert  <eggert@twinsun.com>
3487
3488         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3489
3490 2002-01-19  Jim Meyering  <meyering@lucent.com>
3491
3492         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3493         Remove useless quotes: DF_PROG="df".
3494         * strnlen.m4: New file.
3495
3496 2001-12-14  Jim Meyering  <meyering@lucent.com>
3497
3498         * jm-macros.m4 (jm_MACROS): Check for iswspace.
3499         Suggestion from Bruno Haible.
3500
3501 2001-11-20  Jim Meyering  <meyering@lucent.com>
3502
3503         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3504         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3505
3506 2001-11-19  Jim Meyering  <meyering@lucent.com>
3507
3508         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3509         directory.  Use "conftestXXXXXX" as the template.
3510         Suggestion from Paul Eggert.
3511
3512         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3513         so the test doesn't mistakenly hit the max-open-files limit.
3514
3515 2001-11-18  Jim Meyering  <meyering@lucent.com>
3516
3517         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3518
3519 2001-11-17  Jim Meyering  <meyering@lucent.com>
3520
3521         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3522         Prompted by a report from Bob Proulx.
3523
3524         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3525         Instead, require UTILS_FUNC_MKSTEMP.
3526
3527 2001-11-11  Jim Meyering  <meyering@lucent.com>
3528
3529         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3530         Now, that's done as part of AC_FUNC_STRTOD.
3531
3532 2001-10-22  Paul Eggert  <eggert@twinsun.com>
3533
3534         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3535         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3536
3537 2001-11-10  Jim Meyering  <meyering@lucent.com>
3538
3539         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3540         (jm_PREREQ): Use it.
3541
3542 2001-11-09  Jim Meyering  <meyering@lucent.com>
3543
3544         * jm-macros.m4: Require autoconf-2.52f.
3545         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3546         Use these AC_-prefixed names, not the AM_-prefixed ones.
3547
3548         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
3549
3550 2001-11-04  Jim Meyering  <meyering@lucent.com>
3551
3552         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3553
3554 2001-11-03  Jim Meyering  <meyering@lucent.com>
3555
3556         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3557         of AC_DEFUN.
3558
3559         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3560         know the name of the variable in the macro definition.
3561
3562 2001-11-01  Jim Meyering  <meyering@lucent.com>
3563
3564         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3565         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3566
3567 2001-10-20  Paul Eggert  <eggert@twinsun.com>
3568
3569         * error.m4 (jm_PREREQ_ERROR):
3570         Do not invoke AC_CHECK_FUNCS with strerror_r, as
3571         AC_FUNC_STRERROR_R does that.
3572         Check for strerror declaration.
3573
3574         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3575         are supposed to have them these days.
3576         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3577         Merge changes from latest Autoconf CVS.
3578         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3579         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3580         POSIX decided to standardize on the int flavor of strerror_r.
3581
3582 2001-09-30  Jim Meyering  <meyering@lucent.com>
3583
3584         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3585         `struct fsstat' has the `f_fstypename' member.
3586         Use that to define FS_TYPE, which is now used to make
3587         the getfsstat link test tighter.
3588
3589 2001-09-29  Jim Meyering  <meyering@lucent.com>
3590
3591         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3592         [one-argument getmntent function]): Include stdio.h before mntent.h.
3593         SunOS 4.1.x needs it for the declaration of `FILE'.
3594         Patch by Volker Borchert.
3595
3596         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3597         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3598         sys/fs_types.h, and make the link-test for getfsstat guard #include
3599         directives with appropriate #if HAVE_*_H tests so that we can
3600         detect getfsstat on Apple Darwin1.3.7 systems.
3601         Reported by Nelson Beebe.
3602         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3603
3604 2001-09-28  Paul Eggert  <eggert@twinsun.com>
3605
3606         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3607         #defines strtoimax.  Also treat the other strto* functions
3608         like strtoimax.
3609
3610         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3611         Check for strtoul and strtoumax,
3612         as those declarations are made even in the signed case.
3613         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3614         Likewise, for strtol and strtoimax.
3615
3616 2001-09-24  Jim Meyering  <meyering@lucent.com>
3617
3618         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3619
3620 2001-09-23  Jim Meyering  <meyering@lucent.com>
3621
3622         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3623         instead of the mere test for existence of mntent.h.  The latter
3624         would get a false-positive on AIX 3.4 systems.
3625         In the outer getmntent if-block, don't die if neither of the getmntent
3626         tests succeeds.  Instead, just fall through and continue with the
3627         remaining tests.
3628
3629 2001-09-22  Jim Meyering  <meyering@lucent.com>
3630
3631         * gettext.m4: New file.  From gettext.
3632         * lcmessage.m4: Sync with gettext -- this changes only comments.
3633         * progtest.m4: Likewise
3634         * isc-posix.m4: Decrement serial number to sync with gettext.
3635         * glibc21.m4: Likewise.
3636
3637         * libintl.m4: Remove.  No longer used.
3638
3639 2001-09-20  Jim Meyering  <meyering@lucent.com>
3640
3641         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3642         strtoimax.
3643         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3644         strtoumax.
3645
3646 2001-09-17  Jim Meyering  <meyering@lucent.com>
3647
3648         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3649         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3650         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3651         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3652         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3653         whenever the right hand side need not be expanded by the shell.
3654
3655 2001-09-16  Paul Eggert  <eggert@twinsun.com>
3656
3657         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3658         library.  It's not correct, as some older glibcs are buggy.
3659         fnmatch wasn't fixed until glibc 2.2.
3660
3661         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3662         special shell magic here.
3663
3664 2001-09-16  Jim Meyering  <meyering@lucent.com>
3665
3666         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3667         * jm-macros.m4: Require it.
3668
3669 2001-09-15  Jim Meyering  <meyering@lucent.com>
3670
3671         * jm-macros.m4: Check for help2man.
3672
3673 2001-09-11  Jim Meyering  <meyering@lucent.com>
3674
3675         * host-os.m4 (UTILS_HOST_OS): New file/macro.
3676         The body, by Paul Eggert, was moved here from configure.in.
3677         * jm-macros.m4: Require UTILS_HOST_OS.
3678
3679 2001-09-04  Paul Eggert  <eggert@twinsun.com>
3680
3681         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3682         (jm_PREREQ): Use it.
3683
3684 2001-09-03  Paul Eggert  <eggert@twinsun.com>
3685
3686         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3687         sys/param.h, as pathmax.h includes them.
3688
3689 2001-09-03  Paul Eggert  <eggert@twinsun.com>
3690
3691         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3692         (jm_PREREQ_XGETCWD): New macro.
3693
3694         * getcwd.m4: New file.
3695
3696 2001-09-01  Jim Meyering  <meyering@lucent.com>
3697
3698         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3699         Used by df.
3700
3701 2001-08-30  Paul Eggert  <eggert@twinsun.com>
3702
3703         Simplify code, partly by assuming autoconf 2.52 semantics.
3704
3705         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3706
3707         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3708         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3709         All uses removed.
3710         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3711         Move AC_REQUIRE to next-to-top level, to avoid confusion.
3712         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3713         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3714         * jm-macros.m4 (jm_MACROS): Likewise.
3715
3716         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3717
3718         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3719         Quote first arg of AC_DEFUN.
3720         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3721         since they are needed to parse the include file even if we need
3722         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
3723         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3724         but with opposite signedness.
3725
3726 2001-08-30  Paul Eggert  <eggert@twinsun.com>
3727
3728         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3729         (jm_PREREQ_EXCLUDE): New macro.
3730
3731 2001-08-26  Jim Meyering  <meyering@lucent.com>
3732
3733         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3734
3735         * xstrtoimax.m4: New file.
3736         * xstrtoumax.m4: Add comments explaining why we
3737         AC_REPLACE_FUNCS(strtol).
3738
3739 2001-06-20  Paul Eggert  <eggert@twinsun.com>
3740
3741         * inttypes.m4: Add AC_PREREQ(2.13).
3742         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3743         (jm_AC_TYPE_INTMAX_T): New macro.
3744         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3745
3746         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3747
3748         * longlong.m4: Renamed from ulonglong.m4.
3749         * inttypes.m4: Renamed from inttypes_h.m4.
3750         * uintmax_t.m4: Removed.
3751
3752 2001-08-12  Jim Meyering  <meyering@lucent.com>
3753
3754         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3755         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3756         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3757         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3758         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3759         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3760         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3761         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3762         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3763         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3764         utime.m4, utimes.m4, xstrtoumax.m4:
3765         Quote the first argument in each use of AC_DEFUN.
3766
3767 2001-08-05  Jim Meyering  <meyering@lucent.com>
3768
3769         * jm-macros.m4: Require autoconf-2.52.
3770
3771 2001-08-03  Paul Eggert  <eggert@twinsun.com>
3772
3773         The following changes are from gettext 0.10.39 as maintained by
3774         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3775
3776         * codeset.m4: Upgrade to serial AM1.
3777         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3778         all uses changed.  Quote first arg of AC_DEFUN.
3779         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3780
3781         * iconv.m4: Upgrade to serial AM2.
3782         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3783         Add --with-libconv-prefix.
3784         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
3785         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3786         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3787         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3788         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3789
3790         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3791         * getline.m4 (AM_FUNC_GETLINE): Likewise.
3792         * glibc21.m4 (jm_GLIBC21): Likewise.
3793         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3794         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3795         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3796         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3797         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3798         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3799
3800         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3801         string.h any more.
3802
3803         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3804         not the default value.
3805
3806         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
3807         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3808         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
3809         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3810         Also check for iswcntrl, used for wcwidth fallback.
3811         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3812         to Autoconf 2.13.
3813
3814 2001-08-03  Jim Meyering  <meyering@lucent.com>
3815
3816         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3817         as it was in the original.  Reported by Paul Eggert.
3818
3819 2001-07-16  Jim Meyering  <meyering@lucent.com>
3820
3821         * gettimeofday.m4: New file.
3822         Prompted by a report from Bernhard Baehr.
3823
3824 2001-07-15  Jim Meyering  <meyering@lucent.com>
3825
3826         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3827         Now it's in ../Makefile.cfg.
3828
3829 2001-07-04  Jim Meyering  <meyering@lucent.com>
3830
3831         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
3832         that generates jm-glibc-io.m4 so that it doesn't trigger any make
3833         distcheck failure.
3834
3835 2001-07-02  Jim Meyering  <meyering@lucent.com>
3836
3837         The following changes were prompted by suggestions from Bruno Haible.
3838
3839         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3840         is now generated.
3841         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3842         definition of EXTRA_DIST.
3843         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3844         ensure that the generated file is created/updated whenever the list
3845         of $(unlocked_functions) is changed.
3846         (jm-glibc-io.m4): New rule.
3847         (unlocked-io.h): New rule -- currently unused.
3848
3849 2001-06-24  Jim Meyering  <meyering@lucent.com>
3850
3851         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3852         unmatched right bracket, rather than kludging it with an extra,
3853         falsely-matching quote in a comment.  Patch by Akim Demaille.
3854
3855 2001-05-27  Jim Meyering  <meyering@lucent.com>
3856
3857         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3858         Check for ut_type in struct utmp.
3859
3860 2001-05-22  Jim Meyering  <meyering@lucent.com>
3861
3862         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3863         now that we use the package-supplied version unconditionally.
3864         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3865
3866 2001-05-21  Jim Meyering  <meyering@lucent.com>
3867
3868         * regex.m4: Change a couple backticks to single quotes to avoid shell
3869         syntax errors.
3870
3871 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
3872
3873         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3874
3875 2001-05-11  Paul Eggert  <eggert@twinsun.com>
3876
3877         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3878         Don't bother to check library strftime, since
3879         we'll be using our own my_strftime function anyway.
3880         Define my_strftime instead of strftime.
3881
3882 2001-05-15  Jim Meyering  <meyering@lucent.com>
3883
3884         * regex.m4: Use proper quoting so brackets appear in the test program.
3885         Reported by, and with help from, Bruno Haible.
3886
3887 2001-05-13  Jim Meyering  <meyering@lucent.com>
3888
3889         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3890
3891 2000-11-26  Paul Eggert  <eggert@twinsun.com>
3892
3893         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3894
3895 2001-04-21  Jim Meyering  <meyering@lucent.com>
3896
3897         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3898         doesn't interfere.
3899
3900 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
3901
3902         * ftruncate.m4: Check for chsize.
3903         Link with ftruncate.o unconditionally if ftruncate is missing.
3904         This was required when cross-compiling to i586-mingw32msvc.
3905
3906 2001-03-24  Jim Meyering  <meyering@lucent.com>
3907
3908         * jm-macros.m4: Require autoconf-2.49d.
3909
3910 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
3911
3912         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3913
3914 2001-03-17  Jim Meyering  <meyering@lucent.com>
3915
3916         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3917         now that the version in autoconf is equivalent.
3918         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3919
3920         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
3921         Suggestion from Akim Demaille.
3922
3923         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
3924         (jm_PREREQ_TEMPNAME): New function.
3925
3926 2001-02-25  Paul Eggert  <eggert@twinsun.com>
3927
3928         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
3929         lacks mkstemp.  Compile our own tempname.c if we compile our own
3930         mkstemp.c, as mkstemp relies on tempname.
3931
3932 2001-03-01  Jim Meyering  <meyering@lucent.com>
3933
3934         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
3935         AH_VERBATIM really does output its argument verbatim.
3936
3937 2001-02-18  Paul Eggert  <eggert@twinsun.com>
3938
3939         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
3940
3941 2001-02-17  Jim Meyering  <meyering@lucent.com>
3942
3943         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
3944         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
3945         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
3946         UnixWare 7.1.1.
3947
3948         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
3949         rather than AC_CACHE_VAL.
3950
3951 2001-02-17  Paul Eggert  <eggert@twinsun.com>
3952
3953         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
3954         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
3955         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
3956         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3957
3958 2001-02-07  Jim Meyering  <meyering@lucent.com>
3959
3960         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
3961
3962 2001-02-05  Jim Meyering  <meyering@lucent.com>
3963
3964         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
3965         it includes the patch required for `large file' support with at least
3966         HP-UX's 10.20 /bin/cc.
3967
3968 2001-02-03  Jim Meyering  <meyering@lucent.com>
3969
3970         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
3971         AS_IF, now that it works once again (mysteriously).
3972         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3973
3974 2001-01-30  Jim Meyering  <meyering@lucent.com>
3975
3976         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
3977         * chown.m4: Rename conftestchown to conftest.chown.
3978         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
3979         * utimes.m4: s/conftestdata/conftest.data/
3980         Inspired by Pavel Roskin's change in autoconf.
3981
3982 2001-01-27  Jim Meyering  <meyering@lucent.com>
3983
3984         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
3985         a use of AS_IF.
3986         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3987
3988 2001-01-26  Jim Meyering  <meyering@lucent.com>
3989
3990         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
3991         quotearg.c includes it.
3992
3993 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
3994
3995         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
3996         has const.
3997
3998 2001-01-20  Jim Meyering  <meyering@lucent.com>
3999
4000         Be sure that headers are checked before used in code compiled
4001         for the type checks.
4002         * jm-macros.m4 (jm_MACROS): Remove all header checks.
4003         In place of that, invoke jm_CHECK_ALL_TYPES.
4004         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4005         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4006         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4007         The check for ssize_t was mistakenly run before the test for unistd.h.
4008
4009         The configure-time check for stdbool.h was missing.
4010         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4011         (jm_PREREQ_HASH): New function.
4012
4013 2001-01-17  Jim Meyering  <meyering@lucent.com>
4014
4015         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4016         for autoconf-2.49c.
4017         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4018
4019 2001-01-14  Jim Meyering  <meyering@lucent.com>
4020
4021         * rename.m4: Use temporary directories named conftestdir{,2}, not
4022         foo and bar.  Create conftestdir/ in the script, not in the C code.
4023         Remove directories in the script, not in the C code.
4024         Remove conftestdir{,2} before trying to create the directory.
4025         Make the entire configure script fail if the mkdir fails.
4026
4027 2001-01-02  Volker Borchert  <bt@teknon.de>
4028
4029         * rename.m4: New file.
4030         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4031
4032 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
4033
4034         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4035         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4036         so `make install' also works in VPATH builds.
4037
4038 2001-01-01  Jim Meyering  <meyering@lucent.com>
4039
4040         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4041         on systems with utmpx.h.  It's necessary for the declaration of utmp's
4042         ut_user member.  Reported by Andreas Jaeger.
4043
4044         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4045         They are required for the declarations of getgrgid and getpwuid resp.
4046         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4047         Reported by Andreas Jaeger.
4048
4049 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
4050
4051         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4052         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4053         can be used in subdirectories.
4054
4055 2000-12-26  Jim Meyering  <meyering@lucent.com>
4056
4057         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4058         with autoheader.
4059
4060 2000-12-17  Jim Meyering  <meyering@lucent.com>
4061
4062         * dos.m4 (jm_AC_DOS): New file and macro.
4063         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4064
4065 2000-12-06  Paul Eggert  <eggert@twinsun.com>
4066
4067         * off_t-format.m4: Remove this file.
4068         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4069
4070 2000-12-06  Jim Meyering  <meyering@lucent.com>
4071
4072         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4073         strtoull, we may well need the replacement strtoul, too.
4074         Check for declarations of strtoul and strtoull.
4075         Check for strtol.  Mainly as a cue to cause automake to include
4076         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4077         Check for limits.h -- strtol.c needs it.
4078
4079 2000-12-02  Jim Meyering  <meyering@lucent.com>
4080
4081         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4082         * jm-macros.m4 (jm_MACROS): require it.
4083
4084 2000-11-30  Jim Meyering  <meyering@lucent.com>
4085
4086         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4087
4088 2000-11-30  Jim Meyering  <meyering@lucent.com>
4089
4090         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4091
4092 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
4093
4094         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4095
4096 2000-11-04  Jim Meyering  <meyering@lucent.com>
4097
4098         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4099
4100 2000-10-29  Jim Meyering  <meyering@lucent.com>
4101
4102         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4103         * ls-mntd-fs.m4: Likewise
4104
4105 2000-10-28  Jim Meyering  <meyering@lucent.com>
4106
4107         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4108         (jm_PREREQ_MEMCHR): New function.
4109
4110 2000-10-21  Jim Meyering  <meyering@lucent.com>
4111
4112         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4113         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4114         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4115
4116 2000-09-18  Jim Meyering  <meyering@lucent.com>
4117
4118         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4119         Otherwise, everyone ends up linking with -lelf for some configurations.
4120         Reported by Mike Stone.
4121
4122 2000-08-26  Jim Meyering  <meyering@lucent.com>
4123
4124         * jm-macros.m4: Use jm_FUNC_FPENDING.
4125         * fpending.m4: New file.
4126
4127 2000-08-20  Jim Meyering  <meyering@lucent.com>
4128
4129         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4130         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
4131         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
4132
4133 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
4134
4135         Improve fileutils installation on systems where running
4136         programs (like install) can't be unlinked.
4137         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4138         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4139
4140 2000-08-06  Paul Eggert  <eggert@twinsun.com>
4141
4142         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4143         not char, for compatibility with glibc 2.1.3 strftime.c.
4144
4145 2000-07-23  Paul Eggert  <eggert@twinsun.com>
4146
4147         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4148
4149 2000-07-23  Jim Meyering  <meyering@lucent.com>
4150
4151         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4152         getgrgid, getpwuid, getuid.
4153
4154 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
4155
4156         * mbswidth.m4: New file.
4157         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4158
4159 2000-07-14  Jim Meyering  <meyering@lucent.com>
4160
4161         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4162
4163 2000-07-10  Paul Eggert  <eggert@twinsun.com>
4164
4165         From a suggestion by Bruno Haible.
4166         * mbstate_t.m4 (AC_MBSTATE_T):
4167         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
4168         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4169         and mbstate_t, to a single-part test that simply defines mbstate_t.
4170         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4171
4172 2000-07-10  Jim Meyering  <meyering@lucent.com>
4173
4174         * strerror_r.m4: Mirror the correction made in autoconf.
4175
4176         * gnu-source.m4: Output to confdefs.h directly.
4177         Suggestion from Akim Demaille.
4178
4179 2000-07-09  Jim Meyering  <meyering@lucent.com>
4180
4181         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4182         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
4183
4184         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4185         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4186
4187 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
4188
4189         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4190         to strerror_r.
4191         Include <ctype.h> for use of isalpha.
4192
4193 2000-07-05  Paul Eggert  <eggert@twinsun.com>
4194         and Bruno Haible  <haible@clisp.cons.org>
4195
4196         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4197         only if the test for an object-type mbstate_t fails.  This
4198         prevents us from mistakenly reporting that mbstate_t is a
4199         system object type after we "#define mbstate_t int" to work
4200         around its lack.
4201
4202 2000-07-04  Jim Meyering  <meyering@lucent.com>
4203
4204         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4205         of the deprecated AC_CHECKING.
4206
4207 2000-07-03  Jim Meyering  <meyering@lucent.com>
4208
4209         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4210
4211 2000-07-03  Paul Eggert  <eggert@twinsun.com>
4212
4213         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4214         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4215
4216 2000-07-02  Jim Meyering  <meyering@lucent.com>
4217
4218         * mbstate_t.m4: Also define mbstate_t, if necessary.
4219
4220         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4221         AC_LIBOBJ(function_name).
4222         * chown.m4: Likewise.
4223         * fnmatch.m4: Likewise.
4224         * ftruncate.m4: Likewise.
4225         * getgroups.m4: Likewise.
4226         * getline.m4: Likewise.
4227         * group-member.m4: Likewise.
4228         * jm-macros.m4: Likewise.
4229         * lstat.m4: Likewise.
4230         * malloc.m4: Likewise.
4231         * memcmp.m4: Likewise.
4232         * nanosleep.m4: Likewise.
4233         * putenv.m4: Likewise.
4234         * realloc.m4: Likewise.
4235         * regex.m4: Likewise.
4236         * stat.m4: Likewise.
4237         * strftime.m4: Likewise.
4238
4239 2000-07-01  Jim Meyering  <meyering@lucent.com>
4240
4241         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4242         problem.
4243
4244 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
4245
4246         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4247         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4248
4249 2000-07-01  Jim Meyering  <meyering@lucent.com>
4250
4251         * uptime.m4: Put double quotes around use of $cross_compiling.
4252
4253 2000-06-28  Jim Meyering  <meyering@lucent.com>
4254
4255         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
4256         by quotearg.c, for which we perform this test.  From Bruno Haible.
4257
4258 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
4259
4260         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4261         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4262         <utmpx.h> exists, put readutmp.o into LIBOBJS.
4263
4264 2000-06-25  Jim Meyering  <meyering@lucent.com>
4265
4266         * mbstate_t.m4: Include stdio.h before wchar.h to work around
4267         Linux header bug when _XOPEN_SOURCE is defined to 500.
4268
4269 2000-06-24  Jim Meyering  <meyering@lucent.com>
4270
4271         * strerror_r.m4: Revive this file -- to try out an experimental
4272         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4273         for which strerror does return char*, but which lacks a conveniently
4274         accessible declaration of the function.  If the compile-test says
4275         strerror_r doesn't work, then resort to a `run'-test that works on
4276         BeOS and segfaults on DEC Unix.
4277
4278 2000-06-19  Paul Eggert  <eggert@twinsun.com>
4279
4280         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4281         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
4282
4283 2000-06-23  Jim Meyering  <meyering@lucent.com>
4284
4285         * afs.m4: Add missing AC_MSG_RESULT.
4286         Reported by Bruno Haible.
4287
4288         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4289         Suggestion from Bruno Haible.
4290
4291 2000-06-21  Jim Meyering  <meyering@lucent.com>
4292
4293         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4294
4295 2000-06-18  Jim Meyering  <meyering@lucent.com>
4296
4297         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4298
4299         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4300         `checking whether...' message to be consistent with that of the
4301         lstat test.
4302
4303 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
4304
4305         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4306
4307 2000-06-12  Jim Meyering  <meyering@lucent.com>
4308
4309         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4310         from autoconf, and tweak the latter to accept an optional argument.
4311         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4312         the optional argument, `lib'.
4313
4314 2000-06-08  Jim Meyering  <meyering@lucent.com>
4315
4316         * largefile.m4: Remove file (now that it's part of autoconf).
4317
4318 2000-06-04  Paul Eggert  <eggert@twinsun.com>
4319
4320         Rewrite largefile configuration so that we don't need to run
4321         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
4322         AC_CANONICAL_HOST in configure.in -- jmm]
4323
4324         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4325         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4326         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4327         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4328         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4329         All uses changed.
4330         Instead of inspecting the output of getconf, try to compile the
4331         test program without and with the macro definition.
4332         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4333         for getconf.  Instead, check for the needed flags by compiling
4334         test programs.
4335
4336 2000-06-03  Jim Meyering  <meyering@lucent.com>
4337
4338         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4339         now that autoconf requires that.
4340
4341         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4342         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4343         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4344
4345 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
4346
4347         * glibc21.m4: New file.
4348         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4349
4350 2000-05-28  Jim Meyering  <meyering@lucent.com>
4351
4352         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4353         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4354         * stat.m4: Likewise.
4355         * lstat.m4: Likewise.
4356         * lstat-slash.m4: Remove file (absorbed into autoconf).
4357
4358         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4359         * strerror_r.m4: Remove file (absorbed into autoconf).
4360
4361 2000-05-26  Jim Meyering  <meyering@lucent.com>
4362
4363         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4364
4365 2000-05-24  Jim Meyering  <meyering@lucent.com>
4366
4367         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4368         autoconf requires that.
4369         * lib-check.m4: Likewise.
4370         * jm-macros.m4: Likewise.
4371         * strftime.m4: Likewise.
4372
4373         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4374         now that autoconf requires that.
4375
4376 2000-05-22  Jim Meyering  <meyering@lucent.com>
4377
4378         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4379         * lstat.m4: Likewise.
4380
4381 2000-05-20  Jim Meyering  <meyering@lucent.com>
4382
4383         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4384         (jm_PREREQ): Use it.
4385
4386 2000-05-09  Jim Meyering  <meyering@lucent.com>
4387
4388         * gettext.m4: Rename this...
4389         * libintl.m4: ...to this.
4390
4391 2000-05-06  Jim Meyering  <meyering@lucent.com>
4392
4393         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4394         (AC_REPLACE_FUNCS): Add strnlen.
4395
4396         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4397         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4398
4399         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4400         AC_SEARCH_LIBS call for nanosleep.
4401         (LIB_NANOSLEEP): Set and AC_SUBST.
4402
4403 2000-05-03  Paul Eggert  <eggert@twinsun.com>
4404
4405         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4406         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4407         2.1.3 bug.  This avoids a clash when files like regex.c define
4408         _GNU_SOURCE.
4409
4410 2000-05-05  Jim Meyering  <meyering@lucent.com>
4411
4412         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4413         call for clock_gettime.
4414         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4415
4416         * search-libs.m4: Update from autoconf.
4417
4418         su doesn't work on Solaris 2.6.
4419         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4420         <shadow.h>.  Reported by Dragos Harabor.
4421
4422 2000-05-03  Jim Meyering  <meyering@lucent.com>
4423
4424         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4425
4426 2000-05-02  Paul Eggert  <eggert@twinsun.com>
4427
4428         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4429         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
4430         compile-time test, rather than inspecting host and OS, to
4431         decide whether to define _LARGEFILE_SOURCE.
4432
4433 2000-05-01  Jim Meyering  <meyering@lucent.com>
4434
4435         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4436
4437         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4438         Based on a patch from Bruno Haible.
4439
4440 2000-04-18  Jim Meyering  <meyering@lucent.com>
4441
4442         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4443         (jm_PREREQ): Use it.
4444
4445 2000-04-17  Jim Meyering  <meyering@lucent.com>
4446
4447         Get it right :-)
4448         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4449         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
4450         Suggestion from Akim Demaille.
4451
4452 2000-04-14  Jim Meyering  <meyering@lucent.com>
4453
4454         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4455         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4456
4457 2000-04-13  Jim Meyering  <meyering@lucent.com>
4458
4459         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4460         to insert required #ifndef into config.h.in.
4461         Suggestion from Akim Demaille.
4462
4463 2000-04-12  Jim Meyering  <meyering@lucent.com>
4464
4465         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4466         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
4467         Christian Krackowizer.
4468
4469         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4470         * jm-macros.m4 (_GNU_SOURCE): Define.
4471         (AC_SYS_LARGEFILE): Require.
4472         (AM_C_PROTOTYPES): Require.
4473
4474 2000-04-05  Paul Eggert  <eggert@twinsun.com>
4475
4476         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4477         IRIX if the installer said otherwise.
4478
4479 2000-04-05  Jim Meyering  <meyering@lucent.com>
4480
4481         Portability tweaks required for ultrix4.3.
4482         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4483         (jm_CHECK_DECLS): Add getutent to the list of functions.
4484         (_jm_DECL_HEADERS): Add utmpx.h.
4485         From John David Anglin.
4486
4487         * strftime.m4: Back out the 2000-04-02 change.
4488         Instead of that change, simply undefine putenv in the test program.
4489
4490 2000-04-03  Jim Meyering  <meyering@lucent.com>
4491
4492         * gettext.m4: Fix typo in comment.
4493
4494         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4495         textutils/configure.in).  Suggestion from Paul Eggert.
4496         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
4497
4498 2000-04-02  Paul Eggert  <eggert@twinsun.com>
4499
4500         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4501         variable in the shell rather than using putenv, which isn't
4502         portable.  This avoids the configure-time inter-test dependency
4503         on the potentially-renamed putenv function.
4504
4505 2000-03-30  Paul Eggert  <eggert@twinsun.com>
4506
4507         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4508         before checking struct stat.st_blksize, so that
4509         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4510
4511 2000-03-29  Paul Eggert  <eggert@twinsun.com>
4512
4513         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4514         since strftime.c uses HAVE_STRFTIME to decide whether to use
4515         the underlying strftime.
4516
4517 2000-03-10  Jim Meyering  <meyering@lucent.com>
4518
4519         * lib-check.m4: Look for getspnam in -lgen, too.
4520         From Marco Franzen.
4521
4522 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
4523
4524         * codeset.m4: New file.
4525         * iconv.m4: New file.
4526         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4527
4528 2000-03-04  Jim Meyering  <meyering@lucent.com>
4529
4530         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4531         for lib/localcharset.c.
4532
4533 2000-03-03  Jim Meyering  <meyering@lucent.com>
4534
4535         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4536
4537 2000-03-02  Jim Meyering  <meyering@lucent.com>
4538
4539         * timespec.m4: Require AC_HEADER_TIME before the cache check so
4540         the messages come out on separate lines.
4541
4542         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4543         rather than jm_CHECK_DECLARATIONS.
4544         * decl.m4: Remove now-unused file.
4545
4546         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4547
4548 2000-02-27  Jim Meyering  <meyering@lucent.com>
4549
4550         * check-decl.m4: Add getenv to the list.
4551
4552 2000-02-23  Jim Meyering  <meyering@lucent.com>
4553
4554         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4555         in place of my hack.
4556
4557 2000-02-10  Jim Meyering  <meyering@lucent.com>
4558
4559         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4560         gnu_nanosleep to rpl_nanosleep.
4561
4562 2000-02-09  Jim Meyering  <meyering@lucent.com>
4563
4564         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4565         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
4566
4567 2000-02-08  Akim Demaille  <akim@epita.fr>
4568
4569         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4570         `[' and `]' and remove uses of `changequote'.
4571         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4572         (AC_SYS_LARGEFILE): Likewise.
4573         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4574         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4575         of changequote.
4576         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4577         * readdir.m4 (jm_FUNC_READDIR): Likewise
4578         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4579         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4580
4581 2000-02-05  Jim Meyering  <meyering@lucent.com>
4582
4583         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4584         Remove explicit use of AC_HEADER_TIME.  It is required by
4585         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
4586         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4587         in autoconf whereby the expansion of the latter ended up preceding
4588         the expansion of its prerequisite, AC_HEADER_TIME.
4589         Reported by Volker Borchert.
4590
4591 2000-02-03  Jim Meyering  <meyering@lucent.com>
4592
4593         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4594
4595 2000-02-02  Jim Meyering  <meyering@lucent.com>
4596
4597         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4598         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4599         Reported by Eli Zaretskii.
4600
4601 2000-01-31  Jim Meyering  <meyering@lucent.com>
4602
4603         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4604         functions.  Add the time.h and sys/time.h headers along with the
4605         AC_REQUIRE'ment of AC_HEADER_TIME.
4606
4607 2000-01-30  Jim Meyering  <meyering@lucent.com>
4608
4609         * lib-check.m4: Clean up some kludgy old shadow password tests.
4610
4611         * prereq.m4 (utmp_includes): Define.
4612         Check for ut_user and ut_name members in both struct utmpx
4613         and struct utmp.
4614
4615 2000-01-29  Jim Meyering  <meyering@lucent.com>
4616
4617         * lib-check.m4: New file containing library-related checks from
4618         fileutils and sh-utils (textutils had none).
4619
4620 2000-01-28  Jim Meyering  <meyering@lucent.com>
4621
4622         * perl.m4: Change format of warning message to look more like that
4623         from the missing script.  Suggestion from François Pinard.
4624
4625 2000-01-25  Jim Meyering  <meyering@lucent.com>
4626
4627         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4628         as time.h in the compile check.
4629         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4630         Fix typo in cross-compiling case: s/yes/no/.
4631
4632 2000-01-23  Jim Meyering  <meyering@lucent.com>
4633
4634         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4635
4636         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4637         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4638
4639         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
4640         s/space/ac_fsusage_space/.
4641         (jm_FILE_SYSTEM_USAGE): Take two parameters.
4642
4643         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4644         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4645         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4646
4647         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4648         AC_SUBST these here, rather than just in sh-util/configure.in, so
4649         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4650         all the same.
4651         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4652         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4653         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4654         (AC_SUBST(POW_LIBM)): Likewise.
4655         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4656
4657 2000-01-22  Jim Meyering  <meyering@lucent.com>
4658
4659         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4660
4661         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4662
4663         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4664         configure.in
4665         (AC_CHECK_HEADERS): Likewise for sh-utils.
4666         (AC_CHECK_HEADERS): Likewise for textutils.
4667         Merge the three lists of headers.
4668
4669         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
4670         from fileutils' configure.in.
4671
4672         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4673         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4674
4675         * check-decl.m4: Use #if rather than #ifdef.
4676         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4677         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4678         (_jm_DECL_HEADERS): Define new function.
4679         (jm_CHECK_DECLARATIONS): Require it.
4680
4681 2000-01-19  Jim Meyering  <meyering@lucent.com>
4682
4683         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4684         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
4685         defines `struct timespec' in <sys/time.h>
4686
4687         * c-bs-a.m4: Remove uses of changequote altogether.
4688         Thanks to Akim for explaining.
4689
4690 2000-01-16  Jim Meyering  <meyering@lucent.com>
4691
4692         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4693         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4694         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4695         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4696
4697 2000-01-16  Jim Meyering  <meyering@lucent.com>
4698
4699         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4700         because the latter didn't work.
4701
4702 2000-01-15  Jim Meyering  <meyering@lucent.com>
4703
4704         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4705         (AC_REPLACE_FUNCS): Add memcpy and memset.
4706         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4707         Add strpbrk.
4708         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4709
4710 2000-01-12  Jim Meyering  <meyering@lucent.com>
4711
4712         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4713         (jm_PREREQ): Use it.
4714         (jm_PREREQ_READUTMP): New macro.
4715         (jm_PREREQ): Use it.
4716
4717 2000-01-11  Paul Eggert  <eggert@twinsun.com>
4718
4719         Quote multibyte characters correctly.
4720         * c-bs-a.m4: New file.
4721         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4722         (jm_PREREQ): Use it.
4723
4724 2000-01-11  Paul Eggert  <eggert@twinsun.com>
4725
4726         * uintmax_t.m4: Port to autoconf 2.13.
4727
4728 2000-01-08  Jim Meyering  <meyering@ascend.com>
4729
4730         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4731         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4732
4733 2000-01-04  Jim Meyering  <meyering@ascend.com>
4734
4735         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4736         jm_STRUCT_DIRENT_D_TYPE.
4737         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4738         jm_STRUCT_DIRENT_D_INO.
4739         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4740         jm_STRUCT_UTIMBUF.
4741         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4742         * utime.m4: Likewise.
4743
4744         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4745         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4746
4747 2000-01-03  Paul Eggert  <eggert@twinsun.com>
4748
4749         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4750         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4751
4752 2000-01-02  Jim Meyering  <meyering@ascend.com>
4753
4754         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
4755         remember if this is necessary.
4756
4757 1999-12-26  Jim Meyering  <meyering@ascend.com>
4758
4759         * jm-macros.m4: Use it here.
4760         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4761
4762 1999-12-23  Jim Meyering  <meyering@ascend.com>
4763
4764         * jm-macros.m4: Check for clock_gettime (moved from
4765         fileutils/configure.in)
4766         Check for gettimeofday.
4767
4768 1999-12-20  Jim Meyering  <meyering@ascend.com>
4769
4770         * strftime.m4: Remove kludge, now that I'm using the fixed
4771         autoconf-2.14a-1999-12-20.
4772
4773 1999-12-19  Jim Meyering  <meyering@ascend.com>
4774
4775         * lstat-slash.m4: New file.
4776         * jm-macros.m4: Use the new macro:
4777         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4778
4779 1999-12-07  Jim Meyering  <meyering@ascend.com>
4780
4781         * perl.m4: Require that File::Compare be available, too.
4782         Too many systems seem to lack it.
4783
4784         * strftime.m4: Add checks for most of the cpp macros tested in
4785         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
4786
4787 1999-11-18  Paul Eggert  <eggert@twinsun.com>
4788
4789         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4790         problem with the QNX 4.25 shell, which doesn't propagate exit
4791         status of failed commands inside shell assignments.
4792
4793 1999-11-17  Jim Meyering  <meyering@ascend.com>
4794
4795         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4796
4797 1999-11-07  Jim Meyering  <meyering@ascend.com>
4798
4799         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4800
4801 1999-11-06  Jim Meyering  <meyering@ascend.com>
4802
4803         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4804         * jm-macros.m4 (jm_MACROS): Use it here.
4805
4806 1999-11-05  Jim Meyering  <meyering@ascend.com>
4807
4808         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4809         of textutils, fileutils, and sh-utils into this one (shared between
4810         those packages) file.
4811         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4812         AC_STRUCT_ST_BLKSIZE.
4813
4814 1999-11-03  Jim Meyering  <meyering@ascend.com>
4815
4816         * ssize_t.m4: Remove file.  No longer needed since the new version of
4817         AC_CHECK_TYPE checks includes unistd.h.
4818         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4819         Suggestion from Akim Demaille.
4820
4821 1999-10-30  Jim Meyering  <meyering@ascend.com>
4822
4823         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
4824         m4-quoted string.
4825         * ls-mntd-fs.m4: Likewise.
4826         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
4827         * jm-winsz1.m4: Likewise.
4828
4829         * const.m4: Remove file, since the fix made it into the experimental
4830         version of autoconf.
4831         * mktime.m4: Likewise.
4832
4833         * check-type.m4: Remove file, now that the latest version of
4834         AC_CHECK_TYPE takes a third arg to specify additional #includes.
4835
4836         * ssize_t.m4: New file, requires experimental version of autoconf.
4837         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4838         AC_CHECK_TYPE.
4839
4840 1999-10-04  Jim Meyering  <meyering@ascend.com>
4841
4842         * jm-macros.m4: Don't require autoconf-2.14.1.
4843
4844 1999-09-22  Paul Eggert  <eggert@twinsun.com>
4845
4846         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4847         2.95.1 bug with HP-UX 10.20.
4848
4849 1999-09-17  Jim Meyering  <meyering@ascend.com>
4850
4851         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4852         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4853         due to missing strdup (against sh-utils-2.0).
4854
4855 1999-08-29  Jim Meyering  <meyering@ascend.com>
4856
4857         * jm-macros.m4: Require jm_BISON.
4858         * bison.m4: New file.
4859
4860 1999-08-17  Paul Eggert  <eggert@twinsun.com>
4861
4862         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4863         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4864
4865 1999-08-05  Jim Meyering  <meyering@ascend.com>
4866
4867         * getline.m4: Rename test file from conftestdata to conftest.data
4868         to avoid conflicts with `conftest' on 8+3 filesystems.
4869         Suggestion from Eli Zaretskii.
4870
4871 1999-08-04  Jim Meyering  <meyering@ascend.com>
4872
4873         * jm-macros.m4: Move a 4-line block of code from the configure.in of
4874         fileutils and sh-utils (textutils's getline test was inadequate).
4875         (AM_FUNC_GETLINE): Run this test.
4876         (AC_CHECK_FUNCS): Check for getdelim.
4877         Reported by Bob Proulx.
4878
4879 1999-08-02  Jim Meyering  <meyering@ascend.com>
4880
4881         * jm-macros.m4: Add a comment.
4882
4883 1999-08-01  Jim Meyering  <meyering@ascend.com>
4884
4885         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4886
4887 1999-08-01  Paul Eggert  <eggert@twinsun.com>
4888
4889         * lfs.m4: Remove this file.
4890         * largefile.m4: New file.  It contains the old contents of
4891         lfs.m4, except that all names with prefix AC_LFS have been
4892         changed to use the prefix AC_SYS_LARGEFILE instead, to be
4893         compatible with future autoconf versions.  Also, some minor m4
4894         quoting problems have been fixed.
4895
4896 1999-07-16  Paul Eggert  <eggert@twinsun.com>
4897
4898         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4899         that we can shift, multiply and divide unsigned long long
4900         values; Ultrix cc can't do it.
4901
4902 1999-07-14  Paul Eggert  <eggert@twinsun.com>
4903
4904         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4905         <inttypes.h> defines strtoumax as a macro (and not as a
4906         function).
4907
4908 1999-07-05  Paul Eggert  <eggert@twinsun.com>
4909
4910         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4911         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4912         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4913         and simplify the shell code.
4914
4915 1999-07-03  Paul Eggert  <eggert@twinsun.com>
4916
4917         * mktime.m4: New file, which is a preview of what should appear
4918         in the next public autoconf release.
4919
4920 1999-07-20  Jim Meyering  <meyering@ascend.com>
4921
4922         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
4923
4924 1999-07-15  Jim Meyering  <meyering@ascend.com>
4925
4926         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
4927
4928 1999-05-22  Jim Meyering  <meyering@ascend.com>
4929
4930         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
4931
4932 1999-05-20  Jim Meyering  <meyering@ascend.com>
4933
4934         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
4935         Add a colon after each `then' in case $4 is empty.
4936
4937 1999-05-16  Jim Meyering  <meyering@ascend.com>
4938
4939         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
4940
4941 1999-05-10  Jim Meyering  <meyering@ascend.com>
4942
4943         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
4944
4945         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
4946         AC_FUNC_MKTIME.
4947
4948 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4949
4950         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
4951
4952 1999-05-04  Paul Eggert  <eggert@twinsun.com>
4953
4954         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
4955         not CPPFLAGS, so that linking works correctly in IRIX.
4956
4957 1999-04-30  Paul Eggert  <eggert@twinsun.com>
4958
4959         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
4960
4961 1999-04-20  Jim Meyering  <meyering@ascend.com>
4962
4963         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
4964         AC_REPLACE xstroull if necessary.  From Paul Eggert.
4965         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
4966
4967 1999-04-20  Paul Eggert  <eggert@twinsun.com>
4968
4969         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
4970         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
4971         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
4972         jm_AC_TYPE_UNSIGNED_LONG_LONG.
4973         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
4974
4975         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
4976
4977 1999-04-18  Jim Meyering  <meyering@ascend.com>
4978
4979         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
4980         * jm-macros.m4: Use it.
4981
4982 1999-04-06  Jim Meyering  <meyering@ascend.com>
4983
4984         * strftime.m4: Remove test for %f.
4985
4986 1999-03-29  Jim Meyering  <meyering@ascend.com>
4987
4988         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
4989         superset of the AC_TYPE_* checks in the textutils, fileutils,
4990         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
4991         AC_TYPE_PID_T.
4992
4993 1999-03-28  Jim Meyering  <meyering@ascend.com>
4994
4995         * jm-macros.m4: Define GNU_PACKAGE here.
4996         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
4997         replaced e.g., in the *.sh files of the sh-utils.
4998
4999 1999-03-20  Jim Meyering  <meyering@ascend.com>
5000
5001         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5002         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5003         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
5004
5005 1999-03-19  Jim Meyering  <meyering@ascend.com>
5006
5007         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5008
5009 1999-03-12  Jim Meyering  <meyering@ascend.com>
5010
5011         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5012
5013 1999-03-07  Jim Meyering  <meyering@ascend.com>
5014
5015         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5016
5017 1999-02-17  Jim Meyering  <meyering@ascend.com>
5018
5019         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5020         in macro definition.  From Eli Zaretskii and Alain Magloire.
5021
5022 1999-02-07  Jim Meyering  <meyering@ascend.com>
5023
5024         * group-member.m4: New file -- extracted from sh-utils' configure.in.
5025
5026         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
5027         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5028
5029 1999-02-06  Jim Meyering  <meyering@ascend.com>
5030
5031         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5032         * fnmatch.m4: Likewise.
5033         * getgroups.m4: Likewise.
5034         * lstat.m4: Likewise.
5035         * malloc.m4: Likewise.
5036         * putenv.m4: Likewise.
5037         * realloc.m4: Likewise.
5038         * regex.m4: Likewise.
5039         * stat.m4: Likewise.
5040         * strftime.m4: Likewise.
5041         Suggestion from Alain Magloire.
5042
5043         * chown.m4: Use `.$ac_objext', not `.o'.
5044         * fnmatch.m4: Likewise.
5045         * getgroups.m4: Likewise.
5046         * getline.m4: Likewise.
5047         * lstat.m4: Likewise.
5048         * malloc.m4: Likewise.
5049         * memcmp.m4: Likewise.
5050         * putenv.m4: Likewise.
5051         * realloc.m4: Likewise.
5052         * regex.m4: Likewise.
5053         * stat.m4: Likewise.
5054         * strftime.m4: Likewise.
5055         Suggestion from Alain Magloire.
5056
5057         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5058         an argument.
5059
5060         * regex.m4: Add a run-time Test for proper operation of
5061         re_compile_pattern.
5062
5063 1999-01-31  Jim Meyering  <meyering@ascend.com>
5064
5065         * getloadavg.m4: Check for locale.h and the function, setlocale.
5066
5067 1999-01-30  Jim Meyering  <meyering@ascend.com>
5068
5069         * check-type.m4: Use 3-arg form of AC_DEFINE.
5070
5071         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5072         rather than my private copy, now that the official one is up to date.
5073         * mktime.m4: Remove file.
5074
5075         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5076         * uptime.m4: Likewise.
5077         * uintmax_t.m4: Likewise.
5078
5079 1999-01-28  Jim Meyering  <meyering@ascend.com>
5080
5081         * jm-macros.m4: Use jm_AFS.
5082         * afs.m4: New file (from fileutils' configure.in).
5083
5084         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5085         * chown.m4: Likewise.
5086         * d-ino.m4: Likewise.
5087         * d-type.m4: Likewise.
5088         * fnmatch.m4: Likewise.
5089         * getgroups.m4: Likewise.
5090         * gettext.m4: Likewise.
5091         * jm-mktime.m4: Likewise.
5092         * jm-winsz2.m4: Likewise.
5093         * lcmessage.m4: Likewise.
5094         * ls-mntd-fs.m4: Likewise.
5095         * malloc.m4: Likewise.
5096         * memcmp.m4: Likewise.
5097         * putenv.m4: Likewise.
5098         * realloc.m4: Likewise.
5099         * st_mtim.m4: Likewise.
5100         * strftime.m4: Likewise.
5101
5102 1999-01-16  Jim Meyering  <meyering@ascend.com>
5103
5104         * jm-macros.m4 (ARGMATCH_DIE): Define.
5105         (ARGMATCH_DIE_DECL): Define.
5106
5107 1999-01-12  Jim Meyering  <meyering@ascend.com>
5108
5109         * Makefile.am.in: Rewrite to avoid using fmt.
5110         Reported by Lars Hecking.
5111
5112 1999-01-10  Jim Meyering  <meyering@ascend.com>
5113
5114         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5115         gross kludge.
5116         * inttypes_h.m4: Likewise.
5117         * lstat.m4: Likewise.
5118         * malloc.m4: Likewise.
5119         * readdir.m4: Likewise.
5120         * realloc.m4: Likewise.
5121         * st_dm_mode.m4: Likewise.
5122         * stat.m4: Likewise.
5123         * utimbuf.m4: Likewise.
5124         * utimes.m4: Likewise.
5125
5126         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5127         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
5128         comments in config.h.in are meaningful.
5129
5130         * jm-macros.m4: Require autoconf-2.13 here.
5131
5132         * regex.m4: By default, don't use the included regex.c on systems
5133         with glibc 2.  Suggestion from Uli Drepper.
5134
5135 1999-01-02  Jim Meyering  <meyering@ascend.com>
5136
5137         * jm-macros.m4: Replace strcasecmp and strncasecmp.
5138
5139 1998-12-18  Jim Meyering  <meyering@ascend.com>
5140
5141         * Makefile.am.in (Makefile.am): Simplify rule.
5142         Based on a suggestion from Lars Hecking.
5143
5144 1998-11-16  Jim Meyering  <meyering@ascend.com>
5145
5146         * lfs.m4: Double-quote the `uname...` expression.
5147
5148 1998-11-16  Paul Eggert  <eggert@twinsun.com>
5149
5150         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5151
5152 1998-11-14  Jim Meyering  <meyering@ascend.com>
5153
5154         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
5155         * stat.m4: Likewise.
5156
5157 1998-11-03  Jim Meyering  <meyering@ascend.com>
5158
5159         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5160         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5161
5162 1998-10-18  Jim Meyering  <meyering@ascend.com>
5163
5164         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5165
5166 1998-10-17  Jim Meyering  <meyering@ascend.com>
5167
5168         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5169         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5170         calls for those previously hard-coded headers.  Instead, take a new
5171         parameter.
5172         (jm_CHECK_DECLARATIONS): Reflect interface change.
5173         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5174         (jm_CHECK_DECL_LOCALTIME_R): New macro.
5175
5176         * mktime.m4: Test for spring-forward gap before long-running test.
5177
5178 1998-10-14  Jim Meyering  <meyering@ascend.com>
5179
5180         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5181         instead of "TZ=America/Vancouver".  From Paul Eggert.
5182
5183 1998-10-11  Jim Meyering  <meyering@ascend.com>
5184
5185         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5186         This adds a test for a recently added compatibility fix for mktime.c.
5187         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5188
5189 1998-09-27  Jim Meyering  <meyering@ascend.com>
5190
5191         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5192
5193         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
5194         ../configure.in, including a change from Gordon Matzigkeit to allow
5195         cross-compiling for the Hurd.
5196
5197         * glibc.m4: New file/macro to test for the GNU C Library
5198         versions 1 and 2.  From Gordon Matzigkeit.
5199         Indent.
5200
5201 1998-09-21  Jim Meyering  <meyering@ascend.com>
5202
5203         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
5204
5205 1998-08-18  Paul Eggert  <eggert@twinsun.com>
5206
5207         Port nanosecond-resolution times to UnixWare 2.1.2 and
5208         pedantic Solaris 2.6.
5209
5210         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5211         AC_STRUCT_ST_MTIM.
5212         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5213         Generate name of ns member, instead of just 1 or undef.
5214         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5215
5216 1998-08-15  Jim Meyering  <meyering@ascend.com>
5217
5218         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5219         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
5220         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5221         instead of jm_TYPE_SSIZE_T.
5222
5223 1998-08-12  Jim Meyering  <meyering@ascend.com>
5224
5225         * st_dm_mode.m4: New file.  From Johan Danielsson.
5226
5227 1998-08-02  Jim Meyering  <meyering@ascend.com>
5228
5229         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5230         in acconfig.h manually.
5231
5232 1998-07-31  Paul Eggert  <eggert@twinsun.com>
5233
5234         * st_mtim.m4: New file.
5235
5236 1998-07-28  Jim Meyering  <meyering@ascend.com>
5237
5238         * utimes.m4: Undef stat.
5239
5240 1998-07-25  Jim Meyering  <meyering@ascend.com>
5241
5242         * utime.m4 (jm_FUNC_UTIME): New file and macro.
5243         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5244
5245 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
5246
5247         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5248         uid and gid actually remain unchanged.
5249
5250 1998-07-07  Jim Meyering  <meyering@ascend.com>
5251
5252         * jm-glibc-io.m4: Remove fclose_unlocked.
5253
5254 1998-07-04  Jim Meyering  <meyering@ascend.com>
5255
5256         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
5257         to prove that this macro can be used in packages without regex.c.
5258
5259 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5260
5261         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5262         is to be used.
5263
5264 1998-07-03  Jim Meyering  <meyering@ascend.com>
5265
5266         * gettext.m4: Add -lintl if it's found to be necessary.
5267
5268         * gettext.m4: New file -- from gettext-0.10.35.
5269         * lcmessage.m4: Likewise.
5270         * progtest.m4: Likewise.
5271
5272         * regex.m4 (jm_WITH_REGEX): New file and macro.
5273         * jm-macros.m4: Require the new macro.
5274
5275 1998-06-29  Jim Meyering  <meyering@ascend.com>
5276
5277         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
5278         for the definition of NGROUPS (used in a system header included
5279         by sys/mount.h).
5280
5281 1998-06-28  Jim Meyering  <meyering@ascend.com>
5282
5283         * ls-mntd-fs.m4: New file.
5284         * fstypename.m4: New file.
5285
5286         * jm-macros.m4: Require the new macro.
5287         * jm-glibc-io.m4: New file.
5288
5289 1998-05-19  Jim Meyering  <meyering@ascend.com>
5290
5291         * jm-macros.m4: Add jm_FUNC_LCHOWN.
5292         * lchown.m4: New file.
5293
5294         * Makefile.am.in: New file.
5295         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5296
5297 1998-05-14  Jim Meyering  <meyering@ascend.com>
5298
5299         * Makefile.am (EXTRA_DIST): Add them.
5300         * jm-macros.m4: New file.
5301         * utimbuf.m4: New file.
5302
5303 1998-05-12  Jim Meyering  <meyering@ascend.com>
5304
5305         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5306
5307 1998-05-11  Jim Meyering  <meyering@ascend.com>
5308
5309         * isc-posix.m4: New file.
5310
5311 1998-05-10  Jim Meyering  <meyering@ascend.com>
5312
5313         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5314
5315 1998-05-09  Jim Meyering  <meyering@ascend.com>
5316
5317         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5318         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5319         with automake.
5320
5321         * ssize_t.m4: New file.
5322         * mktime.m4: Remove file -- the new automake has this now.
5323
5324 1998-04-26  Jim Meyering  <meyering@ascend.com>
5325
5326         * assert.m4: New file.
5327         * Makefile.am (EXTRA_DIST): Add assert.m4.
5328
5329 1998-04-05  Jim Meyering  <meyering@ascend.com>
5330
5331         * prereq.m4 (jm_PREREQ_REGEX): New macro.
5332         (jm_PREREQ): Use it here.
5333
5334 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
5335
5336         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5337         in acconfig.h.
5338
5339 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
5340
5341         * prereq.m4: New file.
5342         * error.m4: New file.
5343         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5344
5345 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
5346
5347         * getline.m4: Don't set am_cv_func_working_getline before the
5348         cache-check for the same variable -- that defeated the purpose of
5349         the test; the test program was never run.  This was a problem only
5350         on systems with losing getline functions -- HP-UX 10.20 is one.
5351         Reported by Bjorn Helgaas.
5352
5353 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
5354
5355         * Makefile.am (EXTRA_DIST): Add perl.m4.
5356
5357 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
5358
5359         * Makefile.am (EXTRA_DIST): Add const.m4.
5360
5361         * const.m4: New file.  Use an initializer in this declaration
5362         typedef int charset[2]; const charset x;
5363         Reported by Bob Glickstein.
5364
5365 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
5366
5367         * chown.m4: Fix reversed types on -1 args to chown.
5368         From Kaveh Ghazi.
5369
5370 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
5371
5372         * check-decl.m4: s/DECLARATION_/DECL_/g.
5373         Add lseek and memchr.
5374
5375         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5376         T.E.Dickey <dickey@clark.net> said that some older preprocessors
5377         have a 20-character limit on names.
5378
5379 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
5380
5381         * inttypes_h.m4: New file.
5382         * uintmax_t.m4: New file.
5383         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5384
5385 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5386   Free Software Foundation, Inc.
5387 Copying and distribution of this file, with or without modification,
5388 are permitted provided the copyright notice and this notice are preserved.