1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-05 17:26:28 +02:00
Commit Graph

132 Commits

Author SHA1 Message Date
Paul Eggert 05e03fc656 Add a bootstrap procedure, so that the CVS version contains fewer
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-21 07:30:45 +00:00
Paul Eggert 2869cbffcf Accommodate new getaddrinfo implementation in gnulib.
(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-10 19:10:52 +00:00
Paul Eggert 93f90065f3 Sync from gnulib. 2006-08-09 23:42:26 +00:00
Paul Eggert 2409478e37 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
gl_RANDREAD.
2006-08-08 22:16:51 +00:00
Paul Eggert 0971f7f44a (gl_PREREQ): Require gl_CLOSE_STREAM. 2006-07-22 22:23:43 +00:00
Paul Eggert c09c4070ff (gl_PREREQ): Require gl_MKANCESDIRS. 2006-07-17 03:09:09 +00:00
Paul Eggert d380605f01 (gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
sync from gnulib.
2006-07-04 05:37:58 +00:00
Paul Eggert 0f39955197 (gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD. 2006-07-01 00:08:05 +00:00
Paul Eggert c9d6c40b73 (gl_PREREQ): Require gl_TIME_R. 2006-03-12 08:06:49 +00:00
Paul Eggert 59a8b22268 (gl_PREREQ): Require gl_STDINT_H. 2006-01-12 07:19:00 +00:00
Jim Meyering 6ec2bc2d61 Require gl_EUIDACCESS_STAT. 2005-11-20 08:26:38 +00:00
Jim Meyering d45f1b2d27 Add gl_SHA256 and gl_SHA512. 2005-10-23 15:37:00 +00:00
Paul Eggert b58dc08a58 (gl_PREREQ): Require gl_FUNC_GETLINE rather than
AM_FUNC_GETLINE.  Require gl_FUNC_GETPASS_GNU rather than
gl_FUNC_GETPASS.  Require gl_MBCHAR and gl_MBITER.
2005-09-22 07:00:24 +00:00
Paul Eggert 0bc67e2851 (gl_PREREQ): Require gl_STAT_TIME. 2005-09-16 07:40:19 +00:00
Paul Eggert 85eb851bef (gl_PREREQ): Don't require gl_TYPEOF; no longer needed. 2005-07-05 06:30:27 +00:00
Paul Eggert c10f8db2a8 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER. 2005-07-04 05:05:55 +00:00
Paul Eggert 22b464a900 Don't require AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
module's job.
2005-07-03 09:30:00 +00:00
Paul Eggert ffa06e1d94 (gl_PREREQ): Require gl_FCNTL_SAFER,
gl_FD_REOPEN, gl_STDLIB_SAFER.
2005-07-03 07:15:58 +00:00
Paul Eggert f3afac1d9d Don't use "path" or "filename" to mean "file name". 2005-06-02 05:08:51 +00:00
Paul Eggert dc0465e9c7 (gl_PREREQ): Require gl_STRINTCMP, gl_STRNUMCMP. 2005-05-27 20:35:07 +00:00
Paul Eggert c55596370d Add copyright notice.
(gl_PREREQ): Add gl_LOCALCHARSET.
2005-05-18 19:31:47 +00:00
Paul Eggert fe7b1c00b9 (gl_PREREQ): Require gl_UNLINKDIR. 2005-05-14 08:11:32 +00:00
Jim Meyering 979d7201a7 don't add gl_UNLINKDIR just yet :) 2005-05-14 07:36:16 +00:00
Jim Meyering 3c0cce93e2 Don't require gl_FUNC_STAT or gl_FUNC_LSTAT. 2005-05-14 07:27:21 +00:00
Paul Eggert 21947fea69 (gl_PREREQ): Require gl_STAT_MACROS. 2005-04-29 05:37:32 +00:00
Paul Eggert 791d815ca0 (gl_PREREQ): Don't require gl_FCNTL_SAFER. 2005-04-11 20:05:34 +00:00
Paul Eggert 0f4308d0f8 gl_FUNC_MEMCASECMP -> gl_MEMCASECMP 2005-03-21 20:15:18 +00:00
Jim Meyering e3a6890029 (gl_PREREQ): Require gl_TYPEOF. 2005-03-17 19:01:39 +00:00
Jim Meyering b0627f229c * argmatch.m4, cycle-check.m4: New files.
* prereq.m4: Require their macros.
2005-03-09 10:18:43 +00:00
Jim Meyering 8dc2142b92 (gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER. 2005-02-22 07:50:16 +00:00
Paul Eggert dcf1114082 (gl_PREREQ): Require gl_XNANOSLEEP. 2005-02-22 07:09:37 +00:00
Paul Eggert e26599af0b (gl_PREREQ): Require gl_GETHRXTIME.
Require gl_STRIPSLASH and gl_LINEBUFFER.
2005-02-21 08:12:37 +00:00
Jim Meyering d9e9e816f1 Require gl_FUNC_MEMCASECMP. 2005-02-08 09:55:39 +00:00
Jim Meyering 59b1c8cfd0 Require gl_FUNC_FTS. 2005-02-07 16:45:19 +00:00
Jim Meyering 3f74581e29 Require gl_HASH_PJW and gl_BASENAME. 2005-01-29 00:04:30 +00:00
Paul Eggert 549aae50d2 (gl_PREREQ): Add gl_FUNC_MEMPCPY. 2004-11-25 20:01:08 +00:00
Paul Eggert abd8f84b4a (gl_PREREQ): Require gt_FUNC_SETENV. 2004-11-03 23:03:17 +00:00
Paul Eggert 4573c9e81c Finish renaming sha -> sha1. 2004-08-09 18:16:21 +00:00
Paul Eggert d86254a25a Sync from gnulib. 2004-08-05 23:01:03 +00:00
Paul Eggert 34d19d25d5 (gl_PREREQ): Invoke gl_FUNC_NONREENTRANT_EUIDACCESS,
not gl_FUNC_EUIDACCESS.
2004-07-25 07:38:19 +00:00
Paul Eggert ba1e6b0184 (gl_PREREQ): Add gl_FCNTL_SAFER. 2004-07-23 22:35:07 +00:00
Paul Eggert bae8432a9b (gl_PREREQ): Add gl_C_STRTOLD. 2004-07-12 06:36:02 +00:00
Jim Meyering 48f4d20c8b Reflect the renamings. 2004-04-20 09:19:27 +00:00
Jim Meyering cf31d5d7df Move prerequisite function for src/stat.c to stat-prog.m4. 2004-04-14 08:28:42 +00:00
Jim Meyering 72002f81e3 Change jm_' in AC_DEFINE'd names to gl_'. Update all uses. 2004-04-13 15:28:45 +00:00
Jim Meyering 981b84709a (jm_PREREQ): Require gl_UTIMECMP. 2004-04-12 09:31:41 +00:00
Jim Meyering f8707d3711 *** empty log message *** 2004-04-04 06:54:16 +00:00
Jim Meyering 17248a88e0 (jm_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR. 2004-04-04 06:54:11 +00:00
Jim Meyering d63e8ee800 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2004-03-31 07:43:41 +00:00
Jim Meyering b36b20d24d (jm_PREREQ): Require AC_FUNC_GETLOADAVG, not gl_FUNC_GETLOADAVG. 2003-12-18 10:33:39 +00:00