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