d4e2f01e83b8ad6f3e1ff921b767da4d0551d522
[gnulib.git] / m4 / ChangeLog
1 2003-08-16  Jim Meyering  <jim@meyering.net>
2
3         * utimes.m4 (gl_FUNC_UTIMES): New file.
4         * utimes.m4: Removed.
5         * utimes-null.m4: Renamed from utimes.m4.
6
7         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
8         to 1MB, so as not to render systems with no stack size limit (e.g.,
9         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
10         Include <unistd.h>.  On some systems,
11         it is required for the definition of _SC_PAGESIZE.
12
13 2003-08-16  Paul Eggert  <eggert@twinsun.com>
14
15         Merges from coreutils, etc.
16         * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
17         error in gl_FUNC_MATCH.  This fixes a bug I introduced on 2003-05-28.
18         * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
19         fixing a typo.
20         * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
21         * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
22
23 2003-08-16  Jim Meyering  <jim@meyering.net>
24         and Paul Eggert  <eggert@cs.ucla.edu>
25
26         Merges from coreutils, etc.
27
28         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
29         using the latest version from cvs.  This avoids problems with #line
30         directives using a vendor (Sun) compiler.
31         (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
32         Don't set GETGROUPS_LIB here; now it's
33         done via getgroups.m4's wrapper function.
34         AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
35         rather than just in sh-util/configure.in, so that the
36         now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
37         same.
38         Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
39         AC_FUNC_GETLOADAVG where to find getloadavg.c.
40         Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
41         UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
42         gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
43         Remove code that is now done by the newly-required macros.
44         Append $(EXEEXT) to DF_PROG.
45         AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
46         Do not invoke or require the following here,
47         since prereq.m4 or some gnulib .m4 now does this for us:
48         gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
49         jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
50         jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
51         jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
52         jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
53         AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
54         vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
55         AC_FUNC_OBSTACK.
56         Do not replace the following functions, as this is now the job
57         of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
58         getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
59         strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
60         atexit getpass, strdup, getpagesize.
61         Replace 'raise'.
62         Do not check for the following functions, as this is now the job
63         of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
64         getcwd, getmntinfo, resolvepath.  But check for sysctl, setreuid,
65         setregid.
66         (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
67         Check for sys/sysctl.h.
68         (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
69         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Invoke gt_TYPE_SSIZE_T instead
70         of checking for ssize_t ourselves.
71
72         * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
73         Require every macro that gnulib/modules/* suggests for us.
74         (jm_PREREQ_ADDEXT): New macro.
75         (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
76         Require jm_AC_TYPE_LONG_LONG instead of invoking it.
77
78         * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
79         (gl_PHYSMEM): Use it.
80         Also check for `table' function.
81         Check for new headers and functions.
82         Add check for sys/sysmp.h.
83         With suggestions from Kaveh Ghazi.
84         Ignore headers that are present but cannot be compiled.  This
85         avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
86         C 5.4.
87
88 2003-08-16  Jim Meyering  <jim@meyering.net>
89
90         Merges from coreutils.
91         * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
92         prefix.  Adjust cache variables similarly.  Create 500 rather than
93         just 300 files, to exercise bug on Darwin6.5, too.
94         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
95         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
96         Reported by mkc@mathdogs.com.
97         Also change use of $am_cv_sys_posix_termios
98         to $ac_cv_sys_posix_termios.   Reported by Andreas Schwab.
99         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
100         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
101         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
102         /proc/mounts until it finds one with matching device number.  This is
103         unnecessary when the FILE argument *is* a mount point.  No stat call
104         is necessary in that case.  So, disable the statvfs-testing code on
105         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
106         as RedHat bug# 84846.
107         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
108         to 1MB, so as not to render systems with no stack size limit (e.g.,
109         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
110         Include <unistd.h>.  On some systems,
111         it is required for the definition of _SC_PAGESIZE.
112
113 2003-08-15  Jim Meyering  <jim@meyering.net>
114         and Paul Eggert  <eggert@cs.ucla.edu>
115
116         Merges from coreutils, etc.
117         * strftime.m4 (_jm_STRFTIME_PREREQS):
118         Require gl_FUNC_TZSET_CLOBBER.
119         * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
120         ut_exit.ut_termination, and ut_exit.e_termination members.
121
122 2003-08-14  Paul Eggert  <eggert@twinsun.com>
123
124         Help the merge from coreutils.
125         * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
126         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
127         * tzset.m4: Use it too.
128
129 2003-08-14  Jim Meyering  <jim@meyering.net>
130
131         Merge from coreutils.
132         * tzset.m4: New file.
133         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
134         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
135         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
136         is inadequate on such systems: 1) detecting whether a file system
137         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
138         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
139         merely /MOUNT_POINT.  Reported by Mike Jetzer.
140
141 2003-08-13  Paul Eggert  <eggert@twinsun.com>
142
143         * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
144         Check for isascii.
145
146         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
147         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
148         Undo previous (whitespace-only) change.
149
150 2003-08-12  Paul Eggert  <eggert@twinsun.com>
151
152         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
153         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
154         Normalize leading white space and remove trailing white space.
155
156         Merge from coreutils
157         * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
158
159         * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
160         0.12.1.  These files are now being upgraded automatically by
161         ../config/srclist-update.
162
163 2003-08-11  Bruno Haible  <bruno@clisp.org>
164
165         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
166
167 2003-08-09  Paul Eggert  <eggert@twinsun.com>
168
169         * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
170         apparently Emacs's Unicode mode got confused before my 2003-08-05
171         checkin.
172
173 2003-08-08  Paul Eggert  <eggert@twinsun.com>
174
175         * extensions.m4: New file.
176         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
177         Require gl_USE_SYSTEM_EXTENSIONS.
178         * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
179         Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
180
181 2003-08-07  Paul Eggert  <eggert@twinsun.com>
182
183         * restrict.m4: New file.
184         * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
185
186 2003-08-07  Bruno Haible  <bruno@clisp.org>
187
188         * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
189         the module 'getndelim2' compatible with the module 'getline'.
190
191 2003-08-05  Paul Eggert  <eggert@twinsun.com>
192
193         * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
194         byte with "\201" to avoid glitches when editing that source file
195         with multi-gnome-terminal.
196
197 2003-07-31  Bruno Haible  <bruno@clisp.org>
198
199         * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
200
201 2003-07-18  Bruno Haible  <bruno@clisp.org>
202
203         * getndelim2.m4: New file.
204         * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
205         invoke gl_PREREQ_GETNDELIM2.
206         (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
207         gl_PREREQ_GETNDELIM2.
208         * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
209         gl_GETNDELIM2.
210
211 2003-07-17  Bruno Haible  <bruno@clisp.org>
212
213         * Makefile.am.in: Remove file.
214         * Makefile.am: Remove file.
215         * Makefile.in: Remove file.
216
217 2003-07-17  Bruno Haible  <bruno@clisp.org>
218
219         * getnline.m4: New file.
220
221 2003-07-14  Simon Josefsson  <jas@extundo.com>
222
223         * mempcpy.m4: New file.
224
225 2003-07-10  Jim Meyering  <jim@meyering.net>
226
227         * clock_time.m4: Remove trailing blank.
228         * intmax_t.m4: Likewise.
229
230 2003-07-01  Paul Eggert  <eggert@twinsun.com>
231
232         * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
233         xreadlink.c now includes it unconditionally.
234
235 2003-07-01  Bruno Haible  <bruno@clisp.org>
236
237         * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
238         should be sufficient.
239         Reported by Paul Eggert.
240
241 2003-06-25  Bruno Haible  <bruno@clisp.org>
242
243         * readlink.m4: New file.
244
245 2003-06-22  Bruno Haible  <bruno@clisp.org>
246
247         Portability to mingw32.
248         * ssize_t.m4: New file, from GNU gettext.
249         * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
250         * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
251
252 2003-06-11  Bruno Haible  <bruno@clisp.org>
253
254         * sysexits.m4: New file.
255
256 2003-06-10  Simon Josefsson  <jas@extundo.com>
257
258         * strchrnul.m4: New file.
259
260 2003-06-07  Bruno Haible  <bruno@clisp.org>
261
262         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
263         gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
264         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
265         directory.
266         * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
267         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
268         directory.
269
270 2003-06-04  Paul Eggert  <eggert@twinsun.com>
271
272         * human.m4 (gl_HUMAN): Require AM_STDBOOL_H.  Check for
273         locale.h, localeconv.  This merges changes from coreutils.
274
275         * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
276         It can be removed after the next Autoconf is released.
277         * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
278         needed.
279
280 2003-05-30  Bruno Haible  <bruno@clisp.org>
281
282         * gettext.m4: Upgrade to gettext-0.12.1.
283         * nls.m4: New file, from gettext-0.12.1.
284         * po.m4: New file, from gettext-0.12.1.
285         * progtest.m4: Upgrade to gettext-0.12.1.
286
287 2003-05-28  Paul Eggert  <eggert@twinsun.com>
288
289         Assume the headers required for C89 freestanding compilers.
290         * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
291         * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
292         * human.m4 (gl_HUMAN): Likewise.
293         * pathmax.m4 (gl_PATHMAX): Likewise.
294         * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
295         * userspec.m4 (gl_USERSPEC): Likewise.
296         * xreadlink.m4 (gl_XREADLINK): Likewise.
297         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
298         * quote.m4 (gl_QUOTE): Don't check for stddef.h.
299
300 2003-05-26  Jim Meyering  <jim@meyering.net>
301
302         Merge in a change from coreutils:
303         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
304         that is guaranteed to be `no'.  Use `no_such_member' to indicate
305         that condition, rather than `-1' which is slightly misleading.
306         Change the name of the cache variable to have the gl_ prefix.
307         Prompted by a patch from Richard Dawe for DJGPP.
308
309 2003-05-17  Bruno Haible  <bruno@clisp.org>
310
311         * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
312         expansion for AC_EGREP_CPP.
313         * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
314         * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
315         Suggested by Akim Demaille <akim@epita.fr> in
316         http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
317
318 2003-04-21  Paul Eggert  <eggert@twinsun.com>
319
320         * error.m4 (gl_ERROR): Do not put under dynamic conditions some
321         code which expansion is under static control.  Patch imported from
322         Akim Demaille's patch to Bison; see
323         <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
324
325 2003-04-14  Bruno Haible  <bruno@clisp.org>
326
327         * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
328
329 2003-04-10  Bruno Haible  <bruno@clisp.org>
330
331         * findprog.m4: New file.
332         * eaccess.m4: New file.
333
334 2003-04-04  Bruno Haible  <bruno@clisp.org>
335
336         * linebreak.m4: New file.
337
338 2003-04-03  Bruno Haible  <bruno@clisp.org>
339
340         * utf-ucs4.m4: New file.
341         * ucs4-utf.m4: New file.
342
343 2003-03-30  Bruno Haible  <bruno@clisp.org>
344
345         * copy-file.m4 (gl_COPY_FILE): Add check for chown().
346
347 2003-03-28  Bruno Haible  <bruno@clisp.org>
348
349         * copy-file.m4: New file.
350
351 2003-03-18  Bruno Haible  <bruno@clisp.org>
352
353         * onceonly.m4: Use m4_defn instead of defn, for better error checking.
354         * onceonly_2_57.m4: Likewise.
355
356 2003-03-17  Bruno Haible  <bruno@clisp.org>
357
358         * onceonly.m4: Require autoconf 2.54 or newer.
359         (m4_quote): Remove macro.
360         * onceonly_2_57.m4: Require autoconf 2.54 or newer.
361
362 2003-03-14  Bruno Haible  <bruno@clisp.org>
363
364         * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
365         AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
366
367 2003-03-13  Paul Eggert  <eggert@twinsun.com>
368
369         * onceonly.m4 (m4_quote): New macro.
370         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
371         Quote AC_FOREACH variable-expansions properly.
372
373 2003-02-19  Paolo Bonzini  <bonzini@gnu.org>
374
375         * poll.m4: New file.
376
377 2003-02-18  Paolo Bonzini  <bonzini@gnu.org>
378
379         * mathl.m4: New file.
380
381 2003-02-17  Bruno Haible  <bruno@clisp.org>
382
383         * mkdtemp.m4: New file, from GNU gettext with modifications.
384
385 2003-02-02  Jim Meyering  <jim@meyering.net>
386
387         * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
388         e.g. glibc-2.2.93.
389
390 2003-01-31  Bruno Haible  <bruno@clisp.org>
391
392         * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
393         'rpl_rename'.
394         * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
395         'rpl_strnlen'.
396         * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
397         'rpl_strtod'.
398         * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
399         'rpl_utime'.
400
401 2003-01-30  Bruno Haible  <bruno@clisp.org>
402
403         * signed.m4: New file, from GNU gettext.
404         * longdouble.m4: New file, from GNU gettext.
405         * wchar_t.m4: New file, from GNU gettext.
406         * wint_t.m4: New file, from GNU gettext.
407         * vasnprintf.m4: New file.
408         * vasprintf.m4: New file.
409
410 2003-01-29  Bruno Haible  <bruno@clisp.org>
411
412         * stpncpy.m4: New file.
413
414 2003-01-23  Jim Meyering  <jim@meyering.net>
415
416         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
417         from working on systems without dirfd (at least Irix and OSF1/Tru64).
418
419 2003-01-16  Jim Meyering  <jim@meyering.net>
420
421         * regex.m4: The `regex' struct is both input and output.
422         Initialize it before each use.  Patch by Tim Waugh.
423
424 2003-01-11  Bruno Haible  <bruno@clisp.org>
425
426         * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
427         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
428         suffix.
429
430 2003-01-11  Bruno Haible  <bruno@clisp.org>
431
432         * md5.m4 (gl_MD5): Require AC_C_INLINE.
433
434 2003-01-11  Bruno Haible  <bruno@clisp.org>
435
436         * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
437
438 2003-01-12  Paul Eggert  <eggert@twinsun.com>
439
440         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
441         to avoid collisions with libcurses and libreadline.
442
443         * getstr.m4: Remove.
444         * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
445
446 2003-01-10  Bruno Haible  <bruno@clisp.org>
447
448         * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
449
450 2003-01-09  Bruno Haible  <bruno@clisp.org>
451
452         * stdbool.m4 (AM_STDBOOL_H): New macro.
453
454 2002-12-31  Paul Eggert  <eggert@twinsun.com>
455
456         * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
457
458 2002-12-24  Bruno Haible  <bruno@clisp.org>
459
460         General infrasructure.
461         * README: Rewritten.
462         * onceonly.m4: New file.
463         * onceonly_2_57.m4: New file.
464
465         Module atexit.
466         * atexit.m4: New file.
467
468         Module strtod.
469         * strtod.m4: New file.
470
471         Module strtol.
472         * strtol.m4: New file.
473
474         Module strtoul.
475         * strtoul.m4: New file.
476
477         Module memchr.
478         * memchr.m4: New file.
479
480         Module memcmp.
481         * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
482         (jm_FUNC_MEMCMP): Invoke it.
483
484         Module memcpy.
485         * memcpy.m4: New file.
486
487         Module memmove.
488         * memmove.m4: New file.
489
490         Module memset.
491         * memset.m4: New file.
492
493         Module strcspn.
494         * strcspn.m4: New file.
495
496         Module strpbrk.
497         * strpbrk.m4: New file.
498
499         Module strstr.
500         * strstr.m4: New file.
501
502         Module strerror.
503         * strerror.m4: New file.
504
505         Module mktime.
506         * mktime.m4: Renamed from jm-mktime.m4.
507         (gl_PREREQ_MKTIME): New macro.
508         (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
509
510         Module malloc.
511         * malloc.m4 (gl_PREREQ_MALLOC): New macro.
512         (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
513         Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
514
515         Module realloc.
516         * realloc.m4 (gl_PREREQ_REALLOC): New macro.
517         (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
518         Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
519
520         Module strftime.
521         * tm_gmtoff.m4: New file, extracted from strftime.m4.
522         * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
523         Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
524         gl_TM_GMTOFF.
525         (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
526
527         Module xalloc.
528         * xalloc.m4: New file.
529
530         Module alloca.
531         * alloca.m4: New file.
532
533         Module putenv.
534         * putenv.m4 (gl_PREREQ_PUTENV): New macro.
535         (jm_FUNC_PUTENV): Invoke it.
536
537         Module setenv.
538         * setenv.m4 (gt_FUNC_SETENV): New macro.
539         (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
540         when invoked twice.
541         (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
542         gt_FUNC_SETENV.
543
544         Module memrchr.
545         * memrchr.m4: New file.
546
547         Module stpcpy.
548         * stpcpy.m4: New file.
549
550         Module strcase.
551         * strcase.m4: New file.
552
553         Module strdup.
554         * strdup.m4: New file.
555
556         Module strnlen.
557         * strnlen.m4: New file.
558
559         Module strndup.
560         * strndup.m4: New file.
561
562         Module xstrtod.
563         * xstrtod.m4: New file.
564
565         Module xstrtol.
566         * xstrtol.m4: New file.
567
568         Module getdate.
569         * getdate.m4: New file.
570
571         Module unlocked-io.
572         * unlocked-io.m4: Renamed from jm-glibc-io.m4.
573         (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
574         * jm-glibc-io.m4n: Remove file.
575
576         Module long-options.
577         * long-options.m4: New file.
578
579         Module md5.
580         * md5.m4: New file.
581
582         Module sha.
583         * sha.m4: New file.
584
585         Module getstr.
586         * getstr.m4: New file.
587
588         Module getline.
589         * getline.m4 (gl_PREREQ_GETLINE): New macro.
590         (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
591         <sys/types.h>, for size_t. Use the function name gnu_getline, not
592         simply getline. Infoke gl_PREREQ_GETLINE.
593
594         Module obstack.
595         * obstack.m4: New file.
596
597         Module hash.
598         * hash.m4: New file.
599
600         Module readtokens.
601         * readtokens.m4: New file.
602
603         Module strverscmp.
604         * strverscmp.m4: New file.
605
606         Module stdbool.
607         * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
608
609         Module strtoll.
610         * strtoll.m4: New file.
611
612         Module strtoull.
613         * strtoull.m4: New file.
614
615         Module strtoimax.
616         * strtoimax.m4: New file.
617
618         Module strtoumax.
619         * strtoumax.m4: New file.
620
621         Module xstrtoimax.
622         * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
623         Moved the strtol prerequisites to strtol.m4.
624         Moved the strtoll prerequisites to strtoll.m4.
625         Moved the strtoimax prerequisites to strtoimax.m4.
626
627         Module xstrtoumax.
628         * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
629         Moved the strtoul prerequisites to strtoul.m4.
630         Moved the strtoull prerequisites to strtoull.m4.
631         Moved the strtoumax prerequisites to strtoumax.m4.
632
633         Module chown.
634         * chown.m4 (gl_PREREQ_CHOWN): New macro.
635         (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
636
637         Module dup2.
638         * dup2.m4: New file.
639
640         Module ftruncate.
641         * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
642         (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
643
644         Module getgroups.
645         * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
646         (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
647
648         Module gettimeofday.
649         * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
650         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
651         gl_PREREQ_GETTIMEOFDAY.
652
653         Module mkdir.
654         * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
655         (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
656
657         Module mkstemp.
658         * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
659         (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
660         jm_AC_TYPE_UINTMAX_T.
661         (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
662
663         Module stat.
664         * stat.m4 (gl_PREREQ_STAT): New macro.
665         (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
666
667         Module lstat.
668         * lstat.m4 (gl_PREREQ_LSTAT): New macro.
669         (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
670
671         Module timespec.
672         * timespec.m4 (gl_TIMESPEC): New macro.
673         (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
674         * st_mtim.m4: Indentation.
675
676         Module nanosleep.
677         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
678         (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
679         gl_PREREQ_NANOSLEEP.
680
681         Module regex.
682         * regex.m4 (jm_PREREQ_REGEX): New macro.
683         (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
684         (gl_REGEX): New macro.
685
686         Module rename.
687         * rename.m4 (gl_PREREQ_RENAME): New macro.
688         (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
689
690         Module rmdir.
691         * rmdir.m4: New file.
692
693         Module utime.
694         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
695         * utime.m4 (gl_PREREQ_UTIME): New macro.
696         (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
697
698         Module dirname.
699         * dirname.m4: New file.
700
701         Module getopt.
702         * getopt.m4: New file.
703
704         Module unistd-safer.
705         * unistd-safer.m4: New file.
706
707         Module fnmatch.
708         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
709         declaration.
710         (gl_PREREQ_FNMATCH_EXTRA): New macro.
711         (gl_FUNC_FNMATCH_POSIX): New macro.
712         (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
713         gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
714         simply fnmatch.
715
716         Module exclude.
717         * exclude.m4: New file.
718
719         Module human.
720         * human.m4: New file.
721
722         Module acl.
723         * acl.m4: Nop.
724
725         Module backupfile.
726         * backupfile.m4: New file.
727         * d-ino.m4: Indentation.
728
729         Module fsusage.
730         * fsusage.m4 (gl_FSUSAGE): New macro.
731         (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
732         (gl_PREREQ_FSUSAGE_EXTRA): New macro.
733
734         Module dirfd.
735         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
736
737         Module euidaccess.
738         * euidaccess.m4: New file.
739
740         Module file-type.
741         * file-type.m4: New file.
742
743         Module fileblocks.
744         * fileblocks.m4: New file.
745
746         Module filemode.
747         * filemode.m4: New file.
748
749         Module isdir.
750         * isdir.m4: New file.
751
752         Module lchown.
753         * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
754         (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
755
756         Module makepath.
757         * makepath.m4: New file.
758
759         Module modechange.
760         * modechange.m4: New file.
761
762         Module mountlist.
763         * mountlist.m4: New file.
764         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
765         Indentation.
766
767         Module path-concat.
768         * path-concat.m4: New file.
769
770         Module pathmax.
771         * pathmax.m4: New file.
772
773         Module same.
774         * same.m4: New file.
775
776         Module save-cwd.
777         * save-cwd.m4: New file.
778
779         Module savedir.
780         * savedir.m4: New file.
781
782         Module xgetcwd.
783         * xgetcwd.m4: New file.
784         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
785
786         Module xreadlink.
787         * xreadlink.m4: New file.
788
789         Module safe-read.
790         * safe-read.m4: New file.
791
792         Module safe-write.
793         * safe-write.m4: New file.
794
795         Module closeout.
796         * closeout.m4: New file.
797
798         Module stdio-safer.
799         * stdio-safer.m4: New file.
800
801         Module getpass.
802         * getpass.m4: New file.
803
804         Module getugroups.
805         * getugroups.m4: New file.
806
807         Module group-member.
808         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
809         (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
810
811         Module idcache.
812         * idcache.m4: New file.
813
814         Module userspec.
815         * userspec.m4: New file.
816
817         Module gettime.
818         * clock_time.m4: New file.
819         * gettime.m4: New file.
820
821         Module settime.
822         * settime.m4: New file.
823
824         Module posixtm.
825         * posixtm.m4: New file.
826
827         Module gethostname.
828         * gethostname.m4: New file.
829
830         Module canon-host.
831         * canon-host.m4: New file.
832
833         Module gettext.
834         * codeset.m4: New file, from gettext-0.11.5.
835         * gettext.m4: New file, from gettext-0.11.5.
836         * glibc21.m4: New file, from gettext-0.11.5.
837         * iconv.m4: New file, from gettext-0.11.5.
838         * intdiv0.m4: New file, from gettext-0.11.5.
839         * inttypes-pri.m4: New file, from gettext-0.11.5.
840         * inttypes.m4: New file, from gettext-0.11.5.
841         * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
842         * isc-posix.m4: New file, from gettext-0.11.5.
843         * lcmessage.m4: New file, from gettext-0.11.5.
844         * lib-ld.m4: New file, from gettext-0.11.5.
845         * lib-link.m4: New file, from gettext-0.11.5.
846         * lib-prefix.m4: New file, from gettext-0.11.5.
847         * progtest.m4: New file, from gettext-0.11.5.
848         * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
849         * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
850         * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
851
852         Module localcharset.
853         * localcharset.m4: New file.
854
855         Module hard-locale.
856         * hard-locale.m4: New file.
857
858         Module mbswidth.
859         * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
860         onceonly macros.
861         * mbrtowc.m4: Add comment.
862
863         Module memcasecmp.
864         * memcasecmp.m4: New file.
865
866         Module memcoll.
867         * memcoll.m4: New file.
868
869         Module unicodeio.
870         * unicodeio.m4: New file.
871
872         Module rpmatch.
873         * rpmatch.m4: New file.
874
875         Module yesno.
876         * yesno.m4: New file.
877
878         Module exitfail.
879         * exitfail.m4: New file.
880
881         Module c-stack.
882         * c-stack.m4 (gl_C_STACK): New macro.
883         (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
884
885         Module error.
886         * error.m4 (gl_ERROR): New macro.
887         (jm_PREREQ_ERROR): Use onceonly macros.
888
889         Module fatal.
890         * fatal.m4: New file.
891
892         Module getloadavg.
893         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
894         (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
895
896         Module getpagesize.
897         * getpagesize.m4: New file.
898
899         Module getusershell.
900         * getusershell.m4: New file.
901
902         Module physmem.
903         * physmem.m4: New file.
904
905         Module posixver.
906         * posixver.m4: New file.
907
908         Module quotearg.
909         * quotearg.m4: New file.
910
911         Module quote.
912         * quote.m4: New file.
913
914         Module readutmp.
915         * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
916
917         Module sig2str.
918         * sig2str.m4: New file.
919
920         Other.
921         * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
922         ulonglong.m4.
923         * intmax_t.m4: New file.
924         * d-type.m4: Indentation.
925         * jm-macros.m4: Update.
926         * prereq.m4 (jm_PREREQ): Update.
927         (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
928         (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
929         (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
930         (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
931         (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
932         (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
933         (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
934         (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
935         (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
936         (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
937         (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
938         (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
939         (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
940         (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
941         (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
942         (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
943         (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
944         (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
945         * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
946
947 2002-12-18  Bruno Haible  <bruno@clisp.org>
948
949         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
950         * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
951
952 2002-12-17  Bruno Haible  <bruno@clisp.org>
953
954         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
955         stdlib.h, string.h.
956
957 2002-12-11  Bruno Haible  <bruno@clisp.org>
958
959         * setenv.m4: New file, from gettext-0.11.5.
960
961 2002-12-06  Paul Eggert  <eggert@twinsun.com>
962
963         Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
964         a pain in practice to deal with generated m4 files.  This change
965         goes together with the 2002-12-04 unlocked-io.h change in ../lib.
966
967         * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
968         and jm-glibc-io.m4, as they are no longer a special case.
969         * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
970         kludge and the auto-generation stuff.  Check only whether the
971         functions are declared, not whether they exist, since older hosts
972         that don't declare the functions can't use the optimization anyway.
973
974 2002-07-06  Jim Meyering  <meyering@lucent.com>
975
976         * README: Don't mention Makefile.am.in.
977         Outline how I've tested changes to .m4 files.  Yep, it's a pain.
978
979 2002-06-11  Paul Eggert  <eggert@twinsun.com>
980
981         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
982
983 2002-06-22  Jim Meyering  <meyering@lucent.com>
984
985         * c-stack.m4: New file, from diffutils-2.8.2.
986         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
987
988         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
989         now that configure.ac uses AC_GNU_SOURCE.
990         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
991         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
992
993         Update to latest tools.  Suggestions from Paul Eggert.
994         * stdbool.m4: New file, from diffutils-2.8.2.
995         * gnu-source.m4: Update from diffutils-2.8.2.
996         * fnmatch.m4: Likewise.
997         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
998         to AC_HEADER_STDBOOL
999
1000 2002-06-21  Jim Meyering  <meyering@lucent.com>
1001
1002         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
1003         * mbrtowc.m4: Likewise.
1004
1005         * mbstate_t.m4: Update from diffutils-2.8.2.
1006         * mbswidth.m4: Reflect name change:
1007         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
1008         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1009
1010         * lib-link.m4: Update from gettext-0.11.2.
1011         * gettext.m4: Likewise.
1012
1013         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
1014         From Alfred M. Szmidt.
1015
1016 2002-05-19  Paul Eggert  <eggert@twinsun.com>
1017
1018         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
1019
1020 2002-06-07  Jim Meyering  <meyering@lucent.com>
1021
1022         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
1023         They're needed at least for NetBSD 1.5.2.
1024         ($statxfs_includes): Include those same headers.
1025         ($statxfs_includes): Include sys/vfs.h if available.
1026         ($statxfs_includes): Likewise for sys/statvfs.h.
1027         Check for the following members in both structs statfs and statvfs:
1028         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
1029
1030 2002-06-01  Jim Meyering  <meyering@lucent.com>
1031
1032         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
1033         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
1034
1035 2002-05-28  Jim Meyering  <meyering@lucent.com>
1036
1037         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
1038         Reported by Volker Borchert.
1039
1040 2002-05-27  Jim Meyering  <meyering@lucent.com>
1041
1042         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
1043         localtime.
1044
1045         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
1046         use the replacement function; it wouldn't resolve at link time.
1047         Reported by Volker Borchert.
1048
1049 2002-04-30  Jim Meyering  <meyering@lucent.com>
1050
1051         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
1052
1053 2002-04-29  Paul Eggert  <eggert@twinsun.com>
1054
1055         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
1056         Do not check for alloca.h (no longer used) or stdbool.h (was never
1057         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
1058
1059 2002-04-28  Paul Eggert  <eggert@twinsun.com>
1060
1061         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
1062
1063 2002-04-29  Jim Meyering  <meyering@lucent.com>
1064
1065         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
1066         * prereq.m4: Add jm_PREREQ_STRNLEN.
1067         Use AC_FUNC_STRNLEN here instead.
1068
1069         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
1070         With autoconf-2.53a, it's part of AC_PROG_CC.
1071
1072 2002-04-28  Paul Eggert  <eggert@twinsun.com>
1073
1074         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
1075         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
1076
1077 2002-04-24  Jim Meyering  <meyering@lucent.com>
1078
1079         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
1080         (jm_PREREQ): Use it.
1081
1082         * getloadavg.m4: Check for these headers: locale.h unistd.h
1083         mach/mach.h fcntl.h.
1084         Check for this function: setlocale.
1085
1086 2002-04-16  Jim Meyering  <meyering@lucent.com>
1087
1088         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
1089         ut_pid, ut_id, ut_exit.
1090
1091 2002-04-12  Jim Meyering  <meyering@lucent.com>
1092
1093         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
1094         check for f_type in sys/mount.h.  Instead, just test for the existence
1095         of the getmntinfo function.  Needed for Darwin 5.3.
1096
1097         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
1098         This is necessary at least on Darwin 5.3.
1099
1100         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
1101         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
1102         in the library, and that makes some versions of ranlib object.
1103
1104 2002-04-09  Jim Meyering  <meyering@lucent.com>
1105
1106         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
1107         to be more precise.  Rather than saying we're checking whether the
1108         function `works', say what we're testing.
1109         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
1110         Reported by Bruno Haible.
1111
1112 2002-02-27  Paul Eggert  <eggert@twinsun.com>
1113
1114         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
1115         Check for clock_settime.
1116
1117 2002-02-25  Paul Eggert  <eggert@twinsun.com>
1118
1119         * acl.m4: New file.
1120         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
1121         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
1122
1123 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
1124
1125         * codeset.m4: Upgrade to gettext-0.11.
1126         * gettext.m4: Upgrade to gettext-0.11.
1127         * glibc21.m4: Upgrade to gettext-0.11.
1128         * iconv.m4: Upgrade to gettext-0.11.
1129         * isc-posix.m4: Upgrade to gettext-0.11.
1130         * lcmessage.m4: Upgrade to gettext-0.11.
1131         * lib-ld.m4: New file, from gettext-0.11.
1132         * lib-link.m4: New file, from gettext-0.11.
1133         * lib-prefix.m4: New file, from gettext-0.11.
1134         * progtest.m4: Upgrade to gettext-0.11.
1135
1136 2002-02-15  Paul Eggert  <eggert@twinsun.com>
1137
1138         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
1139         (jm_PREREQ): Use it.
1140
1141 2002-01-26  Jim Meyering  <meyering@lucent.com>
1142
1143         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
1144         * strnlen.m4: Remove file, now that it's part of autoconf.
1145
1146 2002-01-22  Paul Eggert  <eggert@twinsun.com>
1147
1148         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
1149
1150 2002-01-19  Jim Meyering  <meyering@lucent.com>
1151
1152         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
1153         Remove useless quotes: DF_PROG="df".
1154         * strnlen.m4: New file.
1155
1156 2001-12-14  Jim Meyering  <meyering@lucent.com>
1157
1158         * jm-macros.m4 (jm_MACROS): Check for iswspace.
1159         Suggestion from Bruno Haible.
1160
1161 2001-11-20  Jim Meyering  <meyering@lucent.com>
1162
1163         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
1164         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
1165
1166 2001-11-19  Jim Meyering  <meyering@lucent.com>
1167
1168         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
1169         directory.  Use "conftestXXXXXX" as the template.
1170         Suggestion from Paul Eggert.
1171
1172         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
1173         so the test doesn't mistakenly hit the max-open-files limit.
1174
1175 2001-11-18  Jim Meyering  <meyering@lucent.com>
1176
1177         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
1178
1179 2001-11-17  Jim Meyering  <meyering@lucent.com>
1180
1181         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
1182         Prompted by a report from Bob Proulx.
1183
1184         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
1185         Instead, require UTILS_FUNC_MKSTEMP.
1186
1187 2001-11-11  Jim Meyering  <meyering@lucent.com>
1188
1189         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
1190         Now, that's done as part of AC_FUNC_STRTOD.
1191
1192 2001-10-22  Paul Eggert  <eggert@twinsun.com>
1193
1194         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
1195         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
1196
1197 2001-11-10  Jim Meyering  <meyering@lucent.com>
1198
1199         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
1200         (jm_PREREQ): Use it.
1201
1202 2001-11-09  Jim Meyering  <meyering@lucent.com>
1203
1204         * jm-macros.m4: Require autoconf-2.52f.
1205         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
1206         Use these AC_-prefixed names, not the AM_-prefixed ones.
1207
1208         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
1209
1210 2001-11-04  Jim Meyering  <meyering@lucent.com>
1211
1212         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
1213
1214 2001-11-03  Jim Meyering  <meyering@lucent.com>
1215
1216         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
1217         of AC_DEFUN.
1218
1219         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
1220         know the name of the variable in the macro definition.
1221
1222 2001-11-01  Jim Meyering  <meyering@lucent.com>
1223
1224         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
1225         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
1226
1227 2001-10-20  Paul Eggert  <eggert@twinsun.com>
1228
1229         * error.m4 (jm_PREREQ_ERROR):
1230         Do not invoke AC_CHECK_FUNCS with strerror_r, as
1231         AC_FUNC_STRERROR_R does that.
1232         Check for strerror declaration.
1233
1234         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
1235         are supposed to have them these days.
1236         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
1237         Merge changes from latest Autoconf CVS.
1238         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
1239         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
1240         POSIX decided to standardize on the int flavor of strerror_r.
1241
1242 2001-09-30  Jim Meyering  <meyering@lucent.com>
1243
1244         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
1245         `struct fsstat' has the `f_fstypename' member.
1246         Use that to define FS_TYPE, which is now used to make
1247         the getfsstat link test tighter.
1248
1249 2001-09-29  Jim Meyering  <meyering@lucent.com>
1250
1251         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1252         [one-argument getmntent function]): Include stdio.h before mntent.h.
1253         SunOS 4.1.x needs it for the declaration of `FILE'.
1254         Patch by Volker Borchert.
1255
1256         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
1257         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
1258         sys/fs_types.h, and make the link-test for getfsstat guard #include
1259         directives with appropriate #if HAVE_*_H tests so that we can
1260         detect getfsstat on Apple Darwin1.3.7 systems.
1261         Reported by Nelson Beebe.
1262         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
1263
1264 2001-09-28  Paul Eggert  <eggert@twinsun.com>
1265
1266         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
1267         #defines strtoimax.  Also treat the other strto* functions
1268         like strtoimax.
1269
1270         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1271         Check for strtoul and strtoumax,
1272         as those declarations are made even in the signed case.
1273         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
1274         Likewise, for strtol and strtoimax.
1275
1276 2001-09-24  Jim Meyering  <meyering@lucent.com>
1277
1278         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
1279
1280 2001-09-23  Jim Meyering  <meyering@lucent.com>
1281
1282         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
1283         instead of the mere test for existence of mntent.h.  The latter
1284         would get a false-positive on AIX 3.4 systems.
1285         In the outer getmntent if-block, don't die if neither of the getmntent
1286         tests succeeds.  Instead, just fall through and continue with the
1287         remaining tests.
1288
1289 2001-09-22  Jim Meyering  <meyering@lucent.com>
1290
1291         * gettext.m4: New file.  From gettext.
1292         * lcmessage.m4: Sync with gettext -- this changes only comments.
1293         * progtest.m4: Likewise
1294         * isc-posix.m4: Decrement serial number to sync with gettext.
1295         * glibc21.m4: Likewise.
1296
1297         * libintl.m4: Remove.  No longer used.
1298
1299 2001-09-20  Jim Meyering  <meyering@lucent.com>
1300
1301         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
1302         strtoimax.
1303         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
1304         strtoumax.
1305
1306 2001-09-17  Jim Meyering  <meyering@lucent.com>
1307
1308         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
1309         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
1310         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
1311         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
1312         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
1313         whenever the right hand side need not be expanded by the shell.
1314
1315 2001-09-16  Paul Eggert  <eggert@twinsun.com>
1316
1317         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
1318         library.  It's not correct, as some older glibcs are buggy.
1319         fnmatch wasn't fixed until glibc 2.2.
1320
1321         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
1322         special shell magic here.
1323
1324 2001-09-16  Jim Meyering  <meyering@lucent.com>
1325
1326         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
1327         * jm-macros.m4: Require it.
1328
1329 2001-09-15  Jim Meyering  <meyering@lucent.com>
1330
1331         * jm-macros.m4: Check for help2man.
1332
1333 2001-09-11  Jim Meyering  <meyering@lucent.com>
1334
1335         * host-os.m4 (UTILS_HOST_OS): New file/macro.
1336         The body, by Paul Eggert, was moved here from configure.in.
1337         * jm-macros.m4: Require UTILS_HOST_OS.
1338
1339 2001-09-04  Paul Eggert  <eggert@twinsun.com>
1340
1341         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
1342         (jm_PREREQ): Use it.
1343
1344 2001-09-03  Paul Eggert  <eggert@twinsun.com>
1345
1346         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
1347         sys/param.h, as pathmax.h includes them.
1348
1349 2001-09-03  Paul Eggert  <eggert@twinsun.com>
1350
1351         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
1352         (jm_PREREQ_XGETCWD): New macro.
1353
1354         * getcwd.m4: New file.
1355
1356 2001-09-01  Jim Meyering  <meyering@lucent.com>
1357
1358         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
1359         Used by df.
1360
1361 2001-08-30  Paul Eggert  <eggert@twinsun.com>
1362
1363         Simplify code, partly by assuming autoconf 2.52 semantics.
1364
1365         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
1366
1367         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
1368         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
1369         All uses removed.
1370         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
1371         Move AC_REQUIRE to next-to-top level, to avoid confusion.
1372         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
1373         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
1374         * jm-macros.m4 (jm_MACROS): Likewise.
1375
1376         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
1377
1378         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
1379         Quote first arg of AC_DEFUN.
1380         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
1381         since they are needed to parse the include file even if we need
1382         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
1383         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
1384         but with opposite signedness.
1385
1386 2001-08-30  Paul Eggert  <eggert@twinsun.com>
1387
1388         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
1389         (jm_PREREQ_EXCLUDE): New macro.
1390
1391 2001-08-26  Jim Meyering  <meyering@lucent.com>
1392
1393         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
1394
1395         * xstrtoimax.m4: New file.
1396         * xstrtoumax.m4: Add comments explaining why we
1397         AC_REPLACE_FUNCS(strtol).
1398
1399 2001-06-20  Paul Eggert  <eggert@twinsun.com>
1400
1401         * inttypes.m4: Add AC_PREREQ(2.13).
1402         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
1403         (jm_AC_TYPE_INTMAX_T): New macro.
1404         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
1405
1406         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
1407
1408         * longlong.m4: Renamed from ulonglong.m4.
1409         * inttypes.m4: Renamed from inttypes_h.m4.
1410         * uintmax_t.m4: Removed.
1411
1412 2001-08-12  Jim Meyering  <meyering@lucent.com>
1413
1414         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
1415         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
1416         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
1417         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
1418         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
1419         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
1420         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
1421         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
1422         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
1423         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
1424         utime.m4, utimes.m4, xstrtoumax.m4:
1425         Quote the first argument in each use of AC_DEFUN.
1426
1427 2001-08-05  Jim Meyering  <meyering@lucent.com>
1428
1429         * jm-macros.m4: Require autoconf-2.52.
1430
1431 2001-08-03  Paul Eggert  <eggert@twinsun.com>
1432
1433         The following changes are from gettext 0.10.39 as maintained by
1434         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
1435
1436         * codeset.m4: Upgrade to serial AM1.
1437         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
1438         all uses changed.  Quote first arg of AC_DEFUN.
1439         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
1440
1441         * iconv.m4: Upgrade to serial AM2.
1442         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
1443         Add --with-libconv-prefix.
1444         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
1445         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
1446         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
1447         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
1448         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
1449
1450         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
1451         * getline.m4 (AM_FUNC_GETLINE): Likewise.
1452         * glibc21.m4 (jm_GLIBC21): Likewise.
1453         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
1454         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
1455         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
1456         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
1457         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
1458         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
1459
1460         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
1461         string.h any more.
1462
1463         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
1464         not the default value.
1465
1466         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
1467         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
1468         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
1469         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
1470         Also check for iswcntrl, used for wcwidth fallback.
1471         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
1472         to Autoconf 2.13.
1473
1474 2001-08-03  Jim Meyering  <meyering@lucent.com>
1475
1476         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
1477         as it was in the original.  Reported by Paul Eggert.
1478
1479 2001-07-16  Jim Meyering  <meyering@lucent.com>
1480
1481         * gettimeofday.m4: New file.
1482         Prompted by a report from Bernhard Baehr.
1483
1484 2001-07-15  Jim Meyering  <meyering@lucent.com>
1485
1486         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
1487         Now it's in ../Makefile.cfg.
1488
1489 2001-07-04  Jim Meyering  <meyering@lucent.com>
1490
1491         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
1492         that generates jm-glibc-io.m4 so that it doesn't trigger any make
1493         distcheck failure.
1494
1495 2001-07-02  Jim Meyering  <meyering@lucent.com>
1496
1497         The following changes were prompted by suggestions from Bruno Haible.
1498
1499         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
1500         is now generated.
1501         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
1502         definition of EXTRA_DIST.
1503         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
1504         ensure that the generated file is created/updated whenever the list
1505         of $(unlocked_functions) is changed.
1506         (jm-glibc-io.m4): New rule.
1507         (unlocked-io.h): New rule -- currently unused.
1508
1509 2001-06-24  Jim Meyering  <meyering@lucent.com>
1510
1511         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
1512         unmatched right bracket, rather than kludging it with an extra,
1513         falsely-matching quote in a comment.  Patch by Akim Demaille.
1514
1515 2001-05-27  Jim Meyering  <meyering@lucent.com>
1516
1517         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
1518         Check for ut_type in struct utmp.
1519
1520 2001-05-22  Jim Meyering  <meyering@lucent.com>
1521
1522         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
1523         now that we use the package-supplied version unconditionally.
1524         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
1525
1526 2001-05-21  Jim Meyering  <meyering@lucent.com>
1527
1528         * regex.m4: Change a couple backticks to single quotes to avoid shell
1529         syntax errors.
1530
1531 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1532
1533         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
1534
1535 2001-05-11  Paul Eggert  <eggert@twinsun.com>
1536
1537         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
1538         Don't bother to check library strftime, since
1539         we'll be using our own my_strftime function anyway.
1540         Define my_strftime instead of strftime.
1541
1542 2001-05-15  Jim Meyering  <meyering@lucent.com>
1543
1544         * regex.m4: Use proper quoting so brackets appear in the test program.
1545         Reported by, and with help from, Bruno Haible.
1546
1547 2001-05-13  Jim Meyering  <meyering@lucent.com>
1548
1549         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
1550
1551 2000-11-26  Paul Eggert  <eggert@twinsun.com>
1552
1553         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
1554
1555 2001-04-21  Jim Meyering  <meyering@lucent.com>
1556
1557         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
1558         doesn't interfere.
1559
1560 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1561
1562         * ftruncate.m4: Check for chsize.
1563         Link with ftruncate.o unconditionally if ftruncate is missing.
1564         This was required when cross-compiling to i586-mingw32msvc.
1565
1566 2001-03-24  Jim Meyering  <meyering@lucent.com>
1567
1568         * jm-macros.m4: Require autoconf-2.49d.
1569
1570 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
1571
1572         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
1573
1574 2001-03-17  Jim Meyering  <meyering@lucent.com>
1575
1576         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
1577         now that the version in autoconf is equivalent.
1578         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
1579
1580         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
1581         Suggestion from Akim Demaille.
1582
1583         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
1584         (jm_PREREQ_TEMPNAME): New function.
1585
1586 2001-02-25  Paul Eggert  <eggert@twinsun.com>
1587
1588         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
1589         lacks mkstemp.  Compile our own tempname.c if we compile our own
1590         mkstemp.c, as mkstemp relies on tempname.
1591
1592 2001-03-01  Jim Meyering  <meyering@lucent.com>
1593
1594         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
1595         AH_VERBATIM really does output its argument verbatim.
1596
1597 2001-02-18  Paul Eggert  <eggert@twinsun.com>
1598
1599         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
1600
1601 2001-02-17  Jim Meyering  <meyering@lucent.com>
1602
1603         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
1604         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
1605         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
1606         UnixWare 7.1.1.
1607
1608         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
1609         rather than AC_CACHE_VAL.
1610
1611 2001-02-17  Paul Eggert  <eggert@twinsun.com>
1612
1613         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
1614         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
1615         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
1616         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
1617
1618 2001-02-07  Jim Meyering  <meyering@lucent.com>
1619
1620         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
1621
1622 2001-02-05  Jim Meyering  <meyering@lucent.com>
1623
1624         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
1625         it includes the patch required for `large file' support with at least
1626         HP-UX's 10.20 /bin/cc.
1627
1628 2001-02-03  Jim Meyering  <meyering@lucent.com>
1629
1630         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
1631         AS_IF, now that it works once again (mysteriously).
1632         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1633
1634 2001-01-30  Jim Meyering  <meyering@lucent.com>
1635
1636         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
1637         * chown.m4: Rename conftestchown to conftest.chown.
1638         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
1639         * utimes.m4: s/conftestdata/conftest.data/
1640         Inspired by Pavel Roskin's change in autoconf.
1641
1642 2001-01-27  Jim Meyering  <meyering@lucent.com>
1643
1644         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
1645         a use of AS_IF.
1646         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
1647
1648 2001-01-26  Jim Meyering  <meyering@lucent.com>
1649
1650         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
1651         quotearg.c includes it.
1652
1653 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
1654
1655         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
1656         has const.
1657
1658 2001-01-20  Jim Meyering  <meyering@lucent.com>
1659
1660         Be sure that headers are checked before used in code compiled
1661         for the type checks.
1662         * jm-macros.m4 (jm_MACROS): Remove all header checks.
1663         In place of that, invoke jm_CHECK_ALL_TYPES.
1664         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
1665         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
1666         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
1667         The check for ssize_t was mistakenly run before the test for unistd.h.
1668
1669         The configure-time check for stdbool.h was missing.
1670         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
1671         (jm_PREREQ_HASH): New function.
1672
1673 2001-01-17  Jim Meyering  <meyering@lucent.com>
1674
1675         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
1676         for autoconf-2.49c.
1677         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
1678
1679 2001-01-14  Jim Meyering  <meyering@lucent.com>
1680
1681         * rename.m4: Use temporary directories named conftestdir{,2}, not
1682         foo and bar.  Create conftestdir/ in the script, not in the C code.
1683         Remove directories in the script, not in the C code.
1684         Remove conftestdir{,2} before trying to create the directory.
1685         Make the entire configure script fail if the mkdir fails.
1686
1687 2001-01-02  Volker Borchert  <bt@teknon.de>
1688
1689         * rename.m4: New file.
1690         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
1691
1692 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1693
1694         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
1695         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
1696         so `make install' also works in VPATH builds.
1697
1698 2001-01-01  Jim Meyering  <meyering@lucent.com>
1699
1700         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
1701         on systems with utmpx.h.  It's necessary for the declaration of utmp's
1702         ut_user member.  Reported by Andreas Jaeger.
1703
1704         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
1705         They are required for the declarations of getgrgid and getpwuid resp.
1706         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
1707         Reported by Andreas Jaeger.
1708
1709 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1710
1711         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
1712         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
1713         can be used in subdirectories.
1714
1715 2000-12-26  Jim Meyering  <meyering@lucent.com>
1716
1717         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
1718         with autoheader.
1719
1720 2000-12-17  Jim Meyering  <meyering@lucent.com>
1721
1722         * dos.m4 (jm_AC_DOS): New file and macro.
1723         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
1724
1725 2000-12-06  Paul Eggert  <eggert@twinsun.com>
1726
1727         * off_t-format.m4: Remove this file.
1728         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
1729
1730 2000-12-06  Jim Meyering  <meyering@lucent.com>
1731
1732         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
1733         strtoull, we may well need the replacement strtoul, too.
1734         Check for declarations of strtoul and strtoull.
1735         Check for strtol.  Mainly as a cue to cause automake to include
1736         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
1737         Check for limits.h -- strtol.c needs it.
1738
1739 2000-12-02  Jim Meyering  <meyering@lucent.com>
1740
1741         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
1742         * jm-macros.m4 (jm_MACROS): require it.
1743
1744 2000-11-30  Jim Meyering  <meyering@lucent.com>
1745
1746         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
1747
1748 2000-11-30  Jim Meyering  <meyering@lucent.com>
1749
1750         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
1751
1752 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
1753
1754         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
1755
1756 2000-11-04  Jim Meyering  <meyering@lucent.com>
1757
1758         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
1759
1760 2000-10-29  Jim Meyering  <meyering@lucent.com>
1761
1762         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
1763         * ls-mntd-fs.m4: Likewise
1764
1765 2000-10-28  Jim Meyering  <meyering@lucent.com>
1766
1767         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
1768         (jm_PREREQ_MEMCHR): New function.
1769
1770 2000-10-21  Jim Meyering  <meyering@lucent.com>
1771
1772         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
1773         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
1774         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
1775
1776 2000-09-18  Jim Meyering  <meyering@lucent.com>
1777
1778         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
1779         Otherwise, everyone ends up linking with -lelf for some configurations.
1780         Reported by Mike Stone.
1781
1782 2000-08-26  Jim Meyering  <meyering@lucent.com>
1783
1784         * jm-macros.m4: Use jm_FUNC_FPENDING.
1785         * fpending.m4: New file.
1786
1787 2000-08-20  Jim Meyering  <meyering@lucent.com>
1788
1789         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
1790         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
1791         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
1792
1793 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
1794
1795         Improve fileutils installation on systems where running
1796         programs (like install) can't be unlinked.
1797         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
1798         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
1799
1800 2000-08-06  Paul Eggert  <eggert@twinsun.com>
1801
1802         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
1803         not char, for compatibility with glibc 2.1.3 strftime.c.
1804
1805 2000-07-23  Paul Eggert  <eggert@twinsun.com>
1806
1807         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
1808
1809 2000-07-23  Jim Meyering  <meyering@lucent.com>
1810
1811         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
1812         getgrgid, getpwuid, getuid.
1813
1814 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
1815
1816         * mbswidth.m4: New file.
1817         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
1818
1819 2000-07-14  Jim Meyering  <meyering@lucent.com>
1820
1821         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
1822
1823 2000-07-10  Paul Eggert  <eggert@twinsun.com>
1824
1825         From a suggestion by Bruno Haible.
1826         * mbstate_t.m4 (AC_MBSTATE_T):
1827         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
1828         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
1829         and mbstate_t, to a single-part test that simply defines mbstate_t.
1830         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
1831
1832 2000-07-10  Jim Meyering  <meyering@lucent.com>
1833
1834         * strerror_r.m4: Mirror the correction made in autoconf.
1835
1836         * gnu-source.m4: Output to confdefs.h directly.
1837         Suggestion from Akim Demaille.
1838
1839 2000-07-09  Jim Meyering  <meyering@lucent.com>
1840
1841         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
1842         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
1843
1844         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
1845         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
1846
1847 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
1848
1849         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
1850         to strerror_r.
1851         Include <ctype.h> for use of isalpha.
1852
1853 2000-07-05  Paul Eggert  <eggert@twinsun.com>
1854         and Bruno Haible  <haible@clisp.cons.org>
1855
1856         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
1857         only if the test for an object-type mbstate_t fails.  This
1858         prevents us from mistakenly reporting that mbstate_t is a
1859         system object type after we "#define mbstate_t int" to work
1860         around its lack.
1861
1862 2000-07-04  Jim Meyering  <meyering@lucent.com>
1863
1864         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
1865         of the deprecated AC_CHECKING.
1866
1867 2000-07-03  Jim Meyering  <meyering@lucent.com>
1868
1869         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
1870
1871 2000-07-03  Paul Eggert  <eggert@twinsun.com>
1872
1873         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
1874         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
1875
1876 2000-07-02  Jim Meyering  <meyering@lucent.com>
1877
1878         * mbstate_t.m4: Also define mbstate_t, if necessary.
1879
1880         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
1881         AC_LIBOBJ(function_name).
1882         * chown.m4: Likewise.
1883         * fnmatch.m4: Likewise.
1884         * ftruncate.m4: Likewise.
1885         * getgroups.m4: Likewise.
1886         * getline.m4: Likewise.
1887         * group-member.m4: Likewise.
1888         * jm-macros.m4: Likewise.
1889         * lstat.m4: Likewise.
1890         * malloc.m4: Likewise.
1891         * memcmp.m4: Likewise.
1892         * nanosleep.m4: Likewise.
1893         * putenv.m4: Likewise.
1894         * realloc.m4: Likewise.
1895         * regex.m4: Likewise.
1896         * stat.m4: Likewise.
1897         * strftime.m4: Likewise.
1898
1899 2000-07-01  Jim Meyering  <meyering@lucent.com>
1900
1901         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
1902         problem.
1903
1904 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1905
1906         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
1907         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
1908
1909 2000-07-01  Jim Meyering  <meyering@lucent.com>
1910
1911         * uptime.m4: Put double quotes around use of $cross_compiling.
1912
1913 2000-06-28  Jim Meyering  <meyering@lucent.com>
1914
1915         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
1916         by quotearg.c, for which we perform this test.  From Bruno Haible.
1917
1918 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1919
1920         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
1921         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
1922         <utmpx.h> exists, put readutmp.o into LIBOBJS.
1923
1924 2000-06-25  Jim Meyering  <meyering@lucent.com>
1925
1926         * mbstate_t.m4: Include stdio.h before wchar.h to work around
1927         Linux header bug when _XOPEN_SOURCE is defined to 500.
1928
1929 2000-06-24  Jim Meyering  <meyering@lucent.com>
1930
1931         * strerror_r.m4: Revive this file -- to try out an experimental
1932         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
1933         for which strerror does return char*, but which lacks a conveniently
1934         accessible declaration of the function.  If the compile-test says
1935         strerror_r doesn't work, then resort to a `run'-test that works on
1936         BeOS and segfaults on DEC Unix.
1937
1938 2000-06-19  Paul Eggert  <eggert@twinsun.com>
1939
1940         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
1941         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
1942
1943 2000-06-23  Jim Meyering  <meyering@lucent.com>
1944
1945         * afs.m4: Add missing AC_MSG_RESULT.
1946         Reported by Bruno Haible.
1947
1948         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
1949         Suggestion from Bruno Haible.
1950
1951 2000-06-21  Jim Meyering  <meyering@lucent.com>
1952
1953         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
1954
1955 2000-06-18  Jim Meyering  <meyering@lucent.com>
1956
1957         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
1958
1959         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
1960         `checking whether...' message to be consistent with that of the
1961         lstat test.
1962
1963 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
1964
1965         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
1966
1967 2000-06-12  Jim Meyering  <meyering@lucent.com>
1968
1969         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
1970         from autoconf, and tweak the latter to accept an optional argument.
1971         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
1972         the optional argument, `lib'.
1973
1974 2000-06-08  Jim Meyering  <meyering@lucent.com>
1975
1976         * largefile.m4: Remove file (now that it's part of autoconf).
1977
1978 2000-06-04  Paul Eggert  <eggert@twinsun.com>
1979
1980         Rewrite largefile configuration so that we don't need to run
1981         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
1982         AC_CANONICAL_HOST in configure.in -- jmm]
1983
1984         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
1985         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
1986         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
1987         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
1988         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
1989         All uses changed.
1990         Instead of inspecting the output of getconf, try to compile the
1991         test program without and with the macro definition.
1992         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
1993         for getconf.  Instead, check for the needed flags by compiling
1994         test programs.
1995
1996 2000-06-03  Jim Meyering  <meyering@lucent.com>
1997
1998         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
1999         now that autoconf requires that.
2000
2001         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
2002         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
2003         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
2004
2005 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
2006
2007         * glibc21.m4: New file.
2008         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
2009
2010 2000-05-28  Jim Meyering  <meyering@lucent.com>
2011
2012         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
2013         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2014         * stat.m4: Likewise.
2015         * lstat.m4: Likewise.
2016         * lstat-slash.m4: Remove file (absorbed into autoconf).
2017
2018         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
2019         * strerror_r.m4: Remove file (absorbed into autoconf).
2020
2021 2000-05-26  Jim Meyering  <meyering@lucent.com>
2022
2023         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
2024
2025 2000-05-24  Jim Meyering  <meyering@lucent.com>
2026
2027         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
2028         autoconf requires that.
2029         * lib-check.m4: Likewise.
2030         * jm-macros.m4: Likewise.
2031         * strftime.m4: Likewise.
2032
2033         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
2034         now that autoconf requires that.
2035
2036 2000-05-22  Jim Meyering  <meyering@lucent.com>
2037
2038         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2039         * lstat.m4: Likewise.
2040
2041 2000-05-20  Jim Meyering  <meyering@lucent.com>
2042
2043         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
2044         (jm_PREREQ): Use it.
2045
2046 2000-05-09  Jim Meyering  <meyering@lucent.com>
2047
2048         * gettext.m4: Rename this...
2049         * libintl.m4: ...to this.
2050
2051 2000-05-06  Jim Meyering  <meyering@lucent.com>
2052
2053         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
2054         (AC_REPLACE_FUNCS): Add strnlen.
2055
2056         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
2057         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
2058
2059         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
2060         AC_SEARCH_LIBS call for nanosleep.
2061         (LIB_NANOSLEEP): Set and AC_SUBST.
2062
2063 2000-05-03  Paul Eggert  <eggert@twinsun.com>
2064
2065         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
2066         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
2067         2.1.3 bug.  This avoids a clash when files like regex.c define
2068         _GNU_SOURCE.
2069
2070 2000-05-05  Jim Meyering  <meyering@lucent.com>
2071
2072         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
2073         call for clock_gettime.
2074         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
2075
2076         * search-libs.m4: Update from autoconf.
2077
2078         su doesn't work on Solaris 2.6.
2079         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
2080         <shadow.h>.  Reported by Dragos Harabor.
2081
2082 2000-05-03  Jim Meyering  <meyering@lucent.com>
2083
2084         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
2085
2086 2000-05-02  Paul Eggert  <eggert@twinsun.com>
2087
2088         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
2089         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
2090         compile-time test, rather than inspecting host and OS, to
2091         decide whether to define _LARGEFILE_SOURCE.
2092
2093 2000-05-01  Jim Meyering  <meyering@lucent.com>
2094
2095         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
2096
2097         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
2098         Based on a patch from Bruno Haible.
2099
2100 2000-04-18  Jim Meyering  <meyering@lucent.com>
2101
2102         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
2103         (jm_PREREQ): Use it.
2104
2105 2000-04-17  Jim Meyering  <meyering@lucent.com>
2106
2107         Get it right :-)
2108         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
2109         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
2110         Suggestion from Akim Demaille.
2111
2112 2000-04-14  Jim Meyering  <meyering@lucent.com>
2113
2114         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
2115         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
2116
2117 2000-04-13  Jim Meyering  <meyering@lucent.com>
2118
2119         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
2120         to insert required #ifndef into config.h.in.
2121         Suggestion from Akim Demaille.
2122
2123 2000-04-12  Jim Meyering  <meyering@lucent.com>
2124
2125         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
2126         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
2127         Christian Krackowizer.
2128
2129         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
2130         * jm-macros.m4 (_GNU_SOURCE): Define.
2131         (AC_SYS_LARGEFILE): Require.
2132         (AM_C_PROTOTYPES): Require.
2133
2134 2000-04-05  Paul Eggert  <eggert@twinsun.com>
2135
2136         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
2137         IRIX if the installer said otherwise.
2138
2139 2000-04-05  Jim Meyering  <meyering@lucent.com>
2140
2141         Portability tweaks required for ultrix4.3.
2142         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
2143         (jm_CHECK_DECLS): Add getutent to the list of functions.
2144         (_jm_DECL_HEADERS): Add utmpx.h.
2145         From John David Anglin.
2146
2147         * strftime.m4: Back out the 2000-04-02 change.
2148         Instead of that change, simply undefine putenv in the test program.
2149
2150 2000-04-03  Jim Meyering  <meyering@lucent.com>
2151
2152         * gettext.m4: Fix typo in comment.
2153
2154         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
2155         textutils/configure.in).  Suggestion from Paul Eggert.
2156         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
2157
2158 2000-04-02  Paul Eggert  <eggert@twinsun.com>
2159
2160         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
2161         variable in the shell rather than using putenv, which isn't
2162         portable.  This avoids the configure-time inter-test dependency
2163         on the potentially-renamed putenv function.
2164
2165 2000-03-30  Paul Eggert  <eggert@twinsun.com>
2166
2167         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
2168         before checking struct stat.st_blksize, so that
2169         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
2170
2171 2000-03-29  Paul Eggert  <eggert@twinsun.com>
2172
2173         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
2174         since strftime.c uses HAVE_STRFTIME to decide whether to use
2175         the underlying strftime.
2176
2177 2000-03-10  Jim Meyering  <meyering@lucent.com>
2178
2179         * lib-check.m4: Look for getspnam in -lgen, too.
2180         From Marco Franzen.
2181
2182 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
2183
2184         * codeset.m4: New file.
2185         * iconv.m4: New file.
2186         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
2187
2188 2000-03-04  Jim Meyering  <meyering@lucent.com>
2189
2190         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
2191         for lib/localcharset.c.
2192
2193 2000-03-03  Jim Meyering  <meyering@lucent.com>
2194
2195         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
2196
2197 2000-03-02  Jim Meyering  <meyering@lucent.com>
2198
2199         * timespec.m4: Require AC_HEADER_TIME before the cache check so
2200         the messages come out on separate lines.
2201
2202         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
2203         rather than jm_CHECK_DECLARATIONS.
2204         * decl.m4: Remove now-unused file.
2205
2206         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2207
2208 2000-02-27  Jim Meyering  <meyering@lucent.com>
2209
2210         * check-decl.m4: Add getenv to the list.
2211
2212 2000-02-23  Jim Meyering  <meyering@lucent.com>
2213
2214         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
2215         in place of my hack.
2216
2217 2000-02-10  Jim Meyering  <meyering@lucent.com>
2218
2219         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
2220         gnu_nanosleep to rpl_nanosleep.
2221
2222 2000-02-09  Jim Meyering  <meyering@lucent.com>
2223
2224         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
2225         struct spwd, rather than in struct passwd.  Reported by Ga� Qu�i.
2226
2227 2000-02-08  Akim Demaille  <akim@epita.fr>
2228
2229         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
2230         `[' and `]' and remove uses of `changequote'.
2231         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2232         (AC_SYS_LARGEFILE): Likewise.
2233         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
2234         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
2235         of changequote.
2236         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
2237         * readdir.m4 (jm_FUNC_READDIR): Likewise
2238         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
2239         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
2240
2241 2000-02-05  Jim Meyering  <meyering@lucent.com>
2242
2243         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
2244         Remove explicit use of AC_HEADER_TIME.  It is required by
2245         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
2246         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
2247         in autoconf whereby the expansion of the latter ended up preceding
2248         the expansion of its prerequisite, AC_HEADER_TIME.
2249         Reported by Volker Borchert.
2250
2251 2000-02-03  Jim Meyering  <meyering@lucent.com>
2252
2253         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
2254
2255 2000-02-02  Jim Meyering  <meyering@lucent.com>
2256
2257         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
2258         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
2259         Reported by Eli Zaretskii.
2260
2261 2000-01-31  Jim Meyering  <meyering@lucent.com>
2262
2263         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
2264         functions.  Add the time.h and sys/time.h headers along with the
2265         AC_REQUIRE'ment of AC_HEADER_TIME.
2266
2267 2000-01-30  Jim Meyering  <meyering@lucent.com>
2268
2269         * lib-check.m4: Clean up some kludgy old shadow password tests.
2270
2271         * prereq.m4 (utmp_includes): Define.
2272         Check for ut_user and ut_name members in both struct utmpx
2273         and struct utmp.
2274
2275 2000-01-29  Jim Meyering  <meyering@lucent.com>
2276
2277         * lib-check.m4: New file containing library-related checks from
2278         fileutils and sh-utils (textutils had none).
2279
2280 2000-01-28  Jim Meyering  <meyering@lucent.com>
2281
2282         * perl.m4: Change format of warning message to look more like that
2283         from the missing script.  Suggestion from Fran�is Pinard.
2284
2285 2000-01-25  Jim Meyering  <meyering@lucent.com>
2286
2287         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
2288         as time.h in the compile check.
2289         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
2290         Fix typo in cross-compiling case: s/yes/no/.
2291
2292 2000-01-23  Jim Meyering  <meyering@lucent.com>
2293
2294         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
2295
2296         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
2297         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
2298
2299         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
2300         s/space/ac_fsusage_space/.
2301         (jm_FILE_SYSTEM_USAGE): Take two parameters.
2302
2303         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
2304         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
2305         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
2306
2307         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
2308         AC_SUBST these here, rather than just in sh-util/configure.in, so
2309         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
2310         all the same.
2311         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
2312         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
2313         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
2314         (AC_SUBST(POW_LIBM)): Likewise.
2315         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
2316
2317 2000-01-22  Jim Meyering  <meyering@lucent.com>
2318
2319         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
2320
2321         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
2322
2323         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
2324         configure.in
2325         (AC_CHECK_HEADERS): Likewise for sh-utils.
2326         (AC_CHECK_HEADERS): Likewise for textutils.
2327         Merge the three lists of headers.
2328
2329         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
2330         from fileutils' configure.in.
2331
2332         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
2333         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
2334
2335         * check-decl.m4: Use #if rather than #ifdef.
2336         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
2337         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2338         (_jm_DECL_HEADERS): Define new function.
2339         (jm_CHECK_DECLARATIONS): Require it.
2340
2341 2000-01-19  Jim Meyering  <meyering@lucent.com>
2342
2343         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
2344         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
2345         defines `struct timespec' in <sys/time.h>
2346
2347         * c-bs-a.m4: Remove uses of changequote altogether.
2348         Thanks to Akim for explaining.
2349
2350 2000-01-16  Jim Meyering  <meyering@lucent.com>
2351
2352         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
2353         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
2354         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
2355         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
2356
2357 2000-01-16  Jim Meyering  <meyering@lucent.com>
2358
2359         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
2360         because the latter didn't work.
2361
2362 2000-01-15  Jim Meyering  <meyering@lucent.com>
2363
2364         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
2365         (AC_REPLACE_FUNCS): Add memcpy and memset.
2366         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
2367         Add strpbrk.
2368         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
2369
2370 2000-01-12  Jim Meyering  <meyering@lucent.com>
2371
2372         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
2373         (jm_PREREQ): Use it.
2374         (jm_PREREQ_READUTMP): New macro.
2375         (jm_PREREQ): Use it.
2376
2377 2000-01-11  Paul Eggert  <eggert@twinsun.com>
2378
2379         Quote multibyte characters correctly.
2380         * c-bs-a.m4: New file.
2381         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
2382         (jm_PREREQ): Use it.
2383
2384 2000-01-11  Paul Eggert  <eggert@twinsun.com>
2385
2386         * uintmax_t.m4: Port to autoconf 2.13.
2387
2388 2000-01-08  Jim Meyering  <meyering@ascend.com>
2389
2390         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
2391         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
2392
2393 2000-01-04  Jim Meyering  <meyering@ascend.com>
2394
2395         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
2396         jm_STRUCT_DIRENT_D_TYPE.
2397         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
2398         jm_STRUCT_DIRENT_D_INO.
2399         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
2400         jm_STRUCT_UTIMBUF.
2401         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
2402         * utime.m4: Likewise.
2403
2404         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
2405         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
2406
2407 2000-01-03  Paul Eggert  <eggert@twinsun.com>
2408
2409         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
2410         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
2411
2412 2000-01-02  Jim Meyering  <meyering@ascend.com>
2413
2414         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
2415         remember if this is necessary.
2416
2417 1999-12-26  Jim Meyering  <meyering@ascend.com>
2418
2419         * jm-macros.m4: Use it here.
2420         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
2421
2422 1999-12-23  Jim Meyering  <meyering@ascend.com>
2423
2424         * jm-macros.m4: Check for clock_gettime (moved from
2425         fileutils/configure.in)
2426         Check for gettimeofday.
2427
2428 1999-12-20  Jim Meyering  <meyering@ascend.com>
2429
2430         * strftime.m4: Remove kludge, now that I'm using the fixed
2431         autoconf-2.14a-1999-12-20.
2432
2433 1999-12-19  Jim Meyering  <meyering@ascend.com>
2434
2435         * lstat-slash.m4: New file.
2436         * jm-macros.m4: Use the new macro:
2437         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2438
2439 1999-12-07  Jim Meyering  <meyering@ascend.com>
2440
2441         * perl.m4: Require that File::Compare be available, too.
2442         Too many systems seem to lack it.
2443
2444         * strftime.m4: Add checks for most of the cpp macros tested in
2445         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
2446
2447 1999-11-18  Paul Eggert  <eggert@twinsun.com>
2448
2449         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
2450         problem with the QNX 4.25 shell, which doesn't propagate exit
2451         status of failed commands inside shell assignments.
2452
2453 1999-11-17  Jim Meyering  <meyering@ascend.com>
2454
2455         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
2456
2457 1999-11-07  Jim Meyering  <meyering@ascend.com>
2458
2459         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
2460
2461 1999-11-06  Jim Meyering  <meyering@ascend.com>
2462
2463         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
2464         * jm-macros.m4 (jm_MACROS): Use it here.
2465
2466 1999-11-05  Jim Meyering  <meyering@ascend.com>
2467
2468         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
2469         of textutils, fileutils, and sh-utils into this one (shared between
2470         those packages) file.
2471         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
2472         AC_STRUCT_ST_BLKSIZE.
2473
2474 1999-11-03  Jim Meyering  <meyering@ascend.com>
2475
2476         * ssize_t.m4: Remove file.  No longer needed since the new version of
2477         AC_CHECK_TYPE checks includes unistd.h.
2478         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
2479         Suggestion from Akim Demaille.
2480
2481 1999-10-30  Jim Meyering  <meyering@ascend.com>
2482
2483         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
2484         m4-quoted string.
2485         * ls-mntd-fs.m4: Likewise.
2486         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
2487         * jm-winsz1.m4: Likewise.
2488
2489         * const.m4: Remove file, since the fix made it into the experimental
2490         version of autoconf.
2491         * mktime.m4: Likewise.
2492
2493         * check-type.m4: Remove file, now that the latest version of
2494         AC_CHECK_TYPE takes a third arg to specify additional #includes.
2495
2496         * ssize_t.m4: New file, requires experimental version of autoconf.
2497         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
2498         AC_CHECK_TYPE.
2499
2500 1999-10-04  Jim Meyering  <meyering@ascend.com>
2501
2502         * jm-macros.m4: Don't require autoconf-2.14.1.
2503
2504 1999-09-22  Paul Eggert  <eggert@twinsun.com>
2505
2506         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
2507         2.95.1 bug with HP-UX 10.20.
2508
2509 1999-09-17  Jim Meyering  <meyering@ascend.com>
2510
2511         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
2512         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
2513         due to missing strdup (against sh-utils-2.0).
2514
2515 1999-08-29  Jim Meyering  <meyering@ascend.com>
2516
2517         * jm-macros.m4: Require jm_BISON.
2518         * bison.m4: New file.
2519
2520 1999-08-17  Paul Eggert  <eggert@twinsun.com>
2521
2522         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
2523         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
2524
2525 1999-08-05  Jim Meyering  <meyering@ascend.com>
2526
2527         * getline.m4: Rename test file from conftestdata to conftest.data
2528         to avoid conflicts with `conftest' on 8+3 filesystems.
2529         Suggestion from Eli Zaretskii.
2530
2531 1999-08-04  Jim Meyering  <meyering@ascend.com>
2532
2533         * jm-macros.m4: Move a 4-line block of code from the configure.in of
2534         fileutils and sh-utils (textutils's getline test was inadequate).
2535         (AM_FUNC_GETLINE): Run this test.
2536         (AC_CHECK_FUNCS): Check for getdelim.
2537         Reported by Bob Proulx.
2538
2539 1999-08-02  Jim Meyering  <meyering@ascend.com>
2540
2541         * jm-macros.m4: Add a comment.
2542
2543 1999-08-01  Jim Meyering  <meyering@ascend.com>
2544
2545         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
2546
2547 1999-08-01  Paul Eggert  <eggert@twinsun.com>
2548
2549         * lfs.m4: Remove this file.
2550         * largefile.m4: New file.  It contains the old contents of
2551         lfs.m4, except that all names with prefix AC_LFS have been
2552         changed to use the prefix AC_SYS_LARGEFILE instead, to be
2553         compatible with future autoconf versions.  Also, some minor m4
2554         quoting problems have been fixed.
2555
2556 1999-07-16  Paul Eggert  <eggert@twinsun.com>
2557
2558         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
2559         that we can shift, multiply and divide unsigned long long
2560         values; Ultrix cc can't do it.
2561
2562 1999-07-14  Paul Eggert  <eggert@twinsun.com>
2563
2564         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
2565         <inttypes.h> defines strtoumax as a macro (and not as a
2566         function).
2567
2568 1999-07-05  Paul Eggert  <eggert@twinsun.com>
2569
2570         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
2571         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
2572         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
2573         and simplify the shell code.
2574
2575 1999-07-03  Paul Eggert  <eggert@twinsun.com>
2576
2577         * mktime.m4: New file, which is a preview of what should appear
2578         in the next public autoconf release.
2579
2580 1999-07-20  Jim Meyering  <meyering@ascend.com>
2581
2582         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
2583
2584 1999-07-15  Jim Meyering  <meyering@ascend.com>
2585
2586         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
2587
2588 1999-05-22  Jim Meyering  <meyering@ascend.com>
2589
2590         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
2591
2592 1999-05-20  Jim Meyering  <meyering@ascend.com>
2593
2594         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
2595         Add a colon after each `then' in case $4 is empty.
2596
2597 1999-05-16  Jim Meyering  <meyering@ascend.com>
2598
2599         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
2600
2601 1999-05-10  Jim Meyering  <meyering@ascend.com>
2602
2603         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
2604
2605         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
2606         AC_FUNC_MKTIME.
2607
2608 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2609
2610         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
2611
2612 1999-05-04  Paul Eggert  <eggert@twinsun.com>
2613
2614         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
2615         not CPPFLAGS, so that linking works correctly in IRIX.
2616
2617 1999-04-30  Paul Eggert  <eggert@twinsun.com>
2618
2619         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
2620
2621 1999-04-20  Jim Meyering  <meyering@ascend.com>
2622
2623         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
2624         AC_REPLACE xstroull if necessary.  From Paul Eggert.
2625         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
2626
2627 1999-04-20  Paul Eggert  <eggert@twinsun.com>
2628
2629         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
2630         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
2631         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
2632         jm_AC_TYPE_UNSIGNED_LONG_LONG.
2633         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
2634
2635         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
2636
2637 1999-04-18  Jim Meyering  <meyering@ascend.com>
2638
2639         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
2640         * jm-macros.m4: Use it.
2641
2642 1999-04-06  Jim Meyering  <meyering@ascend.com>
2643
2644         * strftime.m4: Remove test for %f.
2645
2646 1999-03-29  Jim Meyering  <meyering@ascend.com>
2647
2648         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
2649         superset of the AC_TYPE_* checks in the textutils, fileutils,
2650         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
2651         AC_TYPE_PID_T.
2652
2653 1999-03-28  Jim Meyering  <meyering@ascend.com>
2654
2655         * jm-macros.m4: Define GNU_PACKAGE here.
2656         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
2657         replaced e.g., in the *.sh files of the sh-utils.
2658
2659 1999-03-20  Jim Meyering  <meyering@ascend.com>
2660
2661         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
2662         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
2663         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
2664
2665 1999-03-19  Jim Meyering  <meyering@ascend.com>
2666
2667         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
2668
2669 1999-03-12  Jim Meyering  <meyering@ascend.com>
2670
2671         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
2672
2673 1999-03-07  Jim Meyering  <meyering@ascend.com>
2674
2675         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
2676
2677 1999-02-17  Jim Meyering  <meyering@ascend.com>
2678
2679         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
2680         in macro definition.  From Eli Zaretskii and Alain Magloire.
2681
2682 1999-02-07  Jim Meyering  <meyering@ascend.com>
2683
2684         * group-member.m4: New file -- extracted from sh-utils' configure.in.
2685
2686         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
2687         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
2688
2689 1999-02-06  Jim Meyering  <meyering@ascend.com>
2690
2691         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
2692         * fnmatch.m4: Likewise.
2693         * getgroups.m4: Likewise.
2694         * lstat.m4: Likewise.
2695         * malloc.m4: Likewise.
2696         * putenv.m4: Likewise.
2697         * realloc.m4: Likewise.
2698         * regex.m4: Likewise.
2699         * stat.m4: Likewise.
2700         * strftime.m4: Likewise.
2701         Suggestion from Alain Magloire.
2702
2703         * chown.m4: Use `.$ac_objext', not `.o'.
2704         * fnmatch.m4: Likewise.
2705         * getgroups.m4: Likewise.
2706         * getline.m4: Likewise.
2707         * lstat.m4: Likewise.
2708         * malloc.m4: Likewise.
2709         * memcmp.m4: Likewise.
2710         * putenv.m4: Likewise.
2711         * realloc.m4: Likewise.
2712         * regex.m4: Likewise.
2713         * stat.m4: Likewise.
2714         * strftime.m4: Likewise.
2715         Suggestion from Alain Magloire.
2716
2717         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
2718         an argument.
2719
2720         * regex.m4: Add a run-time Test for proper operation of
2721         re_compile_pattern.
2722
2723 1999-01-31  Jim Meyering  <meyering@ascend.com>
2724
2725         * getloadavg.m4: Check for locale.h and the function, setlocale.
2726
2727 1999-01-30  Jim Meyering  <meyering@ascend.com>
2728
2729         * check-type.m4: Use 3-arg form of AC_DEFINE.
2730
2731         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
2732         rather than my private copy, now that the official one is up to date.
2733         * mktime.m4: Remove file.
2734
2735         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
2736         * uptime.m4: Likewise.
2737         * uintmax_t.m4: Likewise.
2738
2739 1999-01-28  Jim Meyering  <meyering@ascend.com>
2740
2741         * jm-macros.m4: Use jm_AFS.
2742         * afs.m4: New file (from fileutils' configure.in).
2743
2744         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
2745         * chown.m4: Likewise.
2746         * d-ino.m4: Likewise.
2747         * d-type.m4: Likewise.
2748         * fnmatch.m4: Likewise.
2749         * getgroups.m4: Likewise.
2750         * gettext.m4: Likewise.
2751         * jm-mktime.m4: Likewise.
2752         * jm-winsz2.m4: Likewise.
2753         * lcmessage.m4: Likewise.
2754         * ls-mntd-fs.m4: Likewise.
2755         * malloc.m4: Likewise.
2756         * memcmp.m4: Likewise.
2757         * putenv.m4: Likewise.
2758         * realloc.m4: Likewise.
2759         * st_mtim.m4: Likewise.
2760         * strftime.m4: Likewise.
2761
2762 1999-01-16  Jim Meyering  <meyering@ascend.com>
2763
2764         * jm-macros.m4 (ARGMATCH_DIE): Define.
2765         (ARGMATCH_DIE_DECL): Define.
2766
2767 1999-01-12  Jim Meyering  <meyering@ascend.com>
2768
2769         * Makefile.am.in: Rewrite to avoid using fmt.
2770         Reported by Lars Hecking.
2771
2772 1999-01-10  Jim Meyering  <meyering@ascend.com>
2773
2774         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
2775         gross kludge.
2776         * inttypes_h.m4: Likewise.
2777         * lstat.m4: Likewise.
2778         * malloc.m4: Likewise.
2779         * readdir.m4: Likewise.
2780         * realloc.m4: Likewise.
2781         * st_dm_mode.m4: Likewise.
2782         * stat.m4: Likewise.
2783         * utimbuf.m4: Likewise.
2784         * utimes.m4: Likewise.
2785
2786         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
2787         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
2788         comments in config.h.in are meaningful.
2789
2790         * jm-macros.m4: Require autoconf-2.13 here.
2791
2792         * regex.m4: By default, don't use the included regex.c on systems
2793         with glibc 2.  Suggestion from Uli Drepper.
2794
2795 1999-01-02  Jim Meyering  <meyering@ascend.com>
2796
2797         * jm-macros.m4: Replace strcasecmp and strncasecmp.
2798
2799 1998-12-18  Jim Meyering  <meyering@ascend.com>
2800
2801         * Makefile.am.in (Makefile.am): Simplify rule.
2802         Based on a suggestion from Lars Hecking.
2803
2804 1998-11-16  Jim Meyering  <meyering@ascend.com>
2805
2806         * lfs.m4: Double-quote the `uname...` expression.
2807
2808 1998-11-16  Paul Eggert  <eggert@twinsun.com>
2809
2810         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
2811
2812 1998-11-14  Jim Meyering  <meyering@ascend.com>
2813
2814         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
2815         * stat.m4: Likewise.
2816
2817 1998-11-03  Jim Meyering  <meyering@ascend.com>
2818
2819         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
2820         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
2821
2822 1998-10-18  Jim Meyering  <meyering@ascend.com>
2823
2824         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
2825
2826 1998-10-17  Jim Meyering  <meyering@ascend.com>
2827
2828         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
2829         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
2830         calls for those previously hard-coded headers.  Instead, take a new
2831         parameter.
2832         (jm_CHECK_DECLARATIONS): Reflect interface change.
2833         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
2834         (jm_CHECK_DECL_LOCALTIME_R): New macro.
2835
2836         * mktime.m4: Test for spring-forward gap before long-running test.
2837
2838 1998-10-14  Jim Meyering  <meyering@ascend.com>
2839
2840         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
2841         instead of "TZ=America/Vancouver".  From Paul Eggert.
2842
2843 1998-10-11  Jim Meyering  <meyering@ascend.com>
2844
2845         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
2846         This adds a test for a recently added compatibility fix for mktime.c.
2847         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
2848
2849 1998-09-27  Jim Meyering  <meyering@ascend.com>
2850
2851         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
2852
2853         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
2854         ../configure.in, including a change from Gordon Matzigkeit to allow
2855         cross-compiling for the Hurd.
2856
2857         * glibc.m4: New file/macro to test for the GNU C Library
2858         versions 1 and 2.  From Gordon Matzigkeit.
2859         Indent.
2860
2861 1998-09-21  Jim Meyering  <meyering@ascend.com>
2862
2863         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
2864
2865 1998-08-18  Paul Eggert  <eggert@twinsun.com>
2866
2867         Port nanosecond-resolution times to UnixWare 2.1.2 and
2868         pedantic Solaris 2.6.
2869
2870         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
2871         AC_STRUCT_ST_MTIM.
2872         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
2873         Generate name of ns member, instead of just 1 or undef.
2874         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
2875
2876 1998-08-15  Jim Meyering  <meyering@ascend.com>
2877
2878         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
2879         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
2880         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
2881         instead of jm_TYPE_SSIZE_T.
2882
2883 1998-08-12  Jim Meyering  <meyering@ascend.com>
2884
2885         * st_dm_mode.m4: New file.  From Johan Danielsson.
2886
2887 1998-08-02  Jim Meyering  <meyering@ascend.com>
2888
2889         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
2890         in acconfig.h manually.
2891
2892 1998-07-31  Paul Eggert  <eggert@twinsun.com>
2893
2894         * st_mtim.m4: New file.
2895
2896 1998-07-28  Jim Meyering  <meyering@ascend.com>
2897
2898         * utimes.m4: Undef stat.
2899
2900 1998-07-25  Jim Meyering  <meyering@ascend.com>
2901
2902         * utime.m4 (jm_FUNC_UTIME): New file and macro.
2903         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
2904
2905 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
2906
2907         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
2908         uid and gid actually remain unchanged.
2909
2910 1998-07-07  Jim Meyering  <meyering@ascend.com>
2911
2912         * jm-glibc-io.m4: Remove fclose_unlocked.
2913
2914 1998-07-04  Jim Meyering  <meyering@ascend.com>
2915
2916         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
2917         to prove that this macro can be used in packages without regex.c.
2918
2919 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2920
2921         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
2922         is to be used.
2923
2924 1998-07-03  Jim Meyering  <meyering@ascend.com>
2925
2926         * gettext.m4: Add -lintl if it's found to be necessary.
2927
2928         * gettext.m4: New file -- from gettext-0.10.35.
2929         * lcmessage.m4: Likewise.
2930         * progtest.m4: Likewise.
2931
2932         * regex.m4 (jm_WITH_REGEX): New file and macro.
2933         * jm-macros.m4: Require the new macro.
2934
2935 1998-06-29  Jim Meyering  <meyering@ascend.com>
2936
2937         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
2938         for the definition of NGROUPS (used in a system header included
2939         by sys/mount.h).
2940
2941 1998-06-28  Jim Meyering  <meyering@ascend.com>
2942
2943         * ls-mntd-fs.m4: New file.
2944         * fstypename.m4: New file.
2945
2946         * jm-macros.m4: Require the new macro.
2947         * jm-glibc-io.m4: New file.
2948
2949 1998-05-19  Jim Meyering  <meyering@ascend.com>
2950
2951         * jm-macros.m4: Add jm_FUNC_LCHOWN.
2952         * lchown.m4: New file.
2953
2954         * Makefile.am.in: New file.
2955         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
2956
2957 1998-05-14  Jim Meyering  <meyering@ascend.com>
2958
2959         * Makefile.am (EXTRA_DIST): Add them.
2960         * jm-macros.m4: New file.
2961         * utimbuf.m4: New file.
2962
2963 1998-05-12  Jim Meyering  <meyering@ascend.com>
2964
2965         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
2966
2967 1998-05-11  Jim Meyering  <meyering@ascend.com>
2968
2969         * isc-posix.m4: New file.
2970
2971 1998-05-10  Jim Meyering  <meyering@ascend.com>
2972
2973         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
2974
2975 1998-05-09  Jim Meyering  <meyering@ascend.com>
2976
2977         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
2978         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
2979         with automake.
2980
2981         * ssize_t.m4: New file.
2982         * mktime.m4: Remove file -- the new automake has this now.
2983
2984 1998-04-26  Jim Meyering  <meyering@ascend.com>
2985
2986         * assert.m4: New file.
2987         * Makefile.am (EXTRA_DIST): Add assert.m4.
2988
2989 1998-04-05  Jim Meyering  <meyering@ascend.com>
2990
2991         * prereq.m4 (jm_PREREQ_REGEX): New macro.
2992         (jm_PREREQ): Use it here.
2993
2994 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
2995
2996         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
2997         in acconfig.h.
2998
2999 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
3000
3001         * prereq.m4: New file.
3002         * error.m4: New file.
3003         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
3004
3005 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
3006
3007         * getline.m4: Don't set am_cv_func_working_getline before the
3008         cache-check for the same variable -- that defeated the purpose of
3009         the test; the test program was never run.  This was a problem only
3010         on systems with losing getline functions -- HP-UX 10.20 is one.
3011         Reported by Bjorn Helgaas.
3012
3013 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
3014
3015         * Makefile.am (EXTRA_DIST): Add perl.m4.
3016
3017 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
3018
3019         * Makefile.am (EXTRA_DIST): Add const.m4.
3020
3021         * const.m4: New file.  Use an initializer in this declaration
3022         typedef int charset[2]; const charset x;
3023         Reported by Bob Glickstein.
3024
3025 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
3026
3027         * chown.m4: Fix reversed types on -1 args to chown.
3028         From Kaveh Ghazi.
3029
3030 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
3031
3032         * check-decl.m4: s/DECLARATION_/DECL_/g.
3033         Add lseek and memchr.
3034
3035         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
3036         T.E.Dickey <dickey@clark.net> said that some older preprocessors
3037         have a 20-character limit on names.
3038
3039 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
3040
3041         * inttypes_h.m4: New file.
3042         * uintmax_t.m4: New file.
3043         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.