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