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