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