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