01b72034fd3a264d00d9d5d178f4d4821d4dd70a
[gnulib.git] / m4 / ChangeLog
1 1999-08-04  Jim Meyering  <meyering@ascend.com>
2
3         * jm-macros.m4: Move a 4-line block of code from the configure.in of
4         fileutils and sh-utils (textutils's getline test was inadequate).
5         (AM_FUNC_GETLINE): Run this test.
6         (AC_CHECK_FUNCS): Check for getdelim.
7         Reported by Bob Proulx.
8
9 1999-08-02  Jim Meyering  <meyering@ascend.com>
10
11         * jm-macros.m4: Add a comment.
12
13 1999-08-01  Jim Meyering  <meyering@ascend.com>
14
15         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
16
17 1999-08-01  Paul Eggert  <eggert@twinsun.com>
18
19         * lfs.m4: Remove this file.
20         * largefile.m4: New file.  It contains the old contents of
21         lfs.m4, except that all names with prefix AC_LFS have been
22         changed to use the prefix AC_SYS_LARGEFILE instead, to be
23         compatible with future autoconf versions.  Also, some minor m4
24         quoting problems have been fixed.
25
26 1999-07-16  Paul Eggert  <eggert@twinsun.com>
27
28         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
29         that we can shift, multiply and divide unsigned long long
30         values; Ultrix cc can't do it.
31
32 1999-07-14  Paul Eggert  <eggert@twinsun.com>
33
34         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
35         <inttypes.h> defines strtoumax as a macro (and not as a
36         function).
37
38 1999-07-05  Paul Eggert  <eggert@twinsun.com>
39
40         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
41         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
42         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
43         and simplify the shell code.
44
45 1999-07-03  Paul Eggert  <eggert@twinsun.com>
46
47         * mktime.m4: New file, which is a preview of what should appear
48         in the next public autoconf release.
49
50 1999-07-20  Jim Meyering  <meyering@ascend.com>
51
52         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
53
54 1999-07-15  Jim Meyering  <meyering@ascend.com>
55
56         * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
57
58 1999-05-22  Jim Meyering  <meyering@ascend.com>
59
60         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
61
62 1999-05-20  Jim Meyering  <meyering@ascend.com>
63
64         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
65         Add a colon after each `then' in case $4 is empty.
66
67 1999-05-16  Jim Meyering  <meyering@ascend.com>
68
69         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
70
71 1999-05-10  Jim Meyering  <meyering@ascend.com>
72
73         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
74
75         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
76         AC_FUNC_MKTIME.
77
78 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
79
80         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
81
82 1999-05-04  Paul Eggert  <eggert@twinsun.com>
83
84         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
85         not CPPFLAGS, so that linking works correctly in IRIX.
86
87 1999-04-30  Paul Eggert  <eggert@twinsun.com>
88
89         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
90
91 1999-04-20  Jim Meyering  <meyering@ascend.com>
92
93         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
94         AC_REPLACE xstroull if necessary.  From Paul Eggert.
95         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
96
97 1999-04-20  Paul Eggert  <eggert@twinsun.com>
98
99         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
100         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
101         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
102         jm_AC_TYPE_UNSIGNED_LONG_LONG.
103         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
104
105         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
106
107 1999-04-18  Jim Meyering  <meyering@ascend.com>
108
109         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
110         * jm-macros.m4: Use it.
111
112 1999-04-06  Jim Meyering  <meyering@ascend.com>
113
114         * strftime.m4: Remove test for %f.
115
116 1999-03-29  Jim Meyering  <meyering@ascend.com>
117
118         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
119         superset of the AC_TYPE_* checks in the textutils, fileutils,
120         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
121         AC_TYPE_PID_T.
122
123 1999-03-28  Jim Meyering  <meyering@ascend.com>
124
125         * jm-macros.m4: Define GNU_PACKAGE here.
126         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
127         replaced e.g., in the *.sh files of the sh-utils.
128
129 1999-03-20  Jim Meyering  <meyering@ascend.com>
130
131         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
132         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
133         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
134
135 1999-03-19  Jim Meyering  <meyering@ascend.com>
136
137         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
138
139 1999-03-12  Jim Meyering  <meyering@ascend.com>
140
141         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
142
143 1999-03-07  Jim Meyering  <meyering@ascend.com>
144
145         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
146
147 1999-02-17  Jim Meyering  <meyering@ascend.com>
148
149         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
150         in macro definition.  From Eli Zaretskii and Alain Magloire.
151
152 1999-02-07  Jim Meyering  <meyering@ascend.com>
153
154         * group-member.m4: New file -- extracted from sh-utils' configure.in.
155
156         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
157         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
158
159 1999-02-06  Jim Meyering  <meyering@ascend.com>
160
161         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
162         * fnmatch.m4: Likewise.
163         * getgroups.m4: Likewise.
164         * lstat.m4: Likewise.
165         * malloc.m4: Likewise.
166         * putenv.m4: Likewise.
167         * realloc.m4: Likewise.
168         * regex.m4: Likewise.
169         * stat.m4: Likewise.
170         * strftime.m4: Likewise.
171         Suggestion from Alain Magloire.
172
173         * chown.m4: Use `.$ac_objext', not `.o'.
174         * fnmatch.m4: Likewise.
175         * getgroups.m4: Likewise.
176         * getline.m4: Likewise.
177         * lstat.m4: Likewise.
178         * malloc.m4: Likewise.
179         * memcmp.m4: Likewise.
180         * putenv.m4: Likewise.
181         * realloc.m4: Likewise.
182         * regex.m4: Likewise.
183         * stat.m4: Likewise.
184         * strftime.m4: Likewise.
185         Suggestion from Alain Magloire.
186
187         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
188         an argument.
189
190         * regex.m4: Add a run-time Test for proper operation of
191         re_compile_pattern.
192
193 1999-01-31  Jim Meyering  <meyering@ascend.com>
194
195         * getloadavg.m4: Check for locale.h and the function, setlocale.
196
197 1999-01-30  Jim Meyering  <meyering@ascend.com>
198
199         * check-type.m4: Use 3-arg form of AC_DEFINE.
200
201         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
202         rather than my private copy, now that the official one is up to date.
203         * mktime.m4: Remove file.
204
205         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
206         * uptime.m4: Likewise.
207         * uintmax_t.m4: Likewise.
208
209 1999-01-28  Jim Meyering  <meyering@ascend.com>
210
211         * jm-macros.m4: Use jm_AFS.
212         * afs.m4: New file (from fileutils' configure.in).
213
214         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
215         * chown.m4: Likewise.
216         * d-ino.m4: Likewise.
217         * d-type.m4: Likewise.
218         * fnmatch.m4: Likewise.
219         * getgroups.m4: Likewise.
220         * gettext.m4: Likewise.
221         * jm-mktime.m4: Likewise.
222         * jm-winsz2.m4: Likewise.
223         * lcmessage.m4: Likewise.
224         * ls-mntd-fs.m4: Likewise.
225         * malloc.m4: Likewise.
226         * memcmp.m4: Likewise.
227         * putenv.m4: Likewise.
228         * realloc.m4: Likewise.
229         * st_mtim.m4: Likewise.
230         * strftime.m4: Likewise.
231
232 1999-01-16  Jim Meyering  <meyering@ascend.com>
233
234         * jm-macros.m4 (ARGMATCH_DIE): Define.
235         (ARGMATCH_DIE_DECL): Define.
236
237 1999-01-12  Jim Meyering  <meyering@ascend.com>
238
239         * Makefile.am.in: Rewrite to avoid using fmt.
240         Reported by Lars Hecking.
241
242 1999-01-10  Jim Meyering  <meyering@ascend.com>
243
244         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
245         gross kludge.
246         * inttypes_h.m4: Likewise.
247         * lstat.m4: Likewise.
248         * malloc.m4: Likewise.
249         * readdir.m4: Likewise.
250         * realloc.m4: Likewise.
251         * st_dm_mode.m4: Likewise.
252         * stat.m4: Likewise.
253         * utimbuf.m4: Likewise.
254         * utimes.m4: Likewise.
255
256         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
257         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
258         comments in config.h.in are meaningful.
259
260         * jm-macros.m4: Require autoconf-2.13 here.
261
262         * regex.m4: By default, don't use the included regex.c on systems
263         with glibc 2.  Suggestion from Uli Drepper.
264
265 1999-01-02  Jim Meyering  <meyering@ascend.com>
266
267         * jm-macros.m4: Replace strcasecmp and strncasecmp.
268
269 1998-12-18  Jim Meyering  <meyering@ascend.com>
270
271         * Makefile.am.in (Makefile.am): Simplify rule.
272         Based on a suggestion from Lars Hecking.
273
274 1998-11-16  Jim Meyering  <meyering@ascend.com>
275
276         * lfs.m4: Double-quote the `uname...` expression.
277
278 1998-11-16  Paul Eggert  <eggert@twinsun.com>
279
280         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
281
282 1998-11-14  Jim Meyering  <meyering@ascend.com>
283
284         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
285         * stat.m4: Likewise.
286
287 1998-11-03  Jim Meyering  <meyering@ascend.com>
288
289         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
290         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
291
292 1998-10-18  Jim Meyering  <meyering@ascend.com>
293
294         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
295
296 1998-10-17  Jim Meyering  <meyering@ascend.com>
297
298         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
299         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
300         calls for those previously hard-coded headers.  Instead, take a new
301         parameter.
302         (jm_CHECK_DECLARATIONS): Reflect interface change.
303         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
304         (jm_CHECK_DECL_LOCALTIME_R): New macro.
305
306         * mktime.m4: Test for spring-forward gap before long-running test.
307
308 1998-10-14  Jim Meyering  <meyering@ascend.com>
309
310         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
311         instead of "TZ=America/Vancouver".  From Paul Eggert.
312
313 1998-10-11  Jim Meyering  <meyering@ascend.com>
314
315         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
316         This adds a test for a recently added compatibility fix for mktime.c.
317         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
318
319 1998-09-27  Jim Meyering  <meyering@ascend.com>
320
321         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
322
323         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
324         ../configure.in, including a change from Gordon Matzigkeit to allow
325         cross-compiling for the Hurd.
326
327         * glibc.m4: New file/macro to test for the GNU C Library
328         versions 1 and 2.  From Gordon Matzigkeit.
329         Indent.
330
331 1998-09-21  Jim Meyering  <meyering@ascend.com>
332
333         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
334
335 1998-08-18  Paul Eggert  <eggert@twinsun.com>
336
337         Port nanosecond-resolution times to UnixWare 2.1.2 and
338         pedantic Solaris 2.6.
339
340         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
341         AC_STRUCT_ST_MTIM.
342         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
343         Generate name of ns member, instead of just 1 or undef.
344         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
345
346 1998-08-15  Jim Meyering  <meyering@ascend.com>
347
348         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
349         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
350         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
351         instead of jm_TYPE_SSIZE_T.
352
353 1998-08-12  Jim Meyering  <meyering@ascend.com>
354
355         * st_dm_mode.m4: New file.  From Johan Danielsson.
356
357 1998-08-02  Jim Meyering  <meyering@ascend.com>
358
359         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
360         in acconfig.h manually.
361
362 1998-07-31  Paul Eggert  <eggert@twinsun.com>
363
364         * st_mtim.m4: New file.
365
366 1998-07-28  Jim Meyering  <meyering@ascend.com>
367
368         * utimes.m4: Undef stat.
369
370 1998-07-25  Jim Meyering  <meyering@ascend.com>
371
372         * utime.m4 (jm_FUNC_UTIME): New file and macro.
373         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
374
375 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
376
377         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
378         uid and gid actually remain unchanged.
379
380 1998-07-07  Jim Meyering  <meyering@ascend.com>
381
382         * jm-glibc-io.m4: Remove fclose_unlocked.
383
384 1998-07-04  Jim Meyering  <meyering@ascend.com>
385
386         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
387         to prove that this macro can be used in packages without regex.c.
388
389 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
390
391         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
392         is to be used.
393
394 1998-07-03  Jim Meyering  <meyering@ascend.com>
395
396         * gettext.m4: Add -lintl if it's found to be necessary.
397
398         * gettext.m4: New file -- from gettext-0.10.35.
399         * lcmessage.m4: Likewise.
400         * progtest.m4: Likewise.
401
402         * regex.m4 (jm_WITH_REGEX): New file and macro.
403         * jm-macros.m4: Require the new macro.
404
405 1998-06-29  Jim Meyering  <meyering@ascend.com>
406
407         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
408         for the definition of NGROUPS (used in a system header included
409         by sys/mount.h).
410
411 1998-06-28  Jim Meyering  <meyering@ascend.com>
412
413         * ls-mntd-fs.m4: New file.
414         * fstypename.m4: New file.
415
416         * jm-macros.m4: Require the new macro.
417         * jm-glibc-io.m4: New file.
418
419 1998-05-19  Jim Meyering  <meyering@ascend.com>
420
421         * jm-macros.m4: Add jm_FUNC_LCHOWN.
422         * lchown.m4: New file.
423
424         * Makefile.am.in: New file.
425         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
426
427 1998-05-14  Jim Meyering  <meyering@ascend.com>
428
429         * Makefile.am (EXTRA_DIST): Add them.
430         * jm-macros.m4: New file.
431         * utimbuf.m4: New file.
432
433 1998-05-12  Jim Meyering  <meyering@ascend.com>
434
435         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
436
437 1998-05-11  Jim Meyering  <meyering@ascend.com>
438
439         * isc-posix.m4: New file.
440
441 1998-05-10  Jim Meyering  <meyering@ascend.com>
442
443         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
444
445 1998-05-09  Jim Meyering  <meyering@ascend.com>
446
447         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
448         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
449         with automake.
450
451         * ssize_t.m4: New file.
452         * mktime.m4: Remove file -- the new automake has this now.
453
454 1998-04-26  Jim Meyering  <meyering@ascend.com>
455
456         * assert.m4: New file.
457         * Makefile.am (EXTRA_DIST): Add assert.m4.
458
459 1998-04-05  Jim Meyering  <meyering@ascend.com>
460
461         * prereq.m4 (jm_PREREQ_REGEX): New macro.
462         (jm_PREREQ): Use it here.
463
464 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
465
466         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
467         in acconfig.h.
468
469 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
470
471         * prereq.m4: New file.
472         * error.m4: New file.
473         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
474
475 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
476
477         * getline.m4: Don't set am_cv_func_working_getline before the
478         cache-check for the same variable -- that defeated the purpose of
479         the test; the test program was never run.  This was a problem only
480         on systems with losing getline functions -- HP-UX 10.20 is one.
481         Reported by Bjorn Helgaas.
482
483 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
484
485         * Makefile.am (EXTRA_DIST): Add perl.m4.
486
487 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
488
489         * Makefile.am (EXTRA_DIST): Add const.m4.
490
491         * const.m4: New file.  Use an initializer in this declaration
492         typedef int charset[2]; const charset x;
493         Reported by Bob Glickstein.
494
495 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
496
497         * chown.m4: Fix reversed types on -1 args to chown.
498         From Kaveh Ghazi.
499
500 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
501
502         * check-decl.m4: s/DECLARATION_/DECL_/g.
503         Add lseek and memchr.
504
505         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
506         T.E.Dickey <dickey@clark.net> said that some older preprocessors
507         have a 20-character limit on names.
508
509 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
510
511         * inttypes_h.m4: New file.
512         * uintmax_t.m4: New file.
513         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.