1 2001-07-15 Jim Meyering <meyering@lucent.com>
3 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4 Now it's in ../Makefile.cfg.
6 * gettimeofday.m4: New file.
8 2001-07-04 Jim Meyering <meyering@lucent.com>
10 * Makefile.am.in (glibc-io.struct): New target. Rework the code
11 that generates jm-glibc-io.m4 so that it doesn't trigger any make
14 2001-07-02 Jim Meyering <meyering@lucent.com>
16 The following changes were prompted by suggestions from Bruno Haible.
18 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
20 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
21 definition of EXTRA_DIST.
22 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
23 ensure that the generated file is created/updated whenever the list
24 of $(unlocked_functions) is changed.
25 (jm-glibc-io.m4): New rule.
26 (unlocked-io.h): New rule -- currently unused.
28 2001-06-24 Jim Meyering <meyering@lucent.com>
30 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
31 unmatched right bracket, rather than kludging it with an extra,
32 falsely-matching quote in a comment. Patch by Akim Demaille.
34 2001-05-27 Jim Meyering <meyering@lucent.com>
36 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
37 Check for ut_type in struct utmp.
39 2001-05-22 Jim Meyering <meyering@lucent.com>
41 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
42 now that we use the package-supplied version unconditionally.
43 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
45 2001-05-21 Jim Meyering <meyering@lucent.com>
47 * regex.m4: Change a couple backticks to single quotes to avoid shell
50 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
52 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
54 2001-05-11 Paul Eggert <eggert@twinsun.com>
56 * m4/strftime.m4 (jm_FUNC_GNU_STRFTIME):
57 Don't bother to check library strftime, since
58 we'll be using our own my_strftime function anyway.
59 Define my_strftime instead of strftime.
61 2001-05-15 Jim Meyering <meyering@lucent.com>
63 * regex.m4: Use proper quoting so brackets appear in the test program.
64 Reported by, and with help from, Bruno Haible.
66 2001-05-13 Jim Meyering <meyering@lucent.com>
68 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
70 2000-11-26 Paul Eggert <eggert@twinsun.com>
72 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
74 2001-04-21 Jim Meyering <meyering@lucent.com>
76 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
79 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
81 * ftruncate.m4: Check for chsize.
82 Link with ftruncate.o unconditionally if ftruncate is missing.
83 This was required when cross-compiling to i586-mingw32msvc.
85 2001-03-24 Jim Meyering <meyering@lucent.com>
87 * jm-macros.m4: Require autoconf-2.49d.
89 2001-03-20 Bruno Haible <haible@clisp.cons.org>
91 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
93 2001-03-17 Jim Meyering <meyering@lucent.com>
95 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
96 now that the version in autoconf is equivalent.
97 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
99 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
100 Suggestion from Akim Demaille.
102 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
103 (jm_PREREQ_TEMPNAME): New function.
105 2001-02-25 Paul Eggert <eggert@twinsun.com>
107 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
108 lacks mkstemp. Compile our own tempname.c if we compile our own
109 mkstemp.c, as mkstemp relies on tempname.
111 2001-03-01 Jim Meyering <meyering@lucent.com>
113 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
114 AH_VERBATIM really does output its argument verbatim.
116 2001-02-18 Paul Eggert <eggert@twinsun.com>
118 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
120 2001-02-17 Jim Meyering <meyering@lucent.com>
122 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
123 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
124 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
127 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
128 rather than AC_CACHE_VAL.
130 2001-02-17 Paul Eggert <eggert@twinsun.com>
132 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
133 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
134 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
135 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
137 2001-02-07 Jim Meyering <meyering@lucent.com>
139 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
141 2001-02-05 Jim Meyering <meyering@lucent.com>
143 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
144 it includes the patch required for `large file' support with at least
145 HP-UX's 10.20 /bin/cc.
147 2001-02-03 Jim Meyering <meyering@lucent.com>
149 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
150 AS_IF, now that it works once again (mysteriously).
151 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
153 2001-01-30 Jim Meyering <meyering@lucent.com>
155 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
156 * chown.m4: Rename conftestchown to conftest.chown.
157 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
158 * utimes.m4: s/conftestdata/conftest.data/
159 Inspired by Pavel Roskin's change in autoconf.
161 2001-01-27 Jim Meyering <meyering@lucent.com>
163 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
165 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
167 2001-01-26 Jim Meyering <meyering@lucent.com>
169 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
170 quotearg.c includes it.
172 2001-01-15 Bruno Haible <haible@clisp.cons.org>
174 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
177 2001-01-20 Jim Meyering <meyering@lucent.com>
179 Be sure that headers are checked before used in code compiled
181 * jm-macros.m4 (jm_MACROS): Remove all header checks.
182 In place of that, invoke jm_CHECK_ALL_TYPES.
183 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
184 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
185 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
186 The check for ssize_t was mistakenly run before the test for unistd.h.
188 The configure-time check for stdbool.h was missing.
189 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
190 (jm_PREREQ_HASH): New function.
192 2001-01-17 Jim Meyering <meyering@lucent.com>
194 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
196 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
198 2001-01-14 Jim Meyering <meyering@lucent.com>
200 * rename.m4: Use temporary directories named conftestdir{,2}, not
201 foo and bar. Create conftestdir/ in the script, not in the C code.
202 Remove directories in the script, not in the C code.
203 Remove conftestdir{,2} before trying to create the directory.
204 Make the entire configure script fail if the mkdir fails.
206 2001-01-02 Volker Borchert <bt@teknon.de>
208 * rename.m4: New file.
209 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
211 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
213 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
214 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
215 so `make install' also works in VPATH builds.
217 2001-01-01 Jim Meyering <meyering@lucent.com>
219 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
220 on systems with utmpx.h. It's necessary for the declaration of utmp's
221 ut_user member. Reported by Andreas Jaeger.
223 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
224 They are required for the declarations of getgrgid and getpwuid resp.
225 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
226 Reported by Andreas Jaeger.
228 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
230 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
231 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
232 can be used in subdirectories.
234 2000-12-26 Jim Meyering <meyering@lucent.com>
236 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
239 2000-12-17 Jim Meyering <meyering@lucent.com>
241 * dos.m4 (jm_AC_DOS): New file and macro.
242 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
244 2000-12-06 Paul Eggert <eggert@twinsun.com>
246 * off_t-format.m4: Remove this file.
247 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
249 2000-12-06 Jim Meyering <meyering@lucent.com>
251 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
252 strtoull, we may well need the replacement strtoul, too.
253 Check for declarations of strtoul and strtoull.
254 Check for strtol. Mainly as a cue to cause automake to include
255 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
256 Check for limits.h -- strtol.c needs it.
258 2000-12-02 Jim Meyering <meyering@lucent.com>
260 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
261 * jm-macros.m4 (jm_MACROS): require it.
263 2000-11-30 Jim Meyering <meyering@lucent.com>
265 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
267 2000-11-30 Jim Meyering <meyering@lucent.com>
269 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
271 2000-11-03 Bruno Haible <haible@clisp.cons.org>
273 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
275 2000-11-04 Jim Meyering <meyering@lucent.com>
277 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
279 2000-10-29 Jim Meyering <meyering@lucent.com>
281 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
282 * ls-mntd-fs.m4: Likewise
284 2000-10-28 Jim Meyering <meyering@lucent.com>
286 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
287 (jm_PREREQ_MEMCHR): New function.
289 2000-10-21 Jim Meyering <meyering@lucent.com>
291 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
292 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
293 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
295 2000-09-18 Jim Meyering <meyering@lucent.com>
297 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
298 Otherwise, everyone ends up linking with -lelf for some configurations.
299 Reported by Mike Stone.
301 2000-08-26 Jim Meyering <meyering@lucent.com>
303 * jm-macros.m4: Use jm_FUNC_FPENDING.
304 * fpending.m4: New file.
306 2000-08-20 Jim Meyering <meyering@lucent.com>
308 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
309 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
310 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
312 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
314 Improve fileutils installation on systems where running
315 programs (like install) can't be unlinked.
316 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
317 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
319 2000-08-06 Paul Eggert <eggert@twinsun.com>
321 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
322 not char, for compatibility with glibc 2.1.3 strftime.c.
324 2000-07-23 Paul Eggert <eggert@twinsun.com>
326 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
328 2000-07-23 Jim Meyering <meyering@lucent.com>
330 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
331 getgrgid, getpwuid, getuid.
333 2000-07-16 Bruno Haible <haible@clisp.cons.org>
335 * mbswidth.m4: New file.
336 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
338 2000-07-14 Jim Meyering <meyering@lucent.com>
340 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
342 2000-07-10 Paul Eggert <eggert@twinsun.com>
344 From a suggestion by Bruno Haible.
345 * mbstate_t.m4 (AC_MBSTATE_T):
346 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
347 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
348 and mbstate_t, to a single-part test that simply defines mbstate_t.
349 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
351 2000-07-10 Jim Meyering <meyering@lucent.com>
353 * strerror_r.m4: Mirror the correction made in autoconf.
355 * gnu-source.m4: Output to confdefs.h directly.
356 Suggestion from Akim Demaille.
358 2000-07-09 Jim Meyering <meyering@lucent.com>
360 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
361 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
363 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
364 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
366 2000-07-05 Bruno Haible <haible@clisp.cons.org>
368 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
370 Include <ctype.h> for use of isalpha.
372 2000-07-05 Paul Eggert <eggert@twinsun.com>
373 and Bruno Haible <haible@clisp.cons.org>
375 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
376 only if the test for an object-type mbstate_t fails. This
377 prevents us from mistakenly reporting that mbstate_t is a
378 system object type after we "#define mbstate_t int" to work
381 2000-07-04 Jim Meyering <meyering@lucent.com>
383 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
384 of the deprecated AC_CHECKING.
386 2000-07-03 Jim Meyering <meyering@lucent.com>
388 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
390 2000-07-03 Paul Eggert <eggert@twinsun.com>
392 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
393 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
395 2000-07-02 Jim Meyering <meyering@lucent.com>
397 * mbstate_t.m4: Also define mbstate_t, if necessary.
399 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
400 AC_LIBOBJ(function_name).
401 * chown.m4: Likewise.
402 * fnmatch.m4: Likewise.
403 * ftruncate.m4: Likewise.
404 * getgroups.m4: Likewise.
405 * getline.m4: Likewise.
406 * group-member.m4: Likewise.
407 * jm-macros.m4: Likewise.
408 * lstat.m4: Likewise.
409 * malloc.m4: Likewise.
410 * memcmp.m4: Likewise.
411 * nanosleep.m4: Likewise.
412 * putenv.m4: Likewise.
413 * realloc.m4: Likewise.
414 * regex.m4: Likewise.
416 * strftime.m4: Likewise.
418 2000-07-01 Jim Meyering <meyering@lucent.com>
420 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
423 2000-06-17 Bruno Haible <haible@clisp.cons.org>
425 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
426 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
428 2000-07-01 Jim Meyering <meyering@lucent.com>
430 * uptime.m4: Put double quotes around use of $cross_compiling.
432 2000-06-28 Jim Meyering <meyering@lucent.com>
434 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
435 by quotearg.c, for which we perform this test. From Bruno Haible.
437 2000-06-17 Bruno Haible <haible@clisp.cons.org>
439 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
440 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
441 <utmpx.h> exists, put readutmp.o into LIBOBJS.
443 2000-06-25 Jim Meyering <meyering@lucent.com>
445 * mbstate_t.m4: Include stdio.h before wchar.h to work around
446 Linux header bug when _XOPEN_SOURCE is defined to 500.
448 2000-06-24 Jim Meyering <meyering@lucent.com>
450 * strerror_r.m4: Revive this file -- to try out an experimental
451 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
452 for which strerror does return char*, but which lacks a conveniently
453 accessible declaration of the function. If the compile-test says
454 strerror_r doesn't work, then resort to a `run'-test that works on
455 BeOS and segfaults on DEC Unix.
457 2000-06-19 Paul Eggert <eggert@twinsun.com>
459 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
460 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
462 2000-06-23 Jim Meyering <meyering@lucent.com>
464 * afs.m4: Add missing AC_MSG_RESULT.
465 Reported by Bruno Haible.
467 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
468 Suggestion from Bruno Haible.
470 2000-06-21 Jim Meyering <meyering@lucent.com>
472 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
474 2000-06-18 Jim Meyering <meyering@lucent.com>
476 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
478 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
479 `checking whether...' message to be consistent with that of the
482 2000-06-16 Bruno Haible <haible@clisp.cons.org>
484 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
486 2000-06-12 Jim Meyering <meyering@lucent.com>
488 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
489 from autoconf, and tweak the latter to accept an optional argument.
490 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
491 the optional argument, `lib'.
493 2000-06-08 Jim Meyering <meyering@lucent.com>
495 * largefile.m4: Remove file (now that it's part of autoconf).
497 2000-06-04 Paul Eggert <eggert@twinsun.com>
499 Rewrite largefile configuration so that we don't need to run
500 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
501 AC_CANONICAL_HOST in configure.in -- jmm]
503 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
504 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
505 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
506 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
507 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
509 Instead of inspecting the output of getconf, try to compile the
510 test program without and with the macro definition.
511 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
512 for getconf. Instead, check for the needed flags by compiling
515 2000-06-03 Jim Meyering <meyering@lucent.com>
517 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
518 now that autoconf requires that.
520 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
521 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
522 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
524 2000-05-26 Bruno Haible <haible@clisp.cons.org>
526 * glibc21.m4: New file.
527 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
529 2000-05-28 Jim Meyering <meyering@lucent.com>
531 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
532 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
534 * lstat.m4: Likewise.
535 * lstat-slash.m4: Remove file (absorbed into autoconf).
537 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
538 * strerror_r.m4: Remove file (absorbed into autoconf).
540 2000-05-26 Jim Meyering <meyering@lucent.com>
542 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
544 2000-05-24 Jim Meyering <meyering@lucent.com>
546 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
547 autoconf requires that.
548 * lib-check.m4: Likewise.
549 * jm-macros.m4: Likewise.
550 * strftime.m4: Likewise.
552 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
553 now that autoconf requires that.
555 2000-05-22 Jim Meyering <meyering@lucent.com>
557 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
558 * lstat.m4: Likewise.
560 2000-05-20 Jim Meyering <meyering@lucent.com>
562 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
565 2000-05-09 Jim Meyering <meyering@lucent.com>
567 * gettext.m4: Rename this...
568 * libintl.m4: ...to this.
570 2000-05-06 Jim Meyering <meyering@lucent.com>
572 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
573 (AC_REPLACE_FUNCS): Add strnlen.
575 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
576 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
578 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
579 AC_SEARCH_LIBS call for nanosleep.
580 (LIB_NANOSLEEP): Set and AC_SUBST.
582 2000-05-03 Paul Eggert <eggert@twinsun.com>
584 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
585 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
586 2.1.3 bug. This avoids a clash when files like regex.c define
589 2000-05-05 Jim Meyering <meyering@lucent.com>
591 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
592 call for clock_gettime.
593 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
595 * search-libs.m4: Update from autoconf.
597 su doesn't work on Solaris2.6.
598 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
599 <shadow.h>. Reported by Dragos Harabor.
601 2000-05-03 Jim Meyering <meyering@lucent.com>
603 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
605 2000-05-02 Paul Eggert <eggert@twinsun.com>
607 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
608 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
609 compile-time test, rather than inspecting host and OS, to
610 decide whether to define _LARGEFILE_SOURCE.
612 2000-05-01 Jim Meyering <meyering@lucent.com>
614 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
616 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
617 Based on a patch from Bruno Haible.
619 2000-04-18 Jim Meyering <meyering@lucent.com>
621 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
624 2000-04-17 Jim Meyering <meyering@lucent.com>
627 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
628 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
629 Suggestion from Akim Demaille.
631 2000-04-14 Jim Meyering <meyering@lucent.com>
633 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
634 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
636 2000-04-13 Jim Meyering <meyering@lucent.com>
638 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
639 to insert required #ifndef into config.h.in.
640 Suggestion from Akim Demaille.
642 2000-04-12 Jim Meyering <meyering@lucent.com>
644 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
645 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
646 Christian Krackowizer.
648 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
649 * jm-macros.m4 (_GNU_SOURCE): Define.
650 (AC_SYS_LARGEFILE): Require.
651 (AM_C_PROTOTYPES): Require.
653 2000-04-05 Paul Eggert <eggert@twinsun.com>
655 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
656 IRIX if the installer said otherwise.
658 2000-04-05 Jim Meyering <meyering@lucent.com>
660 Portability tweaks required for ultrix4.3.
661 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
662 (jm_CHECK_DECLS): Add getutent to the list of functions.
663 (_jm_DECL_HEADERS): Add utmpx.h.
664 From John David Anglin.
666 * strftime.m4: Back out the 2000-04-02 change.
667 Instead of that change, simply undefine putenv in the test program.
669 2000-04-03 Jim Meyering <meyering@lucent.com>
671 * gettext.m4: Fix typo in comment.
673 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
674 textutils/configure.in). Suggestion from Paul Eggert.
675 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
677 2000-04-02 Paul Eggert <eggert@twinsun.com>
679 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
680 variable in the shell rather than using putenv, which isn't
681 portable. This avoids the configure-time inter-test dependency
682 on the potentially-renamed putenv function.
684 2000-03-30 Paul Eggert <eggert@twinsun.com>
686 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
687 before checking struct stat.st_blksize, so that
688 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
690 2000-03-29 Paul Eggert <eggert@twinsun.com>
692 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
693 since strftime.c uses HAVE_STRFTIME to decide whether to use
694 the underlying strftime.
696 2000-03-10 Jim Meyering <meyering@lucent.com>
698 * lib-check.m4: Look for getspnam in -lgen, too.
701 2000-02-02 Bruno Haible <haible@clisp.cons.org>
703 * codeset.m4: New file.
704 * iconv.m4: New file.
705 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
707 2000-03-04 Jim Meyering <meyering@lucent.com>
709 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
710 for lib/localcharset.c.
712 2000-03-03 Jim Meyering <meyering@lucent.com>
714 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
716 2000-03-02 Jim Meyering <meyering@lucent.com>
718 * timespec.m4: Require AC_HEADER_TIME before the cache check so
719 the messages come out on separate lines.
721 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
722 rather than jm_CHECK_DECLARATIONS.
723 * decl.m4: Remove now-unused file.
725 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
727 2000-02-27 Jim Meyering <meyering@lucent.com>
729 * check-decl.m4: Add getenv to the list.
731 2000-02-23 Jim Meyering <meyering@lucent.com>
733 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
736 2000-02-10 Jim Meyering <meyering@lucent.com>
738 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
739 gnu_nanosleep to rpl_nanosleep.
741 2000-02-09 Jim Meyering <meyering@lucent.com>
743 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
744 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
746 2000-02-08 Akim Demaille <akim@epita.fr>
748 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
749 `[' and `]' and remove uses of `changequote'.
750 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
751 (AC_SYS_LARGEFILE): Likewise.
752 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
753 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
755 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
756 * readdir.m4 (jm_FUNC_READDIR): Likewise
757 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
758 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
760 2000-02-05 Jim Meyering <meyering@lucent.com>
762 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
763 Remove explicit use of AC_HEADER_TIME. It is required by
764 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
765 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
766 in autoconf whereby the expansion of the latter ended up preceding
767 the expansion of its prerequisite, AC_HEADER_TIME.
768 Reported by Volker Borchert.
770 2000-02-03 Jim Meyering <meyering@lucent.com>
772 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
774 2000-02-02 Jim Meyering <meyering@lucent.com>
776 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
777 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
778 Reported by Eli Zaretskii.
780 2000-01-31 Jim Meyering <meyering@lucent.com>
782 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
783 functions. Add the time.h and sys/time.h headers along with the
784 AC_REQUIRE'ment of AC_HEADER_TIME.
786 2000-01-30 Jim Meyering <meyering@lucent.com>
788 * lib-check.m4: Clean up some kludgy old shadow password tests.
790 * prereq.m4 (utmp_includes): Define.
791 Check for ut_user and ut_name members in both struct utmpx
794 2000-01-29 Jim Meyering <meyering@lucent.com>
796 * lib-check.m4: New file containing library-related checks from
797 fileutils and sh-utils (textutils had none).
799 2000-01-28 Jim Meyering <meyering@lucent.com>
801 * perl.m4: Change format of warning message to look more like that
802 from the missing script. Suggestion from François Pinard.
804 2000-01-25 Jim Meyering <meyering@lucent.com>
806 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
807 as time.h in the compile check.
808 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
809 Fix typo in cross-compiling case: s/yes/no/.
811 2000-01-23 Jim Meyering <meyering@lucent.com>
813 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
815 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
816 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
818 * fsusage.m4: New file. Extracted from fileutils/configure.in.
819 s/space/ac_fsusage_space/.
820 (jm_FILE_SYSTEM_USAGE): Take two parameters.
822 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
823 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
824 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
826 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
827 AC_SUBST these here, rather than just in sh-util/configure.in, so
828 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
830 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
831 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
832 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
833 (AC_SUBST(POW_LIBM)): Likewise.
834 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
836 2000-01-22 Jim Meyering <meyering@lucent.com>
838 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
840 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
842 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
844 (AC_CHECK_HEADERS): Likewise for sh-utils.
845 (AC_CHECK_HEADERS): Likewise for textutils.
846 Merge the three lists of headers.
848 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
849 from fileutils' configure.in.
851 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
852 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
854 * check-decl.m4: Use #if rather than #ifdef.
855 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
856 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
857 (_jm_DECL_HEADERS): Define new function.
858 (jm_CHECK_DECLARATIONS): Require it.
860 2000-01-19 Jim Meyering <meyering@lucent.com>
862 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
863 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
864 defines `struct timespec' in <sys/time.h>
866 * c-bs-a.m4: Remove uses of changequote altogether.
867 Thanks to Akim for explaining.
869 2000-01-16 Jim Meyering <meyering@lucent.com>
871 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
872 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
873 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
874 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
876 2000-01-16 Jim Meyering <meyering@lucent.com>
878 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
879 because the latter didn't work.
881 2000-01-15 Jim Meyering <meyering@lucent.com>
883 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
884 (AC_REPLACE_FUNCS): Add memcpy and memset.
885 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
887 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
889 2000-01-12 Jim Meyering <meyering@lucent.com>
891 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
893 (jm_PREREQ_READUTMP): New macro.
896 2000-01-11 Paul Eggert <eggert@twinsun.com>
898 Quote multibyte characters correctly.
899 * c-bs-a.m4: New file.
900 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
903 2000-01-11 Paul Eggert <eggert@twinsun.com>
905 * uintmax_t.m4: Port to autoconf 2.13.
907 2000-01-08 Jim Meyering <meyering@ascend.com>
909 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
910 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
912 2000-01-04 Jim Meyering <meyering@ascend.com>
914 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
915 jm_STRUCT_DIRENT_D_TYPE.
916 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
917 jm_STRUCT_DIRENT_D_INO.
918 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
920 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
921 * utime.m4: Likewise.
923 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
924 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
926 2000-01-03 Paul Eggert <eggert@twinsun.com>
928 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
929 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
931 2000-01-02 Jim Meyering <meyering@ascend.com>
933 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
934 remember if this is necessary.
936 1999-12-26 Jim Meyering <meyering@ascend.com>
938 * jm-macros.m4: Use it here.
939 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
941 1999-12-23 Jim Meyering <meyering@ascend.com>
943 * jm-macros.m4: Check for clock_gettime (moved from
944 fileutils/configure.in)
945 Check for gettimeofday.
947 1999-12-20 Jim Meyering <meyering@ascend.com>
949 * strftime.m4: Remove kludge, now that I'm using the fixed
950 autoconf-2.14a-1999-12-20.
952 1999-12-19 Jim Meyering <meyering@ascend.com>
954 * lstat-slash.m4: New file.
955 * jm-macros.m4: Use the new macro:
956 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
958 1999-12-07 Jim Meyering <meyering@ascend.com>
960 * perl.m4: Require that File::Compare be available, too.
961 Too many systems seem to lack it.
963 * strftime.m4: Add checks for most of the cpp macros tested in
964 GNU's strftime.c. Prompted by a patch from Paul Eggert.
966 1999-11-18 Paul Eggert <eggert@twinsun.com>
968 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
969 problem with the QNX 4.25 shell, which doesn't propagate exit
970 status of failed commands inside shell assignments.
972 1999-11-17 Jim Meyering <meyering@ascend.com>
974 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
976 1999-11-07 Jim Meyering <meyering@ascend.com>
978 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
980 1999-11-06 Jim Meyering <meyering@ascend.com>
982 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
983 * jm-macros.m4 (jm_MACROS): Use it here.
985 1999-11-05 Jim Meyering <meyering@ascend.com>
987 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
988 of textutils, fileutils, and sh-utils into this one (shared between
989 those packages) file.
990 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
991 AC_STRUCT_ST_BLKSIZE.
993 1999-11-03 Jim Meyering <meyering@ascend.com>
995 * ssize_t.m4: Remove file. No longer needed since the new version of
996 AC_CHECK_TYPE checks includes unistd.h.
997 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
998 Suggestion from Akim Demaille.
1000 1999-10-30 Jim Meyering <meyering@ascend.com>
1002 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
1004 * ls-mntd-fs.m4: Likewise.
1005 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
1006 * jm-winsz1.m4: Likewise.
1008 * const.m4: Remove file, since the fix made it into the experimental
1009 version of autoconf.
1010 * mktime.m4: Likewise.
1012 * check-type.m4: Remove file, now that the latest version of
1013 AC_CHECK_TYPE takes a third arg to specify additional #includes.
1015 * ssize_t.m4: New file, requires experimental version of autoconf.
1016 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
1019 1999-10-04 Jim Meyering <meyering@ascend.com>
1021 * jm-macros.m4: Don't require autoconf-2.14.1.
1023 1999-09-22 Paul Eggert <eggert@twinsun.com>
1025 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
1026 2.95.1 bug with HP-UX 10.20.
1028 1999-09-17 Jim Meyering <meyering@ascend.com>
1030 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
1031 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
1032 due to missing strdup (against sh-utils-2.0).
1034 1999-08-29 Jim Meyering <meyering@ascend.com>
1036 * jm-macros.m4: Require jm_BISON.
1037 * bison.m4: New file.
1039 1999-08-17 Paul Eggert <eggert@twinsun.com>
1041 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
1042 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
1044 1999-08-05 Jim Meyering <meyering@ascend.com>
1046 * getline.m4: Rename test file from conftestdata to conftest.data
1047 to avoid conflicts with `conftest' on 8+3 filesystems.
1048 Suggestion from Eli Zaretskii.
1050 1999-08-04 Jim Meyering <meyering@ascend.com>
1052 * jm-macros.m4: Move a 4-line block of code from the configure.in of
1053 fileutils and sh-utils (textutils's getline test was inadequate).
1054 (AM_FUNC_GETLINE): Run this test.
1055 (AC_CHECK_FUNCS): Check for getdelim.
1056 Reported by Bob Proulx.
1058 1999-08-02 Jim Meyering <meyering@ascend.com>
1060 * jm-macros.m4: Add a comment.
1062 1999-08-01 Jim Meyering <meyering@ascend.com>
1064 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
1066 1999-08-01 Paul Eggert <eggert@twinsun.com>
1068 * lfs.m4: Remove this file.
1069 * largefile.m4: New file. It contains the old contents of
1070 lfs.m4, except that all names with prefix AC_LFS have been
1071 changed to use the prefix AC_SYS_LARGEFILE instead, to be
1072 compatible with future autoconf versions. Also, some minor m4
1073 quoting problems have been fixed.
1075 1999-07-16 Paul Eggert <eggert@twinsun.com>
1077 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
1078 that we can shift, multiply and divide unsigned long long
1079 values; Ultrix cc can't do it.
1081 1999-07-14 Paul Eggert <eggert@twinsun.com>
1083 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
1084 <inttypes.h> defines strtoumax as a macro (and not as a
1087 1999-07-05 Paul Eggert <eggert@twinsun.com>
1089 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
1090 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
1091 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
1092 and simplify the shell code.
1094 1999-07-03 Paul Eggert <eggert@twinsun.com>
1096 * mktime.m4: New file, which is a preview of what should appear
1097 in the next public autoconf release.
1099 1999-07-20 Jim Meyering <meyering@ascend.com>
1101 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
1103 1999-07-15 Jim Meyering <meyering@ascend.com>
1105 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
1107 1999-05-22 Jim Meyering <meyering@ascend.com>
1109 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
1111 1999-05-20 Jim Meyering <meyering@ascend.com>
1113 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
1114 Add a colon after each `then' in case $4 is empty.
1116 1999-05-16 Jim Meyering <meyering@ascend.com>
1118 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
1120 1999-05-10 Jim Meyering <meyering@ascend.com>
1122 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
1124 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
1127 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1129 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
1131 1999-05-04 Paul Eggert <eggert@twinsun.com>
1133 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
1134 not CPPFLAGS, so that linking works correctly in IRIX.
1136 1999-04-30 Paul Eggert <eggert@twinsun.com>
1138 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
1140 1999-04-20 Jim Meyering <meyering@ascend.com>
1142 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
1143 AC_REPLACE xstroull if necessary. From Paul Eggert.
1144 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
1146 1999-04-20 Paul Eggert <eggert@twinsun.com>
1148 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
1149 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
1150 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
1151 jm_AC_TYPE_UNSIGNED_LONG_LONG.
1152 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
1154 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
1156 1999-04-18 Jim Meyering <meyering@ascend.com>
1158 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
1159 * jm-macros.m4: Use it.
1161 1999-04-06 Jim Meyering <meyering@ascend.com>
1163 * strftime.m4: Remove test for %f.
1165 1999-03-29 Jim Meyering <meyering@ascend.com>
1167 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
1168 superset of the AC_TYPE_* checks in the textutils, fileutils,
1169 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
1172 1999-03-28 Jim Meyering <meyering@ascend.com>
1174 * jm-macros.m4: Define GNU_PACKAGE here.
1175 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
1176 replaced e.g., in the *.sh files of the sh-utils.
1178 1999-03-20 Jim Meyering <meyering@ascend.com>
1180 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
1181 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
1182 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
1184 1999-03-19 Jim Meyering <meyering@ascend.com>
1186 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
1188 1999-03-12 Jim Meyering <meyering@ascend.com>
1190 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
1192 1999-03-07 Jim Meyering <meyering@ascend.com>
1194 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
1196 1999-02-17 Jim Meyering <meyering@ascend.com>
1198 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
1199 in macro definition. From Eli Zaretskii and Alain Magloire.
1201 1999-02-07 Jim Meyering <meyering@ascend.com>
1203 * group-member.m4: New file -- extracted from sh-utils' configure.in.
1205 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
1206 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
1208 1999-02-06 Jim Meyering <meyering@ascend.com>
1210 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
1211 * fnmatch.m4: Likewise.
1212 * getgroups.m4: Likewise.
1213 * lstat.m4: Likewise.
1214 * malloc.m4: Likewise.
1215 * putenv.m4: Likewise.
1216 * realloc.m4: Likewise.
1217 * regex.m4: Likewise.
1218 * stat.m4: Likewise.
1219 * strftime.m4: Likewise.
1220 Suggestion from Alain Magloire.
1222 * chown.m4: Use `.$ac_objext', not `.o'.
1223 * fnmatch.m4: Likewise.
1224 * getgroups.m4: Likewise.
1225 * getline.m4: Likewise.
1226 * lstat.m4: Likewise.
1227 * malloc.m4: Likewise.
1228 * memcmp.m4: Likewise.
1229 * putenv.m4: Likewise.
1230 * realloc.m4: Likewise.
1231 * regex.m4: Likewise.
1232 * stat.m4: Likewise.
1233 * strftime.m4: Likewise.
1234 Suggestion from Alain Magloire.
1236 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
1239 * regex.m4: Add a run-time Test for proper operation of
1242 1999-01-31 Jim Meyering <meyering@ascend.com>
1244 * getloadavg.m4: Check for locale.h and the function, setlocale.
1246 1999-01-30 Jim Meyering <meyering@ascend.com>
1248 * check-type.m4: Use 3-arg form of AC_DEFINE.
1250 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
1251 rather than my private copy, now that the official one is up to date.
1252 * mktime.m4: Remove file.
1254 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
1255 * uptime.m4: Likewise.
1256 * uintmax_t.m4: Likewise.
1258 1999-01-28 Jim Meyering <meyering@ascend.com>
1260 * jm-macros.m4: Use jm_AFS.
1261 * afs.m4: New file (from fileutils' configure.in).
1263 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
1264 * chown.m4: Likewise.
1265 * d-ino.m4: Likewise.
1266 * d-type.m4: Likewise.
1267 * fnmatch.m4: Likewise.
1268 * getgroups.m4: Likewise.
1269 * gettext.m4: Likewise.
1270 * jm-mktime.m4: Likewise.
1271 * jm-winsz2.m4: Likewise.
1272 * lcmessage.m4: Likewise.
1273 * ls-mntd-fs.m4: Likewise.
1274 * malloc.m4: Likewise.
1275 * memcmp.m4: Likewise.
1276 * putenv.m4: Likewise.
1277 * realloc.m4: Likewise.
1278 * st_mtim.m4: Likewise.
1279 * strftime.m4: Likewise.
1281 1999-01-16 Jim Meyering <meyering@ascend.com>
1283 * jm-macros.m4 (ARGMATCH_DIE): Define.
1284 (ARGMATCH_DIE_DECL): Define.
1286 1999-01-12 Jim Meyering <meyering@ascend.com>
1288 * Makefile.am.in: Rewrite to avoid using fmt.
1289 Reported by Lars Hecking.
1291 1999-01-10 Jim Meyering <meyering@ascend.com>
1293 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
1295 * inttypes_h.m4: Likewise.
1296 * lstat.m4: Likewise.
1297 * malloc.m4: Likewise.
1298 * readdir.m4: Likewise.
1299 * realloc.m4: Likewise.
1300 * st_dm_mode.m4: Likewise.
1301 * stat.m4: Likewise.
1302 * utimbuf.m4: Likewise.
1303 * utimes.m4: Likewise.
1305 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
1306 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
1307 comments in config.h.in are meaningful.
1309 * jm-macros.m4: Require autoconf-2.13 here.
1311 * regex.m4: By default, don't use the included regex.c on systems
1312 with glibc 2. Suggestion from Uli Drepper.
1314 1999-01-02 Jim Meyering <meyering@ascend.com>
1316 * jm-macros.m4: Replace strcasecmp and strncasecmp.
1318 1998-12-18 Jim Meyering <meyering@ascend.com>
1320 * Makefile.am.in (Makefile.am): Simplify rule.
1321 Based on a suggestion from Lars Hecking.
1323 1998-11-16 Jim Meyering <meyering@ascend.com>
1325 * lfs.m4: Double-quote the `uname...` expression.
1327 1998-11-16 Paul Eggert <eggert@twinsun.com>
1329 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
1331 1998-11-14 Jim Meyering <meyering@ascend.com>
1333 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
1334 * stat.m4: Likewise.
1336 1998-11-03 Jim Meyering <meyering@ascend.com>
1338 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
1339 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
1341 1998-10-18 Jim Meyering <meyering@ascend.com>
1343 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
1345 1998-10-17 Jim Meyering <meyering@ascend.com>
1347 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
1348 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
1349 calls for those previously hard-coded headers. Instead, take a new
1351 (jm_CHECK_DECLARATIONS): Reflect interface change.
1352 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
1353 (jm_CHECK_DECL_LOCALTIME_R): New macro.
1355 * mktime.m4: Test for spring-forward gap before long-running test.
1357 1998-10-14 Jim Meyering <meyering@ascend.com>
1359 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
1360 instead of "TZ=America/Vancouver". From Paul Eggert.
1362 1998-10-11 Jim Meyering <meyering@ascend.com>
1364 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
1365 This adds a test for a recently added compatibility fix for mktime.c.
1366 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
1368 1998-09-27 Jim Meyering <meyering@ascend.com>
1370 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
1372 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
1373 ../configure.in, including a change from Gordon Matzigkeit to allow
1374 cross-compiling for the Hurd.
1376 * glibc.m4: New file/macro to test for the GNU C Library
1377 versions 1 and 2. From Gordon Matzigkeit.
1380 1998-09-21 Jim Meyering <meyering@ascend.com>
1382 * chown.m4: Declare locals: before, after. From Andries Brouwer.
1384 1998-08-18 Paul Eggert <eggert@twinsun.com>
1386 Port nanosecond-resolution times to UnixWare 2.1.2 and
1387 pedantic Solaris 2.6.
1389 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
1391 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
1392 Generate name of ns member, instead of just 1 or undef.
1393 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
1395 1998-08-15 Jim Meyering <meyering@ascend.com>
1397 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
1398 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
1399 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
1400 instead of jm_TYPE_SSIZE_T.
1402 1998-08-12 Jim Meyering <meyering@ascend.com>
1404 * st_dm_mode.m4: New file. From Johan Danielsson.
1406 1998-08-02 Jim Meyering <meyering@ascend.com>
1408 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
1409 in acconfig.h manually.
1411 1998-07-31 Paul Eggert <eggert@twinsun.com>
1413 * st_mtim.m4: New file.
1415 1998-07-28 Jim Meyering <meyering@ascend.com>
1417 * utimes.m4: Undef stat.
1419 1998-07-25 Jim Meyering <meyering@ascend.com>
1421 * utime.m4 (jm_FUNC_UTIME): New file and macro.
1422 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
1424 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
1426 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
1427 uid and gid actually remain unchanged.
1429 1998-07-07 Jim Meyering <meyering@ascend.com>
1431 * jm-glibc-io.m4: Remove fclose_unlocked.
1433 1998-07-04 Jim Meyering <meyering@ascend.com>
1435 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
1436 to prove that this macro can be used in packages without regex.c.
1438 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1440 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
1443 1998-07-03 Jim Meyering <meyering@ascend.com>
1445 * gettext.m4: Add -lintl if it's found to be necessary.
1447 * gettext.m4: New file -- from gettext-0.10.35.
1448 * lcmessage.m4: Likewise.
1449 * progtest.m4: Likewise.
1451 * regex.m4 (jm_WITH_REGEX): New file and macro.
1452 * jm-macros.m4: Require the new macro.
1454 1998-06-29 Jim Meyering <meyering@ascend.com>
1456 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
1457 for the definition of NGROUPS (used in a system header included
1460 1998-06-28 Jim Meyering <meyering@ascend.com>
1462 * ls-mntd-fs.m4: New file.
1463 * fstypename.m4: New file.
1465 * jm-macros.m4: Require the new macro.
1466 * jm-glibc-io.m4: New file.
1468 1998-05-19 Jim Meyering <meyering@ascend.com>
1470 * jm-macros.m4: Add jm_FUNC_LCHOWN.
1471 * lchown.m4: New file.
1473 * Makefile.am.in: New file.
1474 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
1476 1998-05-14 Jim Meyering <meyering@ascend.com>
1478 * Makefile.am (EXTRA_DIST): Add them.
1479 * jm-macros.m4: New file.
1480 * utimbuf.m4: New file.
1482 1998-05-12 Jim Meyering <meyering@ascend.com>
1484 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
1486 1998-05-11 Jim Meyering <meyering@ascend.com>
1488 * isc-posix.m4: New file.
1490 1998-05-10 Jim Meyering <meyering@ascend.com>
1492 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
1494 1998-05-09 Jim Meyering <meyering@ascend.com>
1496 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
1497 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
1500 * ssize_t.m4: New file.
1501 * mktime.m4: Remove file -- the new automake has this now.
1503 1998-04-26 Jim Meyering <meyering@ascend.com>
1505 * assert.m4: New file.
1506 * Makefile.am (EXTRA_DIST): Add assert.m4.
1508 1998-04-05 Jim Meyering <meyering@ascend.com>
1510 * prereq.m4 (jm_PREREQ_REGEX): New macro.
1511 (jm_PREREQ): Use it here.
1513 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
1515 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
1518 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
1520 * prereq.m4: New file.
1521 * error.m4: New file.
1522 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
1524 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
1526 * getline.m4: Don't set am_cv_func_working_getline before the
1527 cache-check for the same variable -- that defeated the purpose of
1528 the test; the test program was never run. This was a problem only
1529 on systems with losing getline functions -- HP-UX 10.20 is one.
1530 Reported by Bjorn Helgaas.
1532 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
1534 * Makefile.am (EXTRA_DIST): Add perl.m4.
1536 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
1538 * Makefile.am (EXTRA_DIST): Add const.m4.
1540 * const.m4: New file. Use an initializer in this declaration
1541 typedef int charset[2]; const charset x;
1542 Reported by Bob Glickstein.
1544 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
1546 * chown.m4: Fix reversed types on -1 args to chown.
1549 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
1551 * check-decl.m4: s/DECLARATION_/DECL_/g.
1552 Add lseek and memchr.
1554 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
1555 T.E.Dickey <dickey@clark.net> said that some older preprocessors
1556 have a 20-character limit on names.
1558 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
1560 * inttypes_h.m4: New file.
1561 * uintmax_t.m4: New file.
1562 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.