summaryrefslogtreecommitdiff
path: root/m4/prereq.m4
AgeCommit message (Collapse)Author
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-08-10Accommodate new getaddrinfo implementation in gnulib.Paul Eggert
(gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO, gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET, gl_INET_NTOP, gl_TYPE_SOCKEN_T.
2006-08-09Sync from gnulib.Paul Eggert
2006-08-08(gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,Paul Eggert
gl_RANDREAD.
2006-07-22(gl_PREREQ): Require gl_CLOSE_STREAM.Paul Eggert
2006-07-17(gl_PREREQ): Require gl_MKANCESDIRS.Paul Eggert
2006-07-04(gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodatePaul Eggert
sync from gnulib.
2006-07-01(gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD.Paul Eggert
2006-03-12(gl_PREREQ): Require gl_TIME_R.Paul Eggert
2006-01-12(gl_PREREQ): Require gl_STDINT_H.Paul Eggert
2005-11-20Require gl_EUIDACCESS_STAT.Jim Meyering
2005-10-23Add gl_SHA256 and gl_SHA512.Jim Meyering
2005-09-22(gl_PREREQ): Require gl_FUNC_GETLINE rather thanPaul Eggert
AM_FUNC_GETLINE. Require gl_FUNC_GETPASS_GNU rather than gl_FUNC_GETPASS. Require gl_MBCHAR and gl_MBITER.
2005-09-16(gl_PREREQ): Require gl_STAT_TIME.Paul Eggert
2005-07-05(gl_PREREQ): Don't require gl_TYPEOF; no longer needed.Paul Eggert
2005-07-04(gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER.Paul Eggert
2005-07-03Don't require AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstatPaul Eggert
module's job.
2005-07-03(gl_PREREQ): Require gl_FCNTL_SAFER,Paul Eggert
gl_FD_REOPEN, gl_STDLIB_SAFER.
2005-06-02Don't use "path" or "filename" to mean "file name".Paul Eggert
2005-05-27(gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP.Paul Eggert
2005-05-18Add copyright notice.Paul Eggert
(gl_PREREQ): Add gl_LOCALCHARSET.
2005-05-14(gl_PREREQ): Require gl_UNLINKDIR.Paul Eggert
2005-05-14don't add gl_UNLINKDIR just yet :)Jim Meyering
2005-05-14Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.Jim Meyering
2005-04-29(gl_PREREQ): Require gl_STAT_MACROS.Paul Eggert
2005-04-11(gl_PREREQ): Don't require gl_FCNTL_SAFER.Paul Eggert
2005-03-21gl_FUNC_MEMCASECMP -> gl_MEMCASECMPPaul Eggert
2005-03-17(gl_PREREQ): Require gl_TYPEOF.Jim Meyering
2005-03-09* argmatch.m4, cycle-check.m4: New files.Jim Meyering
* prereq.m4: Require their macros.
2005-02-22(gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER.Jim Meyering
2005-02-22(gl_PREREQ): Require gl_XNANOSLEEP.Paul Eggert
2005-02-21(gl_PREREQ): Require gl_GETHRXTIME.Paul Eggert
Require gl_STRIPSLASH and gl_LINEBUFFER.
2005-02-08Require gl_FUNC_MEMCASECMP.Jim Meyering
2005-02-07Require gl_FUNC_FTS.Jim Meyering
2005-01-29Require gl_HASH_PJW and gl_BASENAME.Jim Meyering
2004-11-25(gl_PREREQ): Add gl_FUNC_MEMPCPY.Paul Eggert
2004-11-03(gl_PREREQ): Require gt_FUNC_SETENV.Paul Eggert
2004-08-09Finish renaming sha -> sha1.Paul Eggert
2004-08-05Sync from gnulib.Paul Eggert
2004-07-25(gl_PREREQ): Invoke gl_FUNC_NONREENTRANT_EUIDACCESS,Paul Eggert
not gl_FUNC_EUIDACCESS.
2004-07-23(gl_PREREQ): Add gl_FCNTL_SAFER.Paul Eggert
2004-07-12(gl_PREREQ): Add gl_C_STRTOLD.Paul Eggert
2004-04-20Reflect the renamings.Jim Meyering
2004-04-14Move prerequisite function for src/stat.c to stat-prog.m4.Jim Meyering
2004-04-13Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.Jim Meyering
2004-04-12(jm_PREREQ): Require gl_UTIMECMP.Jim Meyering
2004-04-04*** empty log message ***Jim Meyering
2004-04-04(jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR.Jim Meyering
2004-03-31 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.Jim Meyering
Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2003-12-18(jm_PREREQ): Require AC_FUNC_GETLOADAVG, not gl_FUNC_GETLOADAVG.Jim Meyering