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