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