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