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