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