aef1bed234740902ba08a742adb4eafc5e71eb6c
[gnulib.git] / m4 / ChangeLog
1 2000-04-03  Jim Meyering  <meyering@lucent.com>
2
3         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4         textutils/configure.in).  Suggestion from Paul Eggert.
5         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
6
7 2000-04-02  Paul Eggert  <eggert@twinsun.com>
8
9         * m4/strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
10         variable in the shell rather than using putenv, which isn't
11         portable.  This avoids the configure-time inter-test dependency
12         on the potentially-renamed putenv function.
13
14 2000-03-30  Paul Eggert  <eggert@twinsun.com>
15
16         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
17         before checking struct stat.st_blksize, so that
18         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
19
20 2000-03-29  Paul Eggert  <eggert@twinsun.com>
21
22         * m4/strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
23         since strftime.c uses HAVE_STRFTIME to decide whether to use
24         the underlying strftime.
25
26 2000-03-10  Jim Meyering  <meyering@lucent.com>
27
28         * lib-check.m4: Look for getspnam in -lgen, too.
29         From Marco Franzen.
30
31 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
32
33         * codeset.m4: New file.
34         * iconv.m4: New file.
35         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
36
37 2000-03-04  Jim Meyering  <meyering@lucent.com>
38
39         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
40         for lib/localcharset.c.
41
42 2000-03-03  Jim Meyering  <meyering@lucent.com>
43
44         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
45
46 2000-03-02  Jim Meyering  <meyering@lucent.com>
47
48         * timespec.m4: Require AC_HEADER_TIME before the cache check so
49         the messages come out on separate lines.
50
51         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
52         rather than jm_CHECK_DECLARATIONS.
53         * decl.m4: Remove now-unused file.
54
55         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
56
57 2000-02-27  Jim Meyering  <meyering@lucent.com>
58
59         * check-decl.m4: Add getenv to the list.
60
61 2000-02-23  Jim Meyering  <meyering@lucent.com>
62
63         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
64         in place of my hack.
65
66 2000-02-10  Jim Meyering  <meyering@lucent.com>
67
68         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
69         gnu_nanosleep to rpl_nanosleep.
70
71 2000-02-09  Jim Meyering  <meyering@lucent.com>
72
73         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
74         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
75
76 2000-02-08  Akim Demaille  <akim@epita.fr>
77
78         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
79         `[' and `]' and remove uses of `changequote'.
80         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
81         (AC_SYS_LARGEFILE): Likewise.
82         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
83         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
84         of changequote.
85         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
86         * readdir.m4 (jm_FUNC_READDIR): Likewise
87         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
88         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
89
90 2000-02-05  Jim Meyering  <meyering@lucent.com>
91
92         * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
93         Remove explicit use of AC_HEADER_TIME.  It is required by
94         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
95         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
96         in autoconf whereby the expansion of the latter ended up preceding
97         the expansion of its prerequisite, AC_HEADER_TIME.
98         Reported by Volker Borchert.
99
100 2000-02-03  Jim Meyering  <meyering@lucent.com>
101
102         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
103
104 2000-02-02  Jim Meyering  <meyering@lucent.com>
105
106         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
107         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
108         Reported by Eli Zaretskii.
109
110 2000-01-31  Jim Meyering  <meyering@lucent.com>
111
112         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
113         functions.  Add the time.h and sys/time.h headers along with the
114         AC_REQUIRE'ment of AC_HEADER_TIME.
115
116 2000-01-30  Jim Meyering  <meyering@lucent.com>
117
118         * lib-check.m4: Clean up some kludgy old shadow password tests.
119
120         * prereq.m4 (utmp_includes): Define.
121         Check for ut_user and ut_name members in both struct utmpx
122         and struct utmp.
123
124 2000-01-29  Jim Meyering  <meyering@lucent.com>
125
126         * lib-check.m4: New file containing library-related checks from
127         fileutils and sh-utils (textutils had none).
128
129 2000-01-28  Jim Meyering  <meyering@lucent.com>
130
131         * perl.m4: Change format of warning message to look more like that
132         from the missing script.  Suggestion from François Pinard.
133
134 2000-01-25  Jim Meyering  <meyering@lucent.com>
135
136         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
137         as time.h in the compile check.
138         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
139         Fix typo in cross-compiling case: s/yes/no/.
140
141 2000-01-23  Jim Meyering  <meyering@lucent.com>
142
143         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
144
145         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
146         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
147
148         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
149         s/space/ac_fsusage_space/.
150         (jm_FILE_SYSTEM_USAGE): Take two parameters.
151
152         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
153         * jm-macros.m4: (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
154         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
155
156         * jm-macros.m4: (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
157         AC_SUBST these here, rather than just in sh-util/configure.in, so
158         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
159         all the same.
160         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
161         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
162         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
163         (AC_SUBST(POW_LIBM)): Likewise.
164         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
165
166 2000-01-22  Jim Meyering  <meyering@lucent.com>
167
168         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
169
170         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
171
172         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
173         configure.in
174         (AC_CHECK_HEADERS): Likewise for sh-utils.
175         (AC_CHECK_HEADERS): Likewise for textutils.
176         Merge the three lists of headers.
177
178         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
179         from fileutils' configure.in.
180
181         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
182         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
183
184         * check-decl.m4: Use #if rather than #ifdef.
185         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
186         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
187         (_jm_DECL_HEADERS): Define new function.
188         (jm_CHECK_DECLARATIONS): Require it.
189
190 2000-01-19  Jim Meyering  <meyering@lucent.com>
191
192         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
193         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
194         defines `struct timespec' in <sys/time.h>
195
196         * c-bs-a.m4: Remove uses of changequote altogether.
197         Thanks to Akim for explaining.
198
199 2000-01-16  Jim Meyering  <meyering@lucent.com>
200
201         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
202         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
203         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
204         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
205
206 2000-01-16  Jim Meyering  <meyering@lucent.com>
207
208         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
209         because the latter didn't work.
210
211 2000-01-15  Jim Meyering  <meyering@lucent.com>
212
213         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
214         (AC_REPLACE_FUNCS): Add memcpy and memset.
215         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
216         Add strpbrk.
217         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
218
219 2000-01-12  Jim Meyering  <meyering@lucent.com>
220
221         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
222         (jm_PREREQ): Use it.
223         (jm_PREREQ_READUTMP): New macro.
224         (jm_PREREQ): Use it.
225
226 2000-01-11  Paul Eggert  <eggert@twinsun.com>
227
228         Quote multibyte characters correctly.
229         * m4/c-bs-a.m4: New file.
230         * m4/prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
231         (jm_PREREQ): Use it.
232
233 2000-01-11  Paul Eggert  <eggert@twinsun.com>
234
235         * m4/uintmax_t.m4: Port to autoconf 2.13.
236
237 2000-01-08  Jim Meyering  <meyering@ascend.com>
238
239         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
240         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
241
242 2000-01-04  Jim Meyering  <meyering@ascend.com>
243
244         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
245         jm_STRUCT_DIRENT_D_TYPE.
246         * d-ino.m4: (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
247         jm_STRUCT_DIRENT_D_INO.
248         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
249         jm_STRUCT_UTIMBUF.
250         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
251         * utime.m4: Likewise.
252
253         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
254         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
255
256 2000-01-03  Paul Eggert  <eggert@twinsun.com>
257
258         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
259         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
260
261 2000-01-02  Jim Meyering  <meyering@ascend.com>
262
263         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
264         remember if this is necessary.
265
266 1999-12-26  Jim Meyering  <meyering@ascend.com>
267
268         * jm-macros.m4: Use it here.
269         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
270
271 1999-12-23  Jim Meyering  <meyering@ascend.com>
272
273         * jm-macros.m4: Check for clock_gettime (moved from
274         fileutils/configure.in)
275         Check for gettimeofday.
276
277 1999-12-20  Jim Meyering  <meyering@ascend.com>
278
279         * strftime.m4: Remove kludge, now that I'm using the fixed
280         autoconf-2.14a-1999-12-20.
281
282 1999-12-19  Jim Meyering  <meyering@ascend.com>
283
284         * lstat-slash.m4: New file.
285         * jm-macros.m4: Use the new macro:
286         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
287
288 1999-12-07  Jim Meyering  <meyering@ascend.com>
289
290         * perl.m4: Require that File::Compare be available, too.
291         Too many systems seem to lack it.
292
293         * strftime.m4: Add checks for most of the cpp macros tested in
294         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
295
296 1999-11-18  Paul Eggert  <eggert@twinsun.com>
297
298         * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
299         problem with the QNX 4.25 shell, which doesn't propagate exit
300         status of failed commands inside shell assignments.
301
302 1999-11-17  Jim Meyering  <meyering@ascend.com>
303
304         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
305
306 1999-11-07  Jim Meyering  <meyering@ascend.com>
307
308         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
309
310 1999-11-06  Jim Meyering  <meyering@ascend.com>
311
312         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
313         * jm-macros.m4 (jm_MACROS): Use it here.
314
315 1999-11-05  Jim Meyering  <meyering@ascend.com>
316
317         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
318         of textutils, fileutils, and sh-utils into this one (shared between
319         those packages) file.
320         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
321         AC_STRUCT_ST_BLKSIZE.
322
323 1999-11-03  Jim Meyering  <meyering@ascend.com>
324
325         * ssize_t.m4: Remove file.  No longer needed since the new version of
326         AC_CHECK_TYPE checks includes unistd.h.
327         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
328         Suggestion from Akim Demaille.
329
330 1999-10-30  Jim Meyering  <meyering@ascend.com>
331
332         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
333         m4-quoted string.
334         * ls-mntd-fs.m4: Likewise.
335         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
336         * jm-winsz1.m4: Likewise.
337
338         * const.m4: Remove file, since the fix made it into the experimental
339         version of autoconf.
340         * mktime.m4: Likewise.
341
342         * check-type.m4: Remove file, now that the latest version of
343         AC_CHECK_TYPE takes a third arg to specify additional #includes.
344
345         * ssize_t.m4: New file, requires experimental version of autoconf.
346         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
347         AC_CHECK_TYPE.
348
349 1999-10-04  Jim Meyering  <meyering@ascend.com>
350
351         * jm-macros.m4: Don't require autoconf-2.14.1.
352
353 1999-09-22  Paul Eggert  <eggert@twinsun.com>
354
355         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
356         2.95.1 bug with HP-UX 10.20.
357
358 1999-09-17  Jim Meyering  <meyering@ascend.com>
359
360         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
361         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
362         due to missing strdup (against sh-utils-2.0).
363
364 1999-08-29  Jim Meyering  <meyering@ascend.com>
365
366         * jm-macros.m4: Require jm_BISON.
367         * bison.m4: New file.
368
369 1999-08-17  Paul Eggert  <eggert@twinsun.com>
370
371         * m4/largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
372         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
373
374 1999-08-05  Jim Meyering  <meyering@ascend.com>
375
376         * getline.m4: Rename test file from conftestdata to conftest.data
377         to avoid conflicts with `conftest' on 8+3 filesystems.
378         Suggestion from Eli Zaretskii.
379
380 1999-08-04  Jim Meyering  <meyering@ascend.com>
381
382         * jm-macros.m4: Move a 4-line block of code from the configure.in of
383         fileutils and sh-utils (textutils's getline test was inadequate).
384         (AM_FUNC_GETLINE): Run this test.
385         (AC_CHECK_FUNCS): Check for getdelim.
386         Reported by Bob Proulx.
387
388 1999-08-02  Jim Meyering  <meyering@ascend.com>
389
390         * jm-macros.m4: Add a comment.
391
392 1999-08-01  Jim Meyering  <meyering@ascend.com>
393
394         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
395
396 1999-08-01  Paul Eggert  <eggert@twinsun.com>
397
398         * lfs.m4: Remove this file.
399         * largefile.m4: New file.  It contains the old contents of
400         lfs.m4, except that all names with prefix AC_LFS have been
401         changed to use the prefix AC_SYS_LARGEFILE instead, to be
402         compatible with future autoconf versions.  Also, some minor m4
403         quoting problems have been fixed.
404
405 1999-07-16  Paul Eggert  <eggert@twinsun.com>
406
407         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
408         that we can shift, multiply and divide unsigned long long
409         values; Ultrix cc can't do it.
410
411 1999-07-14  Paul Eggert  <eggert@twinsun.com>
412
413         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
414         <inttypes.h> defines strtoumax as a macro (and not as a
415         function).
416
417 1999-07-05  Paul Eggert  <eggert@twinsun.com>
418
419         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
420         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
421         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
422         and simplify the shell code.
423
424 1999-07-03  Paul Eggert  <eggert@twinsun.com>
425
426         * mktime.m4: New file, which is a preview of what should appear
427         in the next public autoconf release.
428
429 1999-07-20  Jim Meyering  <meyering@ascend.com>
430
431         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
432
433 1999-07-15  Jim Meyering  <meyering@ascend.com>
434
435         * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
436
437 1999-05-22  Jim Meyering  <meyering@ascend.com>
438
439         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
440
441 1999-05-20  Jim Meyering  <meyering@ascend.com>
442
443         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
444         Add a colon after each `then' in case $4 is empty.
445
446 1999-05-16  Jim Meyering  <meyering@ascend.com>
447
448         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
449
450 1999-05-10  Jim Meyering  <meyering@ascend.com>
451
452         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
453
454         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
455         AC_FUNC_MKTIME.
456
457 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
458
459         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
460
461 1999-05-04  Paul Eggert  <eggert@twinsun.com>
462
463         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
464         not CPPFLAGS, so that linking works correctly in IRIX.
465
466 1999-04-30  Paul Eggert  <eggert@twinsun.com>
467
468         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
469
470 1999-04-20  Jim Meyering  <meyering@ascend.com>
471
472         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
473         AC_REPLACE xstroull if necessary.  From Paul Eggert.
474         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
475
476 1999-04-20  Paul Eggert  <eggert@twinsun.com>
477
478         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
479         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
480         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
481         jm_AC_TYPE_UNSIGNED_LONG_LONG.
482         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
483
484         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
485
486 1999-04-18  Jim Meyering  <meyering@ascend.com>
487
488         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
489         * jm-macros.m4: Use it.
490
491 1999-04-06  Jim Meyering  <meyering@ascend.com>
492
493         * strftime.m4: Remove test for %f.
494
495 1999-03-29  Jim Meyering  <meyering@ascend.com>
496
497         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
498         superset of the AC_TYPE_* checks in the textutils, fileutils,
499         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
500         AC_TYPE_PID_T.
501
502 1999-03-28  Jim Meyering  <meyering@ascend.com>
503
504         * jm-macros.m4: Define GNU_PACKAGE here.
505         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
506         replaced e.g., in the *.sh files of the sh-utils.
507
508 1999-03-20  Jim Meyering  <meyering@ascend.com>
509
510         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
511         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
512         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
513
514 1999-03-19  Jim Meyering  <meyering@ascend.com>
515
516         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
517
518 1999-03-12  Jim Meyering  <meyering@ascend.com>
519
520         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
521
522 1999-03-07  Jim Meyering  <meyering@ascend.com>
523
524         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
525
526 1999-02-17  Jim Meyering  <meyering@ascend.com>
527
528         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
529         in macro definition.  From Eli Zaretskii and Alain Magloire.
530
531 1999-02-07  Jim Meyering  <meyering@ascend.com>
532
533         * group-member.m4: New file -- extracted from sh-utils' configure.in.
534
535         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
536         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
537
538 1999-02-06  Jim Meyering  <meyering@ascend.com>
539
540         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
541         * fnmatch.m4: Likewise.
542         * getgroups.m4: Likewise.
543         * lstat.m4: Likewise.
544         * malloc.m4: Likewise.
545         * putenv.m4: Likewise.
546         * realloc.m4: Likewise.
547         * regex.m4: Likewise.
548         * stat.m4: Likewise.
549         * strftime.m4: Likewise.
550         Suggestion from Alain Magloire.
551
552         * chown.m4: Use `.$ac_objext', not `.o'.
553         * fnmatch.m4: Likewise.
554         * getgroups.m4: Likewise.
555         * getline.m4: Likewise.
556         * lstat.m4: Likewise.
557         * malloc.m4: Likewise.
558         * memcmp.m4: Likewise.
559         * putenv.m4: Likewise.
560         * realloc.m4: Likewise.
561         * regex.m4: Likewise.
562         * stat.m4: Likewise.
563         * strftime.m4: Likewise.
564         Suggestion from Alain Magloire.
565
566         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
567         an argument.
568
569         * regex.m4: Add a run-time Test for proper operation of
570         re_compile_pattern.
571
572 1999-01-31  Jim Meyering  <meyering@ascend.com>
573
574         * getloadavg.m4: Check for locale.h and the function, setlocale.
575
576 1999-01-30  Jim Meyering  <meyering@ascend.com>
577
578         * check-type.m4: Use 3-arg form of AC_DEFINE.
579
580         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
581         rather than my private copy, now that the official one is up to date.
582         * mktime.m4: Remove file.
583
584         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
585         * uptime.m4: Likewise.
586         * uintmax_t.m4: Likewise.
587
588 1999-01-28  Jim Meyering  <meyering@ascend.com>
589
590         * jm-macros.m4: Use jm_AFS.
591         * afs.m4: New file (from fileutils' configure.in).
592
593         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
594         * chown.m4: Likewise.
595         * d-ino.m4: Likewise.
596         * d-type.m4: Likewise.
597         * fnmatch.m4: Likewise.
598         * getgroups.m4: Likewise.
599         * gettext.m4: Likewise.
600         * jm-mktime.m4: Likewise.
601         * jm-winsz2.m4: Likewise.
602         * lcmessage.m4: Likewise.
603         * ls-mntd-fs.m4: Likewise.
604         * malloc.m4: Likewise.
605         * memcmp.m4: Likewise.
606         * putenv.m4: Likewise.
607         * realloc.m4: Likewise.
608         * st_mtim.m4: Likewise.
609         * strftime.m4: Likewise.
610
611 1999-01-16  Jim Meyering  <meyering@ascend.com>
612
613         * jm-macros.m4 (ARGMATCH_DIE): Define.
614         (ARGMATCH_DIE_DECL): Define.
615
616 1999-01-12  Jim Meyering  <meyering@ascend.com>
617
618         * Makefile.am.in: Rewrite to avoid using fmt.
619         Reported by Lars Hecking.
620
621 1999-01-10  Jim Meyering  <meyering@ascend.com>
622
623         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
624         gross kludge.
625         * inttypes_h.m4: Likewise.
626         * lstat.m4: Likewise.
627         * malloc.m4: Likewise.
628         * readdir.m4: Likewise.
629         * realloc.m4: Likewise.
630         * st_dm_mode.m4: Likewise.
631         * stat.m4: Likewise.
632         * utimbuf.m4: Likewise.
633         * utimes.m4: Likewise.
634
635         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
636         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
637         comments in config.h.in are meaningful.
638
639         * jm-macros.m4: Require autoconf-2.13 here.
640
641         * regex.m4: By default, don't use the included regex.c on systems
642         with glibc 2.  Suggestion from Uli Drepper.
643
644 1999-01-02  Jim Meyering  <meyering@ascend.com>
645
646         * jm-macros.m4: Replace strcasecmp and strncasecmp.
647
648 1998-12-18  Jim Meyering  <meyering@ascend.com>
649
650         * Makefile.am.in (Makefile.am): Simplify rule.
651         Based on a suggestion from Lars Hecking.
652
653 1998-11-16  Jim Meyering  <meyering@ascend.com>
654
655         * lfs.m4: Double-quote the `uname...` expression.
656
657 1998-11-16  Paul Eggert  <eggert@twinsun.com>
658
659         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
660
661 1998-11-14  Jim Meyering  <meyering@ascend.com>
662
663         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
664         * stat.m4: Likewise.
665
666 1998-11-03  Jim Meyering  <meyering@ascend.com>
667
668         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
669         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
670
671 1998-10-18  Jim Meyering  <meyering@ascend.com>
672
673         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
674
675 1998-10-17  Jim Meyering  <meyering@ascend.com>
676
677         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
678         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
679         calls for those previously hard-coded headers.  Instead, take a new
680         parameter.
681         (jm_CHECK_DECLARATIONS): Reflect interface change.
682         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
683         (jm_CHECK_DECL_LOCALTIME_R): New macro.
684
685         * mktime.m4: Test for spring-forward gap before long-running test.
686
687 1998-10-14  Jim Meyering  <meyering@ascend.com>
688
689         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
690         instead of "TZ=America/Vancouver".  From Paul Eggert.
691
692 1998-10-11  Jim Meyering  <meyering@ascend.com>
693
694         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
695         This adds a test for a recently added compatibility fix for mktime.c.
696         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
697
698 1998-09-27  Jim Meyering  <meyering@ascend.com>
699
700         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
701
702         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
703         ../configure.in, including a change from Gordon Matzigkeit to allow
704         cross-compiling for the Hurd.
705
706         * glibc.m4: New file/macro to test for the GNU C Library
707         versions 1 and 2.  From Gordon Matzigkeit.
708         Indent.
709
710 1998-09-21  Jim Meyering  <meyering@ascend.com>
711
712         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
713
714 1998-08-18  Paul Eggert  <eggert@twinsun.com>
715
716         Port nanosecond-resolution times to UnixWare 2.1.2 and
717         pedantic Solaris 2.6.
718
719         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
720         AC_STRUCT_ST_MTIM.
721         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
722         Generate name of ns member, instead of just 1 or undef.
723         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
724
725 1998-08-15  Jim Meyering  <meyering@ascend.com>
726
727         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
728         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
729         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
730         instead of jm_TYPE_SSIZE_T.
731
732 1998-08-12  Jim Meyering  <meyering@ascend.com>
733
734         * st_dm_mode.m4: New file.  From Johan Danielsson.
735
736 1998-08-02  Jim Meyering  <meyering@ascend.com>
737
738         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
739         in acconfig.h manually.
740
741 1998-07-31  Paul Eggert  <eggert@twinsun.com>
742
743         * st_mtim.m4: New file.
744
745 1998-07-28  Jim Meyering  <meyering@ascend.com>
746
747         * utimes.m4: Undef stat.
748
749 1998-07-25  Jim Meyering  <meyering@ascend.com>
750
751         * utime.m4 (jm_FUNC_UTIME): New file and macro.
752         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
753
754 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
755
756         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
757         uid and gid actually remain unchanged.
758
759 1998-07-07  Jim Meyering  <meyering@ascend.com>
760
761         * jm-glibc-io.m4: Remove fclose_unlocked.
762
763 1998-07-04  Jim Meyering  <meyering@ascend.com>
764
765         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
766         to prove that this macro can be used in packages without regex.c.
767
768 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
769
770         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
771         is to be used.
772
773 1998-07-03  Jim Meyering  <meyering@ascend.com>
774
775         * gettext.m4: Add -lintl if it's found to be necessary.
776
777         * gettext.m4: New file -- from gettext-0.10.35.
778         * lcmessage.m4: Likewise.
779         * progtest.m4: Likewise.
780
781         * regex.m4 (jm_WITH_REGEX): New file and macro.
782         * jm-macros.m4: Require the new macro.
783
784 1998-06-29  Jim Meyering  <meyering@ascend.com>
785
786         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
787         for the definition of NGROUPS (used in a system header included
788         by sys/mount.h).
789
790 1998-06-28  Jim Meyering  <meyering@ascend.com>
791
792         * ls-mntd-fs.m4: New file.
793         * fstypename.m4: New file.
794
795         * jm-macros.m4: Require the new macro.
796         * jm-glibc-io.m4: New file.
797
798 1998-05-19  Jim Meyering  <meyering@ascend.com>
799
800         * jm-macros.m4: Add jm_FUNC_LCHOWN.
801         * lchown.m4: New file.
802
803         * Makefile.am.in: New file.
804         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
805
806 1998-05-14  Jim Meyering  <meyering@ascend.com>
807
808         * Makefile.am (EXTRA_DIST): Add them.
809         * jm-macros.m4: New file.
810         * utimbuf.m4: New file.
811
812 1998-05-12  Jim Meyering  <meyering@ascend.com>
813
814         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
815
816 1998-05-11  Jim Meyering  <meyering@ascend.com>
817
818         * isc-posix.m4: New file.
819
820 1998-05-10  Jim Meyering  <meyering@ascend.com>
821
822         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
823
824 1998-05-09  Jim Meyering  <meyering@ascend.com>
825
826         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
827         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
828         with automake.
829
830         * ssize_t.m4: New file.
831         * mktime.m4: Remove file -- the new automake has this now.
832
833 1998-04-26  Jim Meyering  <meyering@ascend.com>
834
835         * assert.m4: New file.
836         * Makefile.am (EXTRA_DIST): Add assert.m4.
837
838 1998-04-05  Jim Meyering  <meyering@ascend.com>
839
840         * prereq.m4 (jm_PREREQ_REGEX): New macro.
841         (jm_PREREQ): Use it here.
842
843 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
844
845         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
846         in acconfig.h.
847
848 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
849
850         * prereq.m4: New file.
851         * error.m4: New file.
852         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
853
854 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
855
856         * getline.m4: Don't set am_cv_func_working_getline before the
857         cache-check for the same variable -- that defeated the purpose of
858         the test; the test program was never run.  This was a problem only
859         on systems with losing getline functions -- HP-UX 10.20 is one.
860         Reported by Bjorn Helgaas.
861
862 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
863
864         * Makefile.am (EXTRA_DIST): Add perl.m4.
865
866 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
867
868         * Makefile.am (EXTRA_DIST): Add const.m4.
869
870         * const.m4: New file.  Use an initializer in this declaration
871         typedef int charset[2]; const charset x;
872         Reported by Bob Glickstein.
873
874 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
875
876         * chown.m4: Fix reversed types on -1 args to chown.
877         From Kaveh Ghazi.
878
879 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
880
881         * check-decl.m4: s/DECLARATION_/DECL_/g.
882         Add lseek and memchr.
883
884         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
885         T.E.Dickey <dickey@clark.net> said that some older preprocessors
886         have a 20-character limit on names.
887
888 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
889
890         * inttypes_h.m4: New file.
891         * uintmax_t.m4: New file.
892         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.