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