1 2000-06-23 Jim Meyering <meyering@lucent.com>
3 * afs.m4: Add missing AC_MSG_RESULT.
4 Reported by Bruno Haible.
6 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
7 Suggestion from Bruno Haible.
9 2000-06-21 Jim Meyering <meyering@lucent.com>
11 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
13 2000-06-18 Jim Meyering <meyering@lucent.com>
15 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
17 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
18 `checking whether...' message to be consistent with that of the
21 2000-06-16 Bruno Haible <haible@clisp.cons.org>
23 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
25 2000-06-12 Jim Meyering <meyering@lucent.com>
27 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
28 from autoconf, and tweak the latter to accept an optional argument.
29 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
30 the optional argument, `lib'.
32 2000-06-08 Jim Meyering <meyering@lucent.com>
34 * largefile.m4: Remove file (now that it's part of autoconf).
36 2000-06-04 Paul Eggert <eggert@twinsun.com>
38 Rewrite largefile configuration so that we don't need to run
39 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
40 AC_CANONICAL_HOST in configure.in -- jmm]
42 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
43 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
44 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
45 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
46 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
48 Instead of inspecting the output of getconf, try to compile the
49 test program without and with the macro definition.
50 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
51 for getconf. Instead, check for the needed flags by compiling
54 2000-06-03 Jim Meyering <meyering@lucent.com>
56 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
57 now that autoconf requires that.
59 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
60 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
61 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
63 2000-05-26 Bruno Haible <haible@clisp.cons.org>
65 * glibc21.m4: New file.
66 * jm-macros.m4: (jm_MACROS): Call jm_GLIBC21.
68 2000-05-28 Jim Meyering <meyering@lucent.com>
70 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
71 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
74 * lstat-slash.m4: Remove file (absorbed into autoconf).
76 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
77 * strerror_r.m4: Remove file (absorbed into autoconf).
79 2000-05-26 Jim Meyering <meyering@lucent.com>
81 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
83 2000-05-24 Jim Meyering <meyering@lucent.com>
85 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
86 autoconf requires that.
87 * lib-check.m4: Likewise.
88 * jm-macros.m4: Likewise.
89 * strftime.m4: Likewise.
91 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
92 now that autoconf requires that.
94 2000-05-22 Jim Meyering <meyering@lucent.com>
96 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
99 2000-05-20 Jim Meyering <meyering@lucent.com>
101 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
104 2000-05-09 Jim Meyering <meyering@lucent.com>
106 * gettext.m4: Rename this...
107 * libintl.m4: ...to this.
109 2000-05-06 Jim Meyering <meyering@lucent.com>
111 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
112 (AC_REPLACE_FUNCS): Add strnlen.
114 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
115 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
117 * nanosleep.m4: (jm_FUNC_NANOSLEEP): Save and restore LIBS around
118 AC_SEARCH_LIBS call for nanosleep.
119 (LIB_NANOSLEEP): Set and AC_SUBST.
121 2000-05-03 Paul Eggert <eggert@twinsun.com>
123 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
124 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
125 2.1.3 bug. This avoids a clash when files like regex.c define
128 2000-05-05 Jim Meyering <meyering@lucent.com>
130 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
131 call for clock_gettime.
132 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
134 * search-libs.m4: Update from autoconf.
136 su doesn't work on Solaris2.6.
137 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
138 <shadow.h>. Reported by Dragos Harabor.
140 2000-05-03 Jim Meyering <meyering@lucent.com>
142 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
144 2000-05-02 Paul Eggert <eggert@twinsun.com>
146 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
147 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
148 compile-time test, rather than inspecting host and OS, to
149 decide whether to define _LARGEFILE_SOURCE.
151 2000-05-01 Jim Meyering <meyering@lucent.com>
153 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
155 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
156 Based on a patch from Bruno Haible.
158 2000-04-18 Jim Meyering <meyering@lucent.com>
160 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
163 2000-04-17 Jim Meyering <meyering@lucent.com>
166 * jm-macros.m4: (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
167 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
168 Suggestion from Akim Demaille.
170 2000-04-14 Jim Meyering <meyering@lucent.com>
172 * jm-macros.m4: (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
173 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
175 2000-04-13 Jim Meyering <meyering@lucent.com>
177 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
178 to insert required #ifndef into config.h.in.
179 Suggestion from Akim Demaille.
181 2000-04-12 Jim Meyering <meyering@lucent.com>
183 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
184 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
185 Christian Krackowizer.
187 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
188 * jm-macros.m4 (_GNU_SOURCE): Define.
189 (AC_SYS_LARGEFILE): Require.
190 (AM_C_PROTOTYPES): Require.
192 2000-04-05 Paul Eggert <eggert@twinsun.com>
194 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
195 IRIX if the installer said otherwise.
197 2000-04-05 Jim Meyering <meyering@lucent.com>
199 Portability tweaks required for ultrix4.3.
200 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
201 (jm_CHECK_DECLS): Add getutent to the list of functions.
202 (_jm_DECL_HEADERS): Add utmpx.h.
203 From John David Anglin.
205 * strftime.m4: Back out the 2000-04-02 change.
206 Instead of that change, simply undefine putenv in the test program.
208 2000-04-03 Jim Meyering <meyering@lucent.com>
210 * gettext.m4: Fix typo in comment.
212 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
213 textutils/configure.in). Suggestion from Paul Eggert.
214 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
216 2000-04-02 Paul Eggert <eggert@twinsun.com>
218 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
219 variable in the shell rather than using putenv, which isn't
220 portable. This avoids the configure-time inter-test dependency
221 on the potentially-renamed putenv function.
223 2000-03-30 Paul Eggert <eggert@twinsun.com>
225 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
226 before checking struct stat.st_blksize, so that
227 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
229 2000-03-29 Paul Eggert <eggert@twinsun.com>
231 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
232 since strftime.c uses HAVE_STRFTIME to decide whether to use
233 the underlying strftime.
235 2000-03-10 Jim Meyering <meyering@lucent.com>
237 * lib-check.m4: Look for getspnam in -lgen, too.
240 2000-02-02 Bruno Haible <haible@clisp.cons.org>
242 * codeset.m4: New file.
243 * iconv.m4: New file.
244 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
246 2000-03-04 Jim Meyering <meyering@lucent.com>
248 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
249 for lib/localcharset.c.
251 2000-03-03 Jim Meyering <meyering@lucent.com>
253 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
255 2000-03-02 Jim Meyering <meyering@lucent.com>
257 * timespec.m4: Require AC_HEADER_TIME before the cache check so
258 the messages come out on separate lines.
260 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
261 rather than jm_CHECK_DECLARATIONS.
262 * decl.m4: Remove now-unused file.
264 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
266 2000-02-27 Jim Meyering <meyering@lucent.com>
268 * check-decl.m4: Add getenv to the list.
270 2000-02-23 Jim Meyering <meyering@lucent.com>
272 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
275 2000-02-10 Jim Meyering <meyering@lucent.com>
277 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
278 gnu_nanosleep to rpl_nanosleep.
280 2000-02-09 Jim Meyering <meyering@lucent.com>
282 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
283 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
285 2000-02-08 Akim Demaille <akim@epita.fr>
287 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
288 `[' and `]' and remove uses of `changequote'.
289 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
290 (AC_SYS_LARGEFILE): Likewise.
291 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
292 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
294 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
295 * readdir.m4 (jm_FUNC_READDIR): Likewise
296 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
297 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
299 2000-02-05 Jim Meyering <meyering@lucent.com>
301 * jm-macros.m4: (jm_CHECK_ALL_TYPES): Require most macros.
302 Remove explicit use of AC_HEADER_TIME. It is required by
303 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
304 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
305 in autoconf whereby the expansion of the latter ended up preceding
306 the expansion of its prerequisite, AC_HEADER_TIME.
307 Reported by Volker Borchert.
309 2000-02-03 Jim Meyering <meyering@lucent.com>
311 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
313 2000-02-02 Jim Meyering <meyering@lucent.com>
315 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
316 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
317 Reported by Eli Zaretskii.
319 2000-01-31 Jim Meyering <meyering@lucent.com>
321 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
322 functions. Add the time.h and sys/time.h headers along with the
323 AC_REQUIRE'ment of AC_HEADER_TIME.
325 2000-01-30 Jim Meyering <meyering@lucent.com>
327 * lib-check.m4: Clean up some kludgy old shadow password tests.
329 * prereq.m4 (utmp_includes): Define.
330 Check for ut_user and ut_name members in both struct utmpx
333 2000-01-29 Jim Meyering <meyering@lucent.com>
335 * lib-check.m4: New file containing library-related checks from
336 fileutils and sh-utils (textutils had none).
338 2000-01-28 Jim Meyering <meyering@lucent.com>
340 * perl.m4: Change format of warning message to look more like that
341 from the missing script. Suggestion from François Pinard.
343 2000-01-25 Jim Meyering <meyering@lucent.com>
345 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
346 as time.h in the compile check.
347 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
348 Fix typo in cross-compiling case: s/yes/no/.
350 2000-01-23 Jim Meyering <meyering@lucent.com>
352 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
354 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
355 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
357 * fsusage.m4: New file. Extracted from fileutils/configure.in.
358 s/space/ac_fsusage_space/.
359 (jm_FILE_SYSTEM_USAGE): Take two parameters.
361 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
362 * jm-macros.m4: (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
363 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
365 * jm-macros.m4: (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
366 AC_SUBST these here, rather than just in sh-util/configure.in, so
367 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
369 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
370 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
371 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
372 (AC_SUBST(POW_LIBM)): Likewise.
373 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
375 2000-01-22 Jim Meyering <meyering@lucent.com>
377 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
379 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
381 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
383 (AC_CHECK_HEADERS): Likewise for sh-utils.
384 (AC_CHECK_HEADERS): Likewise for textutils.
385 Merge the three lists of headers.
387 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
388 from fileutils' configure.in.
390 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
391 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
393 * check-decl.m4: Use #if rather than #ifdef.
394 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
395 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
396 (_jm_DECL_HEADERS): Define new function.
397 (jm_CHECK_DECLARATIONS): Require it.
399 2000-01-19 Jim Meyering <meyering@lucent.com>
401 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
402 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
403 defines `struct timespec' in <sys/time.h>
405 * c-bs-a.m4: Remove uses of changequote altogether.
406 Thanks to Akim for explaining.
408 2000-01-16 Jim Meyering <meyering@lucent.com>
410 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
411 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
412 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
413 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
415 2000-01-16 Jim Meyering <meyering@lucent.com>
417 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
418 because the latter didn't work.
420 2000-01-15 Jim Meyering <meyering@lucent.com>
422 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
423 (AC_REPLACE_FUNCS): Add memcpy and memset.
424 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
426 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
428 2000-01-12 Jim Meyering <meyering@lucent.com>
430 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
432 (jm_PREREQ_READUTMP): New macro.
435 2000-01-11 Paul Eggert <eggert@twinsun.com>
437 Quote multibyte characters correctly.
438 * c-bs-a.m4: New file.
439 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
442 2000-01-11 Paul Eggert <eggert@twinsun.com>
444 * uintmax_t.m4: Port to autoconf 2.13.
446 2000-01-08 Jim Meyering <meyering@ascend.com>
448 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
449 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
451 2000-01-04 Jim Meyering <meyering@ascend.com>
453 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
454 jm_STRUCT_DIRENT_D_TYPE.
455 * d-ino.m4: (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
456 jm_STRUCT_DIRENT_D_INO.
457 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
459 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
460 * utime.m4: Likewise.
462 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
463 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
465 2000-01-03 Paul Eggert <eggert@twinsun.com>
467 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
468 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
470 2000-01-02 Jim Meyering <meyering@ascend.com>
472 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
473 remember if this is necessary.
475 1999-12-26 Jim Meyering <meyering@ascend.com>
477 * jm-macros.m4: Use it here.
478 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
480 1999-12-23 Jim Meyering <meyering@ascend.com>
482 * jm-macros.m4: Check for clock_gettime (moved from
483 fileutils/configure.in)
484 Check for gettimeofday.
486 1999-12-20 Jim Meyering <meyering@ascend.com>
488 * strftime.m4: Remove kludge, now that I'm using the fixed
489 autoconf-2.14a-1999-12-20.
491 1999-12-19 Jim Meyering <meyering@ascend.com>
493 * lstat-slash.m4: New file.
494 * jm-macros.m4: Use the new macro:
495 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
497 1999-12-07 Jim Meyering <meyering@ascend.com>
499 * perl.m4: Require that File::Compare be available, too.
500 Too many systems seem to lack it.
502 * strftime.m4: Add checks for most of the cpp macros tested in
503 GNU's strftime.c. Prompted by a patch from Paul Eggert.
505 1999-11-18 Paul Eggert <eggert@twinsun.com>
507 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
508 problem with the QNX 4.25 shell, which doesn't propagate exit
509 status of failed commands inside shell assignments.
511 1999-11-17 Jim Meyering <meyering@ascend.com>
513 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
515 1999-11-07 Jim Meyering <meyering@ascend.com>
517 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
519 1999-11-06 Jim Meyering <meyering@ascend.com>
521 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
522 * jm-macros.m4 (jm_MACROS): Use it here.
524 1999-11-05 Jim Meyering <meyering@ascend.com>
526 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
527 of textutils, fileutils, and sh-utils into this one (shared between
528 those packages) file.
529 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
530 AC_STRUCT_ST_BLKSIZE.
532 1999-11-03 Jim Meyering <meyering@ascend.com>
534 * ssize_t.m4: Remove file. No longer needed since the new version of
535 AC_CHECK_TYPE checks includes unistd.h.
536 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
537 Suggestion from Akim Demaille.
539 1999-10-30 Jim Meyering <meyering@ascend.com>
541 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
543 * ls-mntd-fs.m4: Likewise.
544 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
545 * jm-winsz1.m4: Likewise.
547 * const.m4: Remove file, since the fix made it into the experimental
549 * mktime.m4: Likewise.
551 * check-type.m4: Remove file, now that the latest version of
552 AC_CHECK_TYPE takes a third arg to specify additional #includes.
554 * ssize_t.m4: New file, requires experimental version of autoconf.
555 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
558 1999-10-04 Jim Meyering <meyering@ascend.com>
560 * jm-macros.m4: Don't require autoconf-2.14.1.
562 1999-09-22 Paul Eggert <eggert@twinsun.com>
564 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
565 2.95.1 bug with HP-UX 10.20.
567 1999-09-17 Jim Meyering <meyering@ascend.com>
569 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
570 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
571 due to missing strdup (against sh-utils-2.0).
573 1999-08-29 Jim Meyering <meyering@ascend.com>
575 * jm-macros.m4: Require jm_BISON.
576 * bison.m4: New file.
578 1999-08-17 Paul Eggert <eggert@twinsun.com>
580 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
581 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
583 1999-08-05 Jim Meyering <meyering@ascend.com>
585 * getline.m4: Rename test file from conftestdata to conftest.data
586 to avoid conflicts with `conftest' on 8+3 filesystems.
587 Suggestion from Eli Zaretskii.
589 1999-08-04 Jim Meyering <meyering@ascend.com>
591 * jm-macros.m4: Move a 4-line block of code from the configure.in of
592 fileutils and sh-utils (textutils's getline test was inadequate).
593 (AM_FUNC_GETLINE): Run this test.
594 (AC_CHECK_FUNCS): Check for getdelim.
595 Reported by Bob Proulx.
597 1999-08-02 Jim Meyering <meyering@ascend.com>
599 * jm-macros.m4: Add a comment.
601 1999-08-01 Jim Meyering <meyering@ascend.com>
603 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
605 1999-08-01 Paul Eggert <eggert@twinsun.com>
607 * lfs.m4: Remove this file.
608 * largefile.m4: New file. It contains the old contents of
609 lfs.m4, except that all names with prefix AC_LFS have been
610 changed to use the prefix AC_SYS_LARGEFILE instead, to be
611 compatible with future autoconf versions. Also, some minor m4
612 quoting problems have been fixed.
614 1999-07-16 Paul Eggert <eggert@twinsun.com>
616 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
617 that we can shift, multiply and divide unsigned long long
618 values; Ultrix cc can't do it.
620 1999-07-14 Paul Eggert <eggert@twinsun.com>
622 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
623 <inttypes.h> defines strtoumax as a macro (and not as a
626 1999-07-05 Paul Eggert <eggert@twinsun.com>
628 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
629 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
630 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
631 and simplify the shell code.
633 1999-07-03 Paul Eggert <eggert@twinsun.com>
635 * mktime.m4: New file, which is a preview of what should appear
636 in the next public autoconf release.
638 1999-07-20 Jim Meyering <meyering@ascend.com>
640 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
642 1999-07-15 Jim Meyering <meyering@ascend.com>
644 * jm-macros.m4: (AC_CHECK_FUNCS): Check for getpagesize.
646 1999-05-22 Jim Meyering <meyering@ascend.com>
648 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
650 1999-05-20 Jim Meyering <meyering@ascend.com>
652 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
653 Add a colon after each `then' in case $4 is empty.
655 1999-05-16 Jim Meyering <meyering@ascend.com>
657 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
659 1999-05-10 Jim Meyering <meyering@ascend.com>
661 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
663 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
666 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
668 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
670 1999-05-04 Paul Eggert <eggert@twinsun.com>
672 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
673 not CPPFLAGS, so that linking works correctly in IRIX.
675 1999-04-30 Paul Eggert <eggert@twinsun.com>
677 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
679 1999-04-20 Jim Meyering <meyering@ascend.com>
681 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
682 AC_REPLACE xstroull if necessary. From Paul Eggert.
683 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
685 1999-04-20 Paul Eggert <eggert@twinsun.com>
687 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
688 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
689 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
690 jm_AC_TYPE_UNSIGNED_LONG_LONG.
691 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
693 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
695 1999-04-18 Jim Meyering <meyering@ascend.com>
697 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
698 * jm-macros.m4: Use it.
700 1999-04-06 Jim Meyering <meyering@ascend.com>
702 * strftime.m4: Remove test for %f.
704 1999-03-29 Jim Meyering <meyering@ascend.com>
706 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
707 superset of the AC_TYPE_* checks in the textutils, fileutils,
708 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
711 1999-03-28 Jim Meyering <meyering@ascend.com>
713 * jm-macros.m4: Define GNU_PACKAGE here.
714 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
715 replaced e.g., in the *.sh files of the sh-utils.
717 1999-03-20 Jim Meyering <meyering@ascend.com>
719 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
720 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
721 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
723 1999-03-19 Jim Meyering <meyering@ascend.com>
725 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
727 1999-03-12 Jim Meyering <meyering@ascend.com>
729 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
731 1999-03-07 Jim Meyering <meyering@ascend.com>
733 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
735 1999-02-17 Jim Meyering <meyering@ascend.com>
737 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
738 in macro definition. From Eli Zaretskii and Alain Magloire.
740 1999-02-07 Jim Meyering <meyering@ascend.com>
742 * group-member.m4: New file -- extracted from sh-utils' configure.in.
744 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
745 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
747 1999-02-06 Jim Meyering <meyering@ascend.com>
749 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
750 * fnmatch.m4: Likewise.
751 * getgroups.m4: Likewise.
752 * lstat.m4: Likewise.
753 * malloc.m4: Likewise.
754 * putenv.m4: Likewise.
755 * realloc.m4: Likewise.
756 * regex.m4: Likewise.
758 * strftime.m4: Likewise.
759 Suggestion from Alain Magloire.
761 * chown.m4: Use `.$ac_objext', not `.o'.
762 * fnmatch.m4: Likewise.
763 * getgroups.m4: Likewise.
764 * getline.m4: Likewise.
765 * lstat.m4: Likewise.
766 * malloc.m4: Likewise.
767 * memcmp.m4: Likewise.
768 * putenv.m4: Likewise.
769 * realloc.m4: Likewise.
770 * regex.m4: Likewise.
772 * strftime.m4: Likewise.
773 Suggestion from Alain Magloire.
775 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
778 * regex.m4: Add a run-time Test for proper operation of
781 1999-01-31 Jim Meyering <meyering@ascend.com>
783 * getloadavg.m4: Check for locale.h and the function, setlocale.
785 1999-01-30 Jim Meyering <meyering@ascend.com>
787 * check-type.m4: Use 3-arg form of AC_DEFINE.
789 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
790 rather than my private copy, now that the official one is up to date.
791 * mktime.m4: Remove file.
793 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
794 * uptime.m4: Likewise.
795 * uintmax_t.m4: Likewise.
797 1999-01-28 Jim Meyering <meyering@ascend.com>
799 * jm-macros.m4: Use jm_AFS.
800 * afs.m4: New file (from fileutils' configure.in).
802 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
803 * chown.m4: Likewise.
804 * d-ino.m4: Likewise.
805 * d-type.m4: Likewise.
806 * fnmatch.m4: Likewise.
807 * getgroups.m4: Likewise.
808 * gettext.m4: Likewise.
809 * jm-mktime.m4: Likewise.
810 * jm-winsz2.m4: Likewise.
811 * lcmessage.m4: Likewise.
812 * ls-mntd-fs.m4: Likewise.
813 * malloc.m4: Likewise.
814 * memcmp.m4: Likewise.
815 * putenv.m4: Likewise.
816 * realloc.m4: Likewise.
817 * st_mtim.m4: Likewise.
818 * strftime.m4: Likewise.
820 1999-01-16 Jim Meyering <meyering@ascend.com>
822 * jm-macros.m4 (ARGMATCH_DIE): Define.
823 (ARGMATCH_DIE_DECL): Define.
825 1999-01-12 Jim Meyering <meyering@ascend.com>
827 * Makefile.am.in: Rewrite to avoid using fmt.
828 Reported by Lars Hecking.
830 1999-01-10 Jim Meyering <meyering@ascend.com>
832 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
834 * inttypes_h.m4: Likewise.
835 * lstat.m4: Likewise.
836 * malloc.m4: Likewise.
837 * readdir.m4: Likewise.
838 * realloc.m4: Likewise.
839 * st_dm_mode.m4: Likewise.
841 * utimbuf.m4: Likewise.
842 * utimes.m4: Likewise.
844 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
845 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
846 comments in config.h.in are meaningful.
848 * jm-macros.m4: Require autoconf-2.13 here.
850 * regex.m4: By default, don't use the included regex.c on systems
851 with glibc 2. Suggestion from Uli Drepper.
853 1999-01-02 Jim Meyering <meyering@ascend.com>
855 * jm-macros.m4: Replace strcasecmp and strncasecmp.
857 1998-12-18 Jim Meyering <meyering@ascend.com>
859 * Makefile.am.in (Makefile.am): Simplify rule.
860 Based on a suggestion from Lars Hecking.
862 1998-11-16 Jim Meyering <meyering@ascend.com>
864 * lfs.m4: Double-quote the `uname...` expression.
866 1998-11-16 Paul Eggert <eggert@twinsun.com>
868 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
870 1998-11-14 Jim Meyering <meyering@ascend.com>
872 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
875 1998-11-03 Jim Meyering <meyering@ascend.com>
877 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
878 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
880 1998-10-18 Jim Meyering <meyering@ascend.com>
882 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
884 1998-10-17 Jim Meyering <meyering@ascend.com>
886 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
887 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
888 calls for those previously hard-coded headers. Instead, take a new
890 (jm_CHECK_DECLARATIONS): Reflect interface change.
891 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
892 (jm_CHECK_DECL_LOCALTIME_R): New macro.
894 * mktime.m4: Test for spring-forward gap before long-running test.
896 1998-10-14 Jim Meyering <meyering@ascend.com>
898 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
899 instead of "TZ=America/Vancouver". From Paul Eggert.
901 1998-10-11 Jim Meyering <meyering@ascend.com>
903 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
904 This adds a test for a recently added compatibility fix for mktime.c.
905 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
907 1998-09-27 Jim Meyering <meyering@ascend.com>
909 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
911 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
912 ../configure.in, including a change from Gordon Matzigkeit to allow
913 cross-compiling for the Hurd.
915 * glibc.m4: New file/macro to test for the GNU C Library
916 versions 1 and 2. From Gordon Matzigkeit.
919 1998-09-21 Jim Meyering <meyering@ascend.com>
921 * chown.m4: Declare locals: before, after. From Andries Brouwer.
923 1998-08-18 Paul Eggert <eggert@twinsun.com>
925 Port nanosecond-resolution times to UnixWare 2.1.2 and
926 pedantic Solaris 2.6.
928 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
930 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
931 Generate name of ns member, instead of just 1 or undef.
932 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
934 1998-08-15 Jim Meyering <meyering@ascend.com>
936 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
937 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
938 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
939 instead of jm_TYPE_SSIZE_T.
941 1998-08-12 Jim Meyering <meyering@ascend.com>
943 * st_dm_mode.m4: New file. From Johan Danielsson.
945 1998-08-02 Jim Meyering <meyering@ascend.com>
947 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
948 in acconfig.h manually.
950 1998-07-31 Paul Eggert <eggert@twinsun.com>
952 * st_mtim.m4: New file.
954 1998-07-28 Jim Meyering <meyering@ascend.com>
956 * utimes.m4: Undef stat.
958 1998-07-25 Jim Meyering <meyering@ascend.com>
960 * utime.m4 (jm_FUNC_UTIME): New file and macro.
961 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
963 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
965 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
966 uid and gid actually remain unchanged.
968 1998-07-07 Jim Meyering <meyering@ascend.com>
970 * jm-glibc-io.m4: Remove fclose_unlocked.
972 1998-07-04 Jim Meyering <meyering@ascend.com>
974 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
975 to prove that this macro can be used in packages without regex.c.
977 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
979 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
982 1998-07-03 Jim Meyering <meyering@ascend.com>
984 * gettext.m4: Add -lintl if it's found to be necessary.
986 * gettext.m4: New file -- from gettext-0.10.35.
987 * lcmessage.m4: Likewise.
988 * progtest.m4: Likewise.
990 * regex.m4 (jm_WITH_REGEX): New file and macro.
991 * jm-macros.m4: Require the new macro.
993 1998-06-29 Jim Meyering <meyering@ascend.com>
995 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
996 for the definition of NGROUPS (used in a system header included
999 1998-06-28 Jim Meyering <meyering@ascend.com>
1001 * ls-mntd-fs.m4: New file.
1002 * fstypename.m4: New file.
1004 * jm-macros.m4: Require the new macro.
1005 * jm-glibc-io.m4: New file.
1007 1998-05-19 Jim Meyering <meyering@ascend.com>
1009 * jm-macros.m4: Add jm_FUNC_LCHOWN.
1010 * lchown.m4: New file.
1012 * Makefile.am.in: New file.
1013 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
1015 1998-05-14 Jim Meyering <meyering@ascend.com>
1017 * Makefile.am (EXTRA_DIST): Add them.
1018 * jm-macros.m4: New file.
1019 * utimbuf.m4: New file.
1021 1998-05-12 Jim Meyering <meyering@ascend.com>
1023 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
1025 1998-05-11 Jim Meyering <meyering@ascend.com>
1027 * isc-posix.m4: New file.
1029 1998-05-10 Jim Meyering <meyering@ascend.com>
1031 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
1033 1998-05-09 Jim Meyering <meyering@ascend.com>
1035 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
1036 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
1039 * ssize_t.m4: New file.
1040 * mktime.m4: Remove file -- the new automake has this now.
1042 1998-04-26 Jim Meyering <meyering@ascend.com>
1044 * assert.m4: New file.
1045 * Makefile.am (EXTRA_DIST): Add assert.m4.
1047 1998-04-05 Jim Meyering <meyering@ascend.com>
1049 * prereq.m4 (jm_PREREQ_REGEX): New macro.
1050 (jm_PREREQ): Use it here.
1052 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
1054 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
1057 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
1059 * prereq.m4: New file.
1060 * error.m4: New file.
1061 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
1063 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
1065 * getline.m4: Don't set am_cv_func_working_getline before the
1066 cache-check for the same variable -- that defeated the purpose of
1067 the test; the test program was never run. This was a problem only
1068 on systems with losing getline functions -- HP-UX 10.20 is one.
1069 Reported by Bjorn Helgaas.
1071 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
1073 * Makefile.am (EXTRA_DIST): Add perl.m4.
1075 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
1077 * Makefile.am (EXTRA_DIST): Add const.m4.
1079 * const.m4: New file. Use an initializer in this declaration
1080 typedef int charset[2]; const charset x;
1081 Reported by Bob Glickstein.
1083 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
1085 * chown.m4: Fix reversed types on -1 args to chown.
1088 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
1090 * check-decl.m4: s/DECLARATION_/DECL_/g.
1091 Add lseek and memchr.
1093 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
1094 T.E.Dickey <dickey@clark.net> said that some older preprocessors
1095 have a 20-character limit on names.
1097 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
1099 * inttypes_h.m4: New file.
1100 * uintmax_t.m4: New file.
1101 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.