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