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