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