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