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