1 2000-03-30 Paul Eggert <eggert@twinsun.com>
3 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4 before checking struct stat.st_blksize, so that
5 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
7 2000-03-10 Jim Meyering <meyering@lucent.com>
9 * lib-check.m4: Look for getspnam in -lgen, too.
12 2000-02-02 Bruno Haible <haible@clisp.cons.org>
14 * codeset.m4: New file.
16 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
18 2000-03-04 Jim Meyering <meyering@lucent.com>
20 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
21 for lib/localcharset.c.
23 2000-03-03 Jim Meyering <meyering@lucent.com>
25 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
27 2000-03-02 Jim Meyering <meyering@lucent.com>
29 * timespec.m4: Require AC_HEADER_TIME before the cache check so
30 the messages come out on separate lines.
32 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
33 rather than jm_CHECK_DECLARATIONS.
34 * decl.m4: Remove now-unused file.
36 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
38 2000-02-27 Jim Meyering <meyering@lucent.com>
40 * check-decl.m4: Add getenv to the list.
42 2000-02-23 Jim Meyering <meyering@lucent.com>
44 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
47 2000-02-10 Jim Meyering <meyering@lucent.com>
49 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
50 gnu_nanosleep to rpl_nanosleep.
52 2000-02-09 Jim Meyering <meyering@lucent.com>
54 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
55 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
57 2000-02-08 Akim Demaille <akim@epita.fr>
59 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
60 `[' and `]' and remove uses of `changequote'.
61 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
62 (AC_SYS_LARGEFILE): Likewise.
63 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
64 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
66 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
67 * readdir.m4 (jm_FUNC_READDIR): Likewise
68 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
69 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
71 2000-02-05 Jim Meyering <meyering@lucent.com>
73 * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
74 Remove explicit use of AC_HEADER_TIME. It is required by
75 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
76 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
77 in autoconf whereby the expansion of the latter ended up preceding
78 the expansion of its prerequisite, AC_HEADER_TIME.
79 Reported by Volker Borchert.
81 2000-02-03 Jim Meyering <meyering@lucent.com>
83 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
85 2000-02-02 Jim Meyering <meyering@lucent.com>
87 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
88 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
89 Reported by Eli Zaretskii.
91 2000-01-31 Jim Meyering <meyering@lucent.com>
93 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
94 functions. Add the time.h and sys/time.h headers along with the
95 AC_REQUIRE'ment of AC_HEADER_TIME.
97 2000-01-30 Jim Meyering <meyering@lucent.com>
99 * lib-check.m4: Clean up some kludgy old shadow password tests.
101 * prereq.m4 (utmp_includes): Define.
102 Check for ut_user and ut_name members in both struct utmpx
105 2000-01-29 Jim Meyering <meyering@lucent.com>
107 * lib-check.m4: New file containing library-related checks from
108 fileutils and sh-utils (textutils had none).
110 2000-01-28 Jim Meyering <meyering@lucent.com>
112 * perl.m4: Change format of warning message to look more like that
113 from the missing script. Suggestion from François Pinard.
115 2000-01-25 Jim Meyering <meyering@lucent.com>
117 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
118 as time.h in the compile check.
119 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
120 Fix typo in cross-compiling case: s/yes/no/.
122 2000-01-23 Jim Meyering <meyering@lucent.com>
124 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
126 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
127 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
129 * fsusage.m4: New file. Extracted from fileutils/configure.in.
130 s/space/ac_fsusage_space/.
131 (jm_FILE_SYSTEM_USAGE): Take two parameters.
133 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
134 * jm-macros.m4: (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
135 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
137 * jm-macros.m4: (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
138 AC_SUBST these here, rather than just in sh-util/configure.in, so
139 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
141 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
142 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
143 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
144 (AC_SUBST(POW_LIBM)): Likewise.
145 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
147 2000-01-22 Jim Meyering <meyering@lucent.com>
149 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
151 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
153 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
155 (AC_CHECK_HEADERS): Likewise for sh-utils.
156 (AC_CHECK_HEADERS): Likewise for textutils.
157 Merge the three lists of headers.
159 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
160 from fileutils' configure.in.
162 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
163 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
165 * check-decl.m4: Use #if rather than #ifdef.
166 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
167 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
168 (_jm_DECL_HEADERS): Define new function.
169 (jm_CHECK_DECLARATIONS): Require it.
171 2000-01-19 Jim Meyering <meyering@lucent.com>
173 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
174 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
175 defines `struct timespec' in <sys/time.h>
177 * c-bs-a.m4: Remove uses of changequote altogether.
178 Thanks to Akim for explaining.
180 2000-01-16 Jim Meyering <meyering@lucent.com>
182 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
183 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
184 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
185 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
187 2000-01-16 Jim Meyering <meyering@lucent.com>
189 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
190 because the latter didn't work.
192 2000-01-15 Jim Meyering <meyering@lucent.com>
194 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
195 (AC_REPLACE_FUNCS): Add memcpy and memset.
196 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
198 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
200 2000-01-12 Jim Meyering <meyering@lucent.com>
202 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
204 (jm_PREREQ_READUTMP): New macro.
207 2000-01-11 Paul Eggert <eggert@twinsun.com>
209 Quote multibyte characters correctly.
210 * m4/c-bs-a.m4: New file.
211 * m4/prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
214 2000-01-11 Paul Eggert <eggert@twinsun.com>
216 * m4/uintmax_t.m4: Port to autoconf 2.13.
218 2000-01-08 Jim Meyering <meyering@ascend.com>
220 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
221 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
223 2000-01-04 Jim Meyering <meyering@ascend.com>
225 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
226 jm_STRUCT_DIRENT_D_TYPE.
227 * d-ino.m4: (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
228 jm_STRUCT_DIRENT_D_INO.
229 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
231 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
232 * utime.m4: Likewise.
234 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
235 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
237 2000-01-03 Paul Eggert <eggert@twinsun.com>
239 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
240 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
242 2000-01-02 Jim Meyering <meyering@ascend.com>
244 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
245 remember if this is necessary.
247 1999-12-26 Jim Meyering <meyering@ascend.com>
249 * jm-macros.m4: Use it here.
250 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
252 1999-12-23 Jim Meyering <meyering@ascend.com>
254 * jm-macros.m4: Check for clock_gettime (moved from
255 fileutils/configure.in)
256 Check for gettimeofday.
258 1999-12-20 Jim Meyering <meyering@ascend.com>
260 * strftime.m4: Remove kludge, now that I'm using the fixed
261 autoconf-2.14a-1999-12-20.
263 1999-12-19 Jim Meyering <meyering@ascend.com>
265 * lstat-slash.m4: New file.
266 * jm-macros.m4: Use the new macro:
267 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
269 1999-12-07 Jim Meyering <meyering@ascend.com>
271 * perl.m4: Require that File::Compare be available, too.
272 Too many systems seem to lack it.
274 * strftime.m4: Add checks for most of the cpp macros tested in
275 GNU's strftime.c. Prompted by a patch from Paul Eggert.
277 1999-11-18 Paul Eggert <eggert@twinsun.com>
279 * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
280 problem with the QNX 4.25 shell, which doesn't propagate exit
281 status of failed commands inside shell assignments.
283 1999-11-17 Jim Meyering <meyering@ascend.com>
285 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
287 1999-11-07 Jim Meyering <meyering@ascend.com>
289 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
291 1999-11-06 Jim Meyering <meyering@ascend.com>
293 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
294 * jm-macros.m4 (jm_MACROS): Use it here.
296 1999-11-05 Jim Meyering <meyering@ascend.com>
298 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
299 of textutils, fileutils, and sh-utils into this one (shared between
300 those packages) file.
301 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
302 AC_STRUCT_ST_BLKSIZE.
304 1999-11-03 Jim Meyering <meyering@ascend.com>
306 * ssize_t.m4: Remove file. No longer needed since the new version of
307 AC_CHECK_TYPE checks includes unistd.h.
308 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
309 Suggestion from Akim Demaille.
311 1999-10-30 Jim Meyering <meyering@ascend.com>
313 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
315 * ls-mntd-fs.m4: Likewise.
316 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
317 * jm-winsz1.m4: Likewise.
319 * const.m4: Remove file, since the fix made it into the experimental
321 * mktime.m4: Likewise.
323 * check-type.m4: Remove file, now that the latest version of
324 AC_CHECK_TYPE takes a third arg to specify additional #includes.
326 * ssize_t.m4: New file, requires experimental version of autoconf.
327 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
330 1999-10-04 Jim Meyering <meyering@ascend.com>
332 * jm-macros.m4: Don't require autoconf-2.14.1.
334 1999-09-22 Paul Eggert <eggert@twinsun.com>
336 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
337 2.95.1 bug with HP-UX 10.20.
339 1999-09-17 Jim Meyering <meyering@ascend.com>
341 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
342 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
343 due to missing strdup (against sh-utils-2.0).
345 1999-08-29 Jim Meyering <meyering@ascend.com>
347 * jm-macros.m4: Require jm_BISON.
348 * bison.m4: New file.
350 1999-08-17 Paul Eggert <eggert@twinsun.com>
352 * m4/largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
353 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
355 1999-08-05 Jim Meyering <meyering@ascend.com>
357 * getline.m4: Rename test file from conftestdata to conftest.data
358 to avoid conflicts with `conftest' on 8+3 filesystems.
359 Suggestion from Eli Zaretskii.
361 1999-08-04 Jim Meyering <meyering@ascend.com>
363 * jm-macros.m4: Move a 4-line block of code from the configure.in of
364 fileutils and sh-utils (textutils's getline test was inadequate).
365 (AM_FUNC_GETLINE): Run this test.
366 (AC_CHECK_FUNCS): Check for getdelim.
367 Reported by Bob Proulx.
369 1999-08-02 Jim Meyering <meyering@ascend.com>
371 * jm-macros.m4: Add a comment.
373 1999-08-01 Jim Meyering <meyering@ascend.com>
375 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
377 1999-08-01 Paul Eggert <eggert@twinsun.com>
379 * lfs.m4: Remove this file.
380 * largefile.m4: New file. It contains the old contents of
381 lfs.m4, except that all names with prefix AC_LFS have been
382 changed to use the prefix AC_SYS_LARGEFILE instead, to be
383 compatible with future autoconf versions. Also, some minor m4
384 quoting problems have been fixed.
386 1999-07-16 Paul Eggert <eggert@twinsun.com>
388 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
389 that we can shift, multiply and divide unsigned long long
390 values; Ultrix cc can't do it.
392 1999-07-14 Paul Eggert <eggert@twinsun.com>
394 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
395 <inttypes.h> defines strtoumax as a macro (and not as a
398 1999-07-05 Paul Eggert <eggert@twinsun.com>
400 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
401 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
402 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
403 and simplify the shell code.
405 1999-07-03 Paul Eggert <eggert@twinsun.com>
407 * mktime.m4: New file, which is a preview of what should appear
408 in the next public autoconf release.
410 1999-07-20 Jim Meyering <meyering@ascend.com>
412 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
414 1999-07-15 Jim Meyering <meyering@ascend.com>
416 * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
418 1999-05-22 Jim Meyering <meyering@ascend.com>
420 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
422 1999-05-20 Jim Meyering <meyering@ascend.com>
424 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
425 Add a colon after each `then' in case $4 is empty.
427 1999-05-16 Jim Meyering <meyering@ascend.com>
429 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
431 1999-05-10 Jim Meyering <meyering@ascend.com>
433 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
435 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
438 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
440 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
442 1999-05-04 Paul Eggert <eggert@twinsun.com>
444 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
445 not CPPFLAGS, so that linking works correctly in IRIX.
447 1999-04-30 Paul Eggert <eggert@twinsun.com>
449 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
451 1999-04-20 Jim Meyering <meyering@ascend.com>
453 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
454 AC_REPLACE xstroull if necessary. From Paul Eggert.
455 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
457 1999-04-20 Paul Eggert <eggert@twinsun.com>
459 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
460 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
461 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
462 jm_AC_TYPE_UNSIGNED_LONG_LONG.
463 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
465 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
467 1999-04-18 Jim Meyering <meyering@ascend.com>
469 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
470 * jm-macros.m4: Use it.
472 1999-04-06 Jim Meyering <meyering@ascend.com>
474 * strftime.m4: Remove test for %f.
476 1999-03-29 Jim Meyering <meyering@ascend.com>
478 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
479 superset of the AC_TYPE_* checks in the textutils, fileutils,
480 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
483 1999-03-28 Jim Meyering <meyering@ascend.com>
485 * jm-macros.m4: Define GNU_PACKAGE here.
486 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
487 replaced e.g., in the *.sh files of the sh-utils.
489 1999-03-20 Jim Meyering <meyering@ascend.com>
491 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
492 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
493 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
495 1999-03-19 Jim Meyering <meyering@ascend.com>
497 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
499 1999-03-12 Jim Meyering <meyering@ascend.com>
501 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
503 1999-03-07 Jim Meyering <meyering@ascend.com>
505 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
507 1999-02-17 Jim Meyering <meyering@ascend.com>
509 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
510 in macro definition. From Eli Zaretskii and Alain Magloire.
512 1999-02-07 Jim Meyering <meyering@ascend.com>
514 * group-member.m4: New file -- extracted from sh-utils' configure.in.
516 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
517 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
519 1999-02-06 Jim Meyering <meyering@ascend.com>
521 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
522 * fnmatch.m4: Likewise.
523 * getgroups.m4: Likewise.
524 * lstat.m4: Likewise.
525 * malloc.m4: Likewise.
526 * putenv.m4: Likewise.
527 * realloc.m4: Likewise.
528 * regex.m4: Likewise.
530 * strftime.m4: Likewise.
531 Suggestion from Alain Magloire.
533 * chown.m4: Use `.$ac_objext', not `.o'.
534 * fnmatch.m4: Likewise.
535 * getgroups.m4: Likewise.
536 * getline.m4: Likewise.
537 * lstat.m4: Likewise.
538 * malloc.m4: Likewise.
539 * memcmp.m4: Likewise.
540 * putenv.m4: Likewise.
541 * realloc.m4: Likewise.
542 * regex.m4: Likewise.
544 * strftime.m4: Likewise.
545 Suggestion from Alain Magloire.
547 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
550 * regex.m4: Add a run-time Test for proper operation of
553 1999-01-31 Jim Meyering <meyering@ascend.com>
555 * getloadavg.m4: Check for locale.h and the function, setlocale.
557 1999-01-30 Jim Meyering <meyering@ascend.com>
559 * check-type.m4: Use 3-arg form of AC_DEFINE.
561 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
562 rather than my private copy, now that the official one is up to date.
563 * mktime.m4: Remove file.
565 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
566 * uptime.m4: Likewise.
567 * uintmax_t.m4: Likewise.
569 1999-01-28 Jim Meyering <meyering@ascend.com>
571 * jm-macros.m4: Use jm_AFS.
572 * afs.m4: New file (from fileutils' configure.in).
574 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
575 * chown.m4: Likewise.
576 * d-ino.m4: Likewise.
577 * d-type.m4: Likewise.
578 * fnmatch.m4: Likewise.
579 * getgroups.m4: Likewise.
580 * gettext.m4: Likewise.
581 * jm-mktime.m4: Likewise.
582 * jm-winsz2.m4: Likewise.
583 * lcmessage.m4: Likewise.
584 * ls-mntd-fs.m4: Likewise.
585 * malloc.m4: Likewise.
586 * memcmp.m4: Likewise.
587 * putenv.m4: Likewise.
588 * realloc.m4: Likewise.
589 * st_mtim.m4: Likewise.
590 * strftime.m4: Likewise.
592 1999-01-16 Jim Meyering <meyering@ascend.com>
594 * jm-macros.m4 (ARGMATCH_DIE): Define.
595 (ARGMATCH_DIE_DECL): Define.
597 1999-01-12 Jim Meyering <meyering@ascend.com>
599 * Makefile.am.in: Rewrite to avoid using fmt.
600 Reported by Lars Hecking.
602 1999-01-10 Jim Meyering <meyering@ascend.com>
604 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
606 * inttypes_h.m4: Likewise.
607 * lstat.m4: Likewise.
608 * malloc.m4: Likewise.
609 * readdir.m4: Likewise.
610 * realloc.m4: Likewise.
611 * st_dm_mode.m4: Likewise.
613 * utimbuf.m4: Likewise.
614 * utimes.m4: Likewise.
616 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
617 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
618 comments in config.h.in are meaningful.
620 * jm-macros.m4: Require autoconf-2.13 here.
622 * regex.m4: By default, don't use the included regex.c on systems
623 with glibc 2. Suggestion from Uli Drepper.
625 1999-01-02 Jim Meyering <meyering@ascend.com>
627 * jm-macros.m4: Replace strcasecmp and strncasecmp.
629 1998-12-18 Jim Meyering <meyering@ascend.com>
631 * Makefile.am.in (Makefile.am): Simplify rule.
632 Based on a suggestion from Lars Hecking.
634 1998-11-16 Jim Meyering <meyering@ascend.com>
636 * lfs.m4: Double-quote the `uname...` expression.
638 1998-11-16 Paul Eggert <eggert@twinsun.com>
640 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
642 1998-11-14 Jim Meyering <meyering@ascend.com>
644 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
647 1998-11-03 Jim Meyering <meyering@ascend.com>
649 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
650 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
652 1998-10-18 Jim Meyering <meyering@ascend.com>
654 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
656 1998-10-17 Jim Meyering <meyering@ascend.com>
658 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
659 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
660 calls for those previously hard-coded headers. Instead, take a new
662 (jm_CHECK_DECLARATIONS): Reflect interface change.
663 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
664 (jm_CHECK_DECL_LOCALTIME_R): New macro.
666 * mktime.m4: Test for spring-forward gap before long-running test.
668 1998-10-14 Jim Meyering <meyering@ascend.com>
670 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
671 instead of "TZ=America/Vancouver". From Paul Eggert.
673 1998-10-11 Jim Meyering <meyering@ascend.com>
675 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
676 This adds a test for a recently added compatibility fix for mktime.c.
677 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
679 1998-09-27 Jim Meyering <meyering@ascend.com>
681 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
683 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
684 ../configure.in, including a change from Gordon Matzigkeit to allow
685 cross-compiling for the Hurd.
687 * glibc.m4: New file/macro to test for the GNU C Library
688 versions 1 and 2. From Gordon Matzigkeit.
691 1998-09-21 Jim Meyering <meyering@ascend.com>
693 * chown.m4: Declare locals: before, after. From Andries Brouwer.
695 1998-08-18 Paul Eggert <eggert@twinsun.com>
697 Port nanosecond-resolution times to UnixWare 2.1.2 and
698 pedantic Solaris 2.6.
700 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
702 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
703 Generate name of ns member, instead of just 1 or undef.
704 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
706 1998-08-15 Jim Meyering <meyering@ascend.com>
708 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
709 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
710 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
711 instead of jm_TYPE_SSIZE_T.
713 1998-08-12 Jim Meyering <meyering@ascend.com>
715 * st_dm_mode.m4: New file. From Johan Danielsson.
717 1998-08-02 Jim Meyering <meyering@ascend.com>
719 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
720 in acconfig.h manually.
722 1998-07-31 Paul Eggert <eggert@twinsun.com>
724 * st_mtim.m4: New file.
726 1998-07-28 Jim Meyering <meyering@ascend.com>
728 * utimes.m4: Undef stat.
730 1998-07-25 Jim Meyering <meyering@ascend.com>
732 * utime.m4 (jm_FUNC_UTIME): New file and macro.
733 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
735 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
737 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
738 uid and gid actually remain unchanged.
740 1998-07-07 Jim Meyering <meyering@ascend.com>
742 * jm-glibc-io.m4: Remove fclose_unlocked.
744 1998-07-04 Jim Meyering <meyering@ascend.com>
746 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
747 to prove that this macro can be used in packages without regex.c.
749 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
751 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
754 1998-07-03 Jim Meyering <meyering@ascend.com>
756 * gettext.m4: Add -lintl if it's found to be necessary.
758 * gettext.m4: New file -- from gettext-0.10.35.
759 * lcmessage.m4: Likewise.
760 * progtest.m4: Likewise.
762 * regex.m4 (jm_WITH_REGEX): New file and macro.
763 * jm-macros.m4: Require the new macro.
765 1998-06-29 Jim Meyering <meyering@ascend.com>
767 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
768 for the definition of NGROUPS (used in a system header included
771 1998-06-28 Jim Meyering <meyering@ascend.com>
773 * ls-mntd-fs.m4: New file.
774 * fstypename.m4: New file.
776 * jm-macros.m4: Require the new macro.
777 * jm-glibc-io.m4: New file.
779 1998-05-19 Jim Meyering <meyering@ascend.com>
781 * jm-macros.m4: Add jm_FUNC_LCHOWN.
782 * lchown.m4: New file.
784 * Makefile.am.in: New file.
785 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
787 1998-05-14 Jim Meyering <meyering@ascend.com>
789 * Makefile.am (EXTRA_DIST): Add them.
790 * jm-macros.m4: New file.
791 * utimbuf.m4: New file.
793 1998-05-12 Jim Meyering <meyering@ascend.com>
795 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
797 1998-05-11 Jim Meyering <meyering@ascend.com>
799 * isc-posix.m4: New file.
801 1998-05-10 Jim Meyering <meyering@ascend.com>
803 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
805 1998-05-09 Jim Meyering <meyering@ascend.com>
807 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
808 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
811 * ssize_t.m4: New file.
812 * mktime.m4: Remove file -- the new automake has this now.
814 1998-04-26 Jim Meyering <meyering@ascend.com>
816 * assert.m4: New file.
817 * Makefile.am (EXTRA_DIST): Add assert.m4.
819 1998-04-05 Jim Meyering <meyering@ascend.com>
821 * prereq.m4 (jm_PREREQ_REGEX): New macro.
822 (jm_PREREQ): Use it here.
824 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
826 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
829 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
831 * prereq.m4: New file.
832 * error.m4: New file.
833 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
835 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
837 * getline.m4: Don't set am_cv_func_working_getline before the
838 cache-check for the same variable -- that defeated the purpose of
839 the test; the test program was never run. This was a problem only
840 on systems with losing getline functions -- HP-UX 10.20 is one.
841 Reported by Bjorn Helgaas.
843 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
845 * Makefile.am (EXTRA_DIST): Add perl.m4.
847 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
849 * Makefile.am (EXTRA_DIST): Add const.m4.
851 * const.m4: New file. Use an initializer in this declaration
852 typedef int charset[2]; const charset x;
853 Reported by Bob Glickstein.
855 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
857 * chown.m4: Fix reversed types on -1 args to chown.
860 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
862 * check-decl.m4: s/DECLARATION_/DECL_/g.
863 Add lseek and memchr.
865 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
866 T.E.Dickey <dickey@clark.net> said that some older preprocessors
867 have a 20-character limit on names.
869 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
871 * inttypes_h.m4: New file.
872 * uintmax_t.m4: New file.
873 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.