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