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