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