summaryrefslogtreecommitdiff
path: root/m4/jm-macros.m4
AgeCommit message (Collapse)Author
2006-10-12[ChangeLog]Jim Meyering
* configure.ac: Reflect s/gl_MACROS/coreutils_MACROS/ renaming. Call gl_INIT directly, rather than through the above. [m4/ChangeLog] * jm-macros.m4 (coreutils_MACROS): Rename from gl_MACROS, now that most of the gnulib macros have migrated into gnulib. Don't call gl_INIT here (now it's called from configure.ac, directly).
2006-10-07* jm-macros.m4 (gl_MACROS): Remove use of AC_CONFIG_LIBOBJ_DIR(lib).Jim Meyering
It is no longer needed, and was causing dependencies to appear in lib/lib/.deps, which provoked a "make distcheck" failure.
2006-09-29[ChangeLog]Jim Meyering
Since any system may be affected by the Darwin readdir bug, perform the extra rewinddir unconditionally. The performance impact of rewinding a directory is negligible. * src/remove.c (NEED_REWIND): Define to use CONSECUTIVE_READDIR_UNLINK_THRESHOLD unconditionally. [m4/ChangeLog] * readdir.m4: Remove file once again. * jm-macros.m4: Remove reference to gl_FUNC_READDIR.
2006-09-28* jm-macros.m4: Require the new macro.Jim Meyering
* readdir.m4 (gl_FUNC_READDIR): Rename from GL_FUNC_READDIR.
2006-09-01* m4/jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG ratherPaul Eggert
than AC_REQUIREing, so that sys/mount.h isn't tested for after the test result. I'm not sure why this fix is needed, but it works. * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Revamp to reflect better what stat.c actually needs. * src/stat.c: Include <stddef.h> (alignof): New macro. (HAVE_STRUCT_STATXFS_F_FSID___VAL, HAVE_STRUCT_STATXFS_F_FSID_VAL): Remove. (STRUCT_STATXFS_F_FSID_IS_INTEGER): New macro. (FSID_VAL): Remove. (print_statfs): If f_fsid isn't an integer, grab its words one at a time in little-endian order. This is a bit easier to configure and should avoid a compilation failure on MacOS reported by Bruno Haible.
2006-08-21Add a bootstrap procedure, so that the CVS version contains fewerPaul Eggert
files and we bootstrap the rest from gnulib, gettext, etc. * README-cvs: New file. * bootstrap: New file. * bootstrap.conf: New file. * .x-sc_trailing_blank: Remove config-log, .gdb-history. Add .po. * configure.ac (AC_PREREQ): Move here from m4/*.m4, for benefit of gnulib-tool. (gl_DEFAULT_POSIX2_VERSION, gl_USE_SYSTEM_EXTENSIONS, gl_PERL): (gl_IGNORE_UNUSED_LIBRARIES): Remove; now done by gnulib. (gl_EARLY): Add. (gl_MACROS): Call just after gl_EARLY, just for clarity. * src/c99-to-c98.diff: Remove patch to ls.c; no longer needed. * src/kill.c (strtoimax): Remove decl. * src/ls.c: Include "wcwidth.h" instead of rolling it ourselves. * src/wc.c: Likewise. * src/ls.c (sort_files): Rewrite to avoid need for C99-style declaration, so that we don't need to patch this file. * src/printf.c (strtoimax, strtoumax): Remove decls. * src/su.c: Include getpass.h. (getpass): remove. * src/system.h: Include mempcpy.h, stpcpy.h, strpbrk.h. Include inttypes.h unconditionally; remove decls it handles. * lib/Makefile.am: include gnulib.mk, so that we can remove most of this file. (AM_CPPFLAGS): Don't mention -I$(srcdir), since that's now done for us. (noinst_LIBRARIES, LDDADD, DEFS): Remove. (libcoreutils_a_SOURCES): Trim down greatly, just to the files that aren't in gnulib. Remove defns gnulib does for us. * m4/check-decl.m4 (gl_CHECK_DECLS): Don't include stdio.h, string.h, stdlib.h, unistd.h, sys/time.h, time.h. Use AC_CHECK_DECLS_ONCE for free, getenv, geteuid, getlogin, getuid, lseek, malloc, memchr, realloc. Don't check for getutent, memrchr, nanosleep, stpcpy, strndup, strnlen, strstr, strtoul, strtoull. (_gl_DECL_HEADERS): Remove; all uses removed. * m4/jm-macros.m4 (gl_MACROS): Move AC_PREREQ into configure.ac for the benefit of gnulib-tool. Call gl_INIT. Do not call or require macros that gnulib will handle for us. Don't check for fchmod, hasmntopt, isascii, lchown, listmntent, mempcpy, realpath, wcrtomb, tzset. (gl_CHECK_ALL_HEADERS): Don't check for sys/statvfs.h, sys/vfs.h, sys/mount.h. (gl_CHECK_ALL_TYPES): Require AC_TYPE_UNSIGNED_LONG_LONG_INT. Don't check for struct stat.st_blksize. Don't require AC_STRUCT_ST_DM_MODE, gt_TYPE_SSIZE_T, gl_AC_TYPE_UINT32_T, gl_AC_TYPE_UINTMAX_T, gl_AC_TYPE_UINTPTR_T, gl_AC_TYPE_UNSIGNED_LONG_LONG. * m4/prereq.m4 (gl_PREREQ): Require gl_FUNC_XFTS, gl_ROOT_DEV_INO. Don't require macros that gnulib does for us. * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Don't check for sys/sysmacros.h. Don't check for statvfs. Use AC_CHECK_HEADERS_ONCE for netinet/in.h, nfs/nfs_clnt.h, nfs/vfs.h. Don't require gl_AC_TYPE_LONG_LONG, gt_HEADER_INTTYPES_H.
2006-07-17(gl_MACROS): Remove gl_AFS.Paul Eggert
2006-07-09Update from gnulib.Paul Eggert
2006-06-28(gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since it's obsolete.Paul Eggert
2006-05-24Require autoconf-2.59d, for its fixed versionJim Meyering
of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2006-04-12(gl_MACROS): Check for setgroups and sync, since theyPaul Eggert
are not in Interix.
2006-01-02(gl_MACROS): Require gl_FUNC_LCHMOD.Paul Eggert
Don't require gl_CHDIR_SAFER.
2005-12-21Require gl_CHDIR_SAFER.Jim Meyering
2005-12-19Require gl_CHMOD_SAFER.Jim Meyering
2005-12-14Require gl_FPRINTFTIME.Jim Meyering
2005-12-02(gl_MACROS): Adjust to renaming of gl_SOCKLEN_T to gl_TYPE_SOCKLEN_T.Paul Eggert
2005-09-25(gl_MACROS): Check for fchmod and fchown.Paul Eggert
2005-09-23(gl_MACROS): Don't require gl_CHECK_TYPE_STRUCT_UTIMBUF.Paul Eggert
(gl_CHECK_ALL_HEADERS): Don't check for utime.h.
2005-09-23(gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,Jim Meyering
now that it's no longer required by getaddrinfo.m4.
2005-09-22no longer needed.Paul Eggert
(gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h, netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h, sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h, sys/timeb.h, unistd.h. No longer needed.
2005-09-16(gl_CHECK_ALL_TYPES): Do not requirePaul Eggert
AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
2005-08-02Require gl_FUNC_XANSTRFTIME.Jim Meyering
2005-07-09strtopt.h -> stropts.hPaul Eggert
2005-07-08(gl_CHECK_ALL_HEADERS): Check for stropt.h.Paul Eggert
2005-07-03Don't require AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstatPaul Eggert
module's job.
2005-07-01Don't check for fcntl.h anymore. Now we assume it exists and is usable.Jim Meyering
2005-06-30Require gl_STDOPEN.Jim Meyering
2005-06-26Require gl_DIACRIT.Jim Meyering
2005-06-25Require gl_VERSION_ETC.Jim Meyering
2005-06-25Require gl_ROOT_DEV_INO.Jim Meyering
2005-06-19Require gl_FUNC_XFTS.Jim Meyering
2005-05-31(gl_CHECK_ALL_HEADERS): Check for priv.h.Paul Eggert
2005-05-18(gl_MACROS): Require AC_FUNC_LSTAT.Paul Eggert
Don't check for memcpy, strchr, strerror, strrchr, float.h. Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather than invoking them directly. (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h, limits.h, stddef.h, since we assume C89 now.
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-13*** empty log message ***Jim Meyering
2005-05-13(gl_MACROS): Don't require GL_FUNC_READDIR.Jim Meyering
2005-04-29(gl_CHECK_ALL_TYPES): Don't require AC_HEADER_STAT.Paul Eggert
2005-04-18(gl_MACROS): Use gl_ or coreutils_ rather than fetish_ for prefixes.Paul Eggert
2005-04-09(gl_MACROS): Check for siginterrupt.Paul Eggert
(gl_CHECK_ALL_TYPES): Do not require AC_TYPE_SIGNAL.
2005-02-21(gl_MACROS): Don't check for gethrtime.Paul Eggert
2005-01-03Update serial number and copyright date.Paul Eggert
2005-01-03* m4/jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.Paul Eggert
* m4/ullong_max.m4: New file. * src/system.h: Undo previous change; we now use Autoconf.
2004-12-02(gl_MACROS): Assume localeconv exists.Paul Eggert
2004-11-30*** empty log message ***Jim Meyering
2004-11-30*** empty log message ***Jim Meyering
2004-11-28(gl_MACROS): Require gl_FUNC_CHDIR.Jim Meyering
2004-11-25(gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.Paul Eggert
2004-11-14Do require gl_FUNC_FPENDING.Jim Meyering
2004-11-06Don't require gl_FUNC_FPENDING.Jim Meyering
2004-10-18(gl_MACROS): Check for mbrlen, for pathchk.Paul Eggert
(gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.