1 1999-11-18 Paul Eggert <eggert@twinsun.com>
3 * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4 problem with the QNX 4.25 shell, which doesn't propagate exit
5 status of failed commands inside shell assignments.
7 1999-11-17 Jim Meyering <meyering@ascend.com>
9 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
11 1999-11-07 Jim Meyering <meyering@ascend.com>
13 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
15 1999-11-06 Jim Meyering <meyering@ascend.com>
17 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
18 * jm-macros.m4 (jm_MACROS): Use it here.
20 1999-11-05 Jim Meyering <meyering@ascend.com>
22 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
23 of textutils, fileutils, and sh-utils into this one (shared between
25 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
28 1999-11-03 Jim Meyering <meyering@ascend.com>
30 * ssize_t.m4: Remove file. No longer needed since the new version of
31 AC_CHECK_TYPE checks includes unistd.h.
32 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
33 Suggestion from Akim Demaille.
35 1999-10-30 Jim Meyering <meyering@ascend.com>
37 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
39 * ls-mntd-fs.m4: Likewise.
40 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
41 * jm-winsz1.m4: Likewise.
43 * const.m4: Remove file, since the fix made it into the experimental
45 * mktime.m4: Likewise.
47 * check-type.m4: Remove file, now that the latest version of
48 AC_CHECK_TYPE takes a third arg to specify additional #includes.
50 * ssize_t.m4: New file, requires experimental version of autoconf.
51 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
54 1999-10-04 Jim Meyering <meyering@ascend.com>
56 * jm-macros.m4: Don't require autoconf-2.14.1.
58 1999-09-22 Paul Eggert <eggert@twinsun.com>
60 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
61 2.95.1 bug with HP-UX 10.20.
63 1999-09-17 Jim Meyering <meyering@ascend.com>
65 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
66 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
67 due to missing strdup (against sh-utils-2.0).
69 1999-08-29 Jim Meyering <meyering@ascend.com>
71 * jm-macros.m4: Require jm_BISON.
74 1999-08-17 Paul Eggert <eggert@twinsun.com>
76 * m4/largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
77 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
79 1999-08-05 Jim Meyering <meyering@ascend.com>
81 * getline.m4: Rename test file from conftestdata to conftest.data
82 to avoid conflicts with `conftest' on 8+3 filesystems.
83 Suggestion from Eli Zaretskii.
85 1999-08-04 Jim Meyering <meyering@ascend.com>
87 * jm-macros.m4: Move a 4-line block of code from the configure.in of
88 fileutils and sh-utils (textutils's getline test was inadequate).
89 (AM_FUNC_GETLINE): Run this test.
90 (AC_CHECK_FUNCS): Check for getdelim.
91 Reported by Bob Proulx.
93 1999-08-02 Jim Meyering <meyering@ascend.com>
95 * jm-macros.m4: Add a comment.
97 1999-08-01 Jim Meyering <meyering@ascend.com>
99 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
101 1999-08-01 Paul Eggert <eggert@twinsun.com>
103 * lfs.m4: Remove this file.
104 * largefile.m4: New file. It contains the old contents of
105 lfs.m4, except that all names with prefix AC_LFS have been
106 changed to use the prefix AC_SYS_LARGEFILE instead, to be
107 compatible with future autoconf versions. Also, some minor m4
108 quoting problems have been fixed.
110 1999-07-16 Paul Eggert <eggert@twinsun.com>
112 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
113 that we can shift, multiply and divide unsigned long long
114 values; Ultrix cc can't do it.
116 1999-07-14 Paul Eggert <eggert@twinsun.com>
118 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
119 <inttypes.h> defines strtoumax as a macro (and not as a
122 1999-07-05 Paul Eggert <eggert@twinsun.com>
124 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
125 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
126 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
127 and simplify the shell code.
129 1999-07-03 Paul Eggert <eggert@twinsun.com>
131 * mktime.m4: New file, which is a preview of what should appear
132 in the next public autoconf release.
134 1999-07-20 Jim Meyering <meyering@ascend.com>
136 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
138 1999-07-15 Jim Meyering <meyering@ascend.com>
140 * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
142 1999-05-22 Jim Meyering <meyering@ascend.com>
144 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
146 1999-05-20 Jim Meyering <meyering@ascend.com>
148 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
149 Add a colon after each `then' in case $4 is empty.
151 1999-05-16 Jim Meyering <meyering@ascend.com>
153 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
155 1999-05-10 Jim Meyering <meyering@ascend.com>
157 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
159 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
162 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
164 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
166 1999-05-04 Paul Eggert <eggert@twinsun.com>
168 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
169 not CPPFLAGS, so that linking works correctly in IRIX.
171 1999-04-30 Paul Eggert <eggert@twinsun.com>
173 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
175 1999-04-20 Jim Meyering <meyering@ascend.com>
177 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
178 AC_REPLACE xstroull if necessary. From Paul Eggert.
179 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
181 1999-04-20 Paul Eggert <eggert@twinsun.com>
183 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
184 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
185 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
186 jm_AC_TYPE_UNSIGNED_LONG_LONG.
187 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
189 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
191 1999-04-18 Jim Meyering <meyering@ascend.com>
193 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
194 * jm-macros.m4: Use it.
196 1999-04-06 Jim Meyering <meyering@ascend.com>
198 * strftime.m4: Remove test for %f.
200 1999-03-29 Jim Meyering <meyering@ascend.com>
202 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
203 superset of the AC_TYPE_* checks in the textutils, fileutils,
204 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
207 1999-03-28 Jim Meyering <meyering@ascend.com>
209 * jm-macros.m4: Define GNU_PACKAGE here.
210 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
211 replaced e.g., in the *.sh files of the sh-utils.
213 1999-03-20 Jim Meyering <meyering@ascend.com>
215 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
216 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
217 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
219 1999-03-19 Jim Meyering <meyering@ascend.com>
221 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
223 1999-03-12 Jim Meyering <meyering@ascend.com>
225 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
227 1999-03-07 Jim Meyering <meyering@ascend.com>
229 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
231 1999-02-17 Jim Meyering <meyering@ascend.com>
233 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
234 in macro definition. From Eli Zaretskii and Alain Magloire.
236 1999-02-07 Jim Meyering <meyering@ascend.com>
238 * group-member.m4: New file -- extracted from sh-utils' configure.in.
240 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
241 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
243 1999-02-06 Jim Meyering <meyering@ascend.com>
245 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
246 * fnmatch.m4: Likewise.
247 * getgroups.m4: Likewise.
248 * lstat.m4: Likewise.
249 * malloc.m4: Likewise.
250 * putenv.m4: Likewise.
251 * realloc.m4: Likewise.
252 * regex.m4: Likewise.
254 * strftime.m4: Likewise.
255 Suggestion from Alain Magloire.
257 * chown.m4: Use `.$ac_objext', not `.o'.
258 * fnmatch.m4: Likewise.
259 * getgroups.m4: Likewise.
260 * getline.m4: Likewise.
261 * lstat.m4: Likewise.
262 * malloc.m4: Likewise.
263 * memcmp.m4: Likewise.
264 * putenv.m4: Likewise.
265 * realloc.m4: Likewise.
266 * regex.m4: Likewise.
268 * strftime.m4: Likewise.
269 Suggestion from Alain Magloire.
271 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
274 * regex.m4: Add a run-time Test for proper operation of
277 1999-01-31 Jim Meyering <meyering@ascend.com>
279 * getloadavg.m4: Check for locale.h and the function, setlocale.
281 1999-01-30 Jim Meyering <meyering@ascend.com>
283 * check-type.m4: Use 3-arg form of AC_DEFINE.
285 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
286 rather than my private copy, now that the official one is up to date.
287 * mktime.m4: Remove file.
289 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
290 * uptime.m4: Likewise.
291 * uintmax_t.m4: Likewise.
293 1999-01-28 Jim Meyering <meyering@ascend.com>
295 * jm-macros.m4: Use jm_AFS.
296 * afs.m4: New file (from fileutils' configure.in).
298 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
299 * chown.m4: Likewise.
300 * d-ino.m4: Likewise.
301 * d-type.m4: Likewise.
302 * fnmatch.m4: Likewise.
303 * getgroups.m4: Likewise.
304 * gettext.m4: Likewise.
305 * jm-mktime.m4: Likewise.
306 * jm-winsz2.m4: Likewise.
307 * lcmessage.m4: Likewise.
308 * ls-mntd-fs.m4: Likewise.
309 * malloc.m4: Likewise.
310 * memcmp.m4: Likewise.
311 * putenv.m4: Likewise.
312 * realloc.m4: Likewise.
313 * st_mtim.m4: Likewise.
314 * strftime.m4: Likewise.
316 1999-01-16 Jim Meyering <meyering@ascend.com>
318 * jm-macros.m4 (ARGMATCH_DIE): Define.
319 (ARGMATCH_DIE_DECL): Define.
321 1999-01-12 Jim Meyering <meyering@ascend.com>
323 * Makefile.am.in: Rewrite to avoid using fmt.
324 Reported by Lars Hecking.
326 1999-01-10 Jim Meyering <meyering@ascend.com>
328 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
330 * inttypes_h.m4: Likewise.
331 * lstat.m4: Likewise.
332 * malloc.m4: Likewise.
333 * readdir.m4: Likewise.
334 * realloc.m4: Likewise.
335 * st_dm_mode.m4: Likewise.
337 * utimbuf.m4: Likewise.
338 * utimes.m4: Likewise.
340 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
341 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
342 comments in config.h.in are meaningful.
344 * jm-macros.m4: Require autoconf-2.13 here.
346 * regex.m4: By default, don't use the included regex.c on systems
347 with glibc 2. Suggestion from Uli Drepper.
349 1999-01-02 Jim Meyering <meyering@ascend.com>
351 * jm-macros.m4: Replace strcasecmp and strncasecmp.
353 1998-12-18 Jim Meyering <meyering@ascend.com>
355 * Makefile.am.in (Makefile.am): Simplify rule.
356 Based on a suggestion from Lars Hecking.
358 1998-11-16 Jim Meyering <meyering@ascend.com>
360 * lfs.m4: Double-quote the `uname...` expression.
362 1998-11-16 Paul Eggert <eggert@twinsun.com>
364 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
366 1998-11-14 Jim Meyering <meyering@ascend.com>
368 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
371 1998-11-03 Jim Meyering <meyering@ascend.com>
373 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
374 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
376 1998-10-18 Jim Meyering <meyering@ascend.com>
378 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
380 1998-10-17 Jim Meyering <meyering@ascend.com>
382 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
383 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
384 calls for those previously hard-coded headers. Instead, take a new
386 (jm_CHECK_DECLARATIONS): Reflect interface change.
387 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
388 (jm_CHECK_DECL_LOCALTIME_R): New macro.
390 * mktime.m4: Test for spring-forward gap before long-running test.
392 1998-10-14 Jim Meyering <meyering@ascend.com>
394 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
395 instead of "TZ=America/Vancouver". From Paul Eggert.
397 1998-10-11 Jim Meyering <meyering@ascend.com>
399 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
400 This adds a test for a recently added compatibility fix for mktime.c.
401 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
403 1998-09-27 Jim Meyering <meyering@ascend.com>
405 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
407 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
408 ../configure.in, including a change from Gordon Matzigkeit to allow
409 cross-compiling for the Hurd.
411 * glibc.m4: New file/macro to test for the GNU C Library
412 versions 1 and 2. From Gordon Matzigkeit.
415 1998-09-21 Jim Meyering <meyering@ascend.com>
417 * chown.m4: Declare locals: before, after. From Andries Brouwer.
419 1998-08-18 Paul Eggert <eggert@twinsun.com>
421 Port nanosecond-resolution times to UnixWare 2.1.2 and
422 pedantic Solaris 2.6.
424 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
426 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
427 Generate name of ns member, instead of just 1 or undef.
428 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
430 1998-08-15 Jim Meyering <meyering@ascend.com>
432 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
433 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
434 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
435 instead of jm_TYPE_SSIZE_T.
437 1998-08-12 Jim Meyering <meyering@ascend.com>
439 * st_dm_mode.m4: New file. From Johan Danielsson.
441 1998-08-02 Jim Meyering <meyering@ascend.com>
443 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
444 in acconfig.h manually.
446 1998-07-31 Paul Eggert <eggert@twinsun.com>
448 * st_mtim.m4: New file.
450 1998-07-28 Jim Meyering <meyering@ascend.com>
452 * utimes.m4: Undef stat.
454 1998-07-25 Jim Meyering <meyering@ascend.com>
456 * utime.m4 (jm_FUNC_UTIME): New file and macro.
457 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
459 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
461 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
462 uid and gid actually remain unchanged.
464 1998-07-07 Jim Meyering <meyering@ascend.com>
466 * jm-glibc-io.m4: Remove fclose_unlocked.
468 1998-07-04 Jim Meyering <meyering@ascend.com>
470 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
471 to prove that this macro can be used in packages without regex.c.
473 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
475 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
478 1998-07-03 Jim Meyering <meyering@ascend.com>
480 * gettext.m4: Add -lintl if it's found to be necessary.
482 * gettext.m4: New file -- from gettext-0.10.35.
483 * lcmessage.m4: Likewise.
484 * progtest.m4: Likewise.
486 * regex.m4 (jm_WITH_REGEX): New file and macro.
487 * jm-macros.m4: Require the new macro.
489 1998-06-29 Jim Meyering <meyering@ascend.com>
491 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
492 for the definition of NGROUPS (used in a system header included
495 1998-06-28 Jim Meyering <meyering@ascend.com>
497 * ls-mntd-fs.m4: New file.
498 * fstypename.m4: New file.
500 * jm-macros.m4: Require the new macro.
501 * jm-glibc-io.m4: New file.
503 1998-05-19 Jim Meyering <meyering@ascend.com>
505 * jm-macros.m4: Add jm_FUNC_LCHOWN.
506 * lchown.m4: New file.
508 * Makefile.am.in: New file.
509 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
511 1998-05-14 Jim Meyering <meyering@ascend.com>
513 * Makefile.am (EXTRA_DIST): Add them.
514 * jm-macros.m4: New file.
515 * utimbuf.m4: New file.
517 1998-05-12 Jim Meyering <meyering@ascend.com>
519 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
521 1998-05-11 Jim Meyering <meyering@ascend.com>
523 * isc-posix.m4: New file.
525 1998-05-10 Jim Meyering <meyering@ascend.com>
527 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
529 1998-05-09 Jim Meyering <meyering@ascend.com>
531 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
532 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
535 * ssize_t.m4: New file.
536 * mktime.m4: Remove file -- the new automake has this now.
538 1998-04-26 Jim Meyering <meyering@ascend.com>
540 * assert.m4: New file.
541 * Makefile.am (EXTRA_DIST): Add assert.m4.
543 1998-04-05 Jim Meyering <meyering@ascend.com>
545 * prereq.m4 (jm_PREREQ_REGEX): New macro.
546 (jm_PREREQ): Use it here.
548 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
550 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
553 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
555 * prereq.m4: New file.
556 * error.m4: New file.
557 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
559 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
561 * getline.m4: Don't set am_cv_func_working_getline before the
562 cache-check for the same variable -- that defeated the purpose of
563 the test; the test program was never run. This was a problem only
564 on systems with losing getline functions -- HP-UX 10.20 is one.
565 Reported by Bjorn Helgaas.
567 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
569 * Makefile.am (EXTRA_DIST): Add perl.m4.
571 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
573 * Makefile.am (EXTRA_DIST): Add const.m4.
575 * const.m4: New file. Use an initializer in this declaration
576 typedef int charset[2]; const charset x;
577 Reported by Bob Glickstein.
579 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
581 * chown.m4: Fix reversed types on -1 args to chown.
584 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
586 * check-decl.m4: s/DECLARATION_/DECL_/g.
587 Add lseek and memchr.
589 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
590 T.E.Dickey <dickey@clark.net> said that some older preprocessors
591 have a 20-character limit on names.
593 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
595 * inttypes_h.m4: New file.
596 * uintmax_t.m4: New file.
597 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.