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