Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-01 | improve M4 quoting | Jim Meyering | |
* configure.ac: Add quotes. * gl/m4/mgetgroups.m4 (gl_MGETGROUPS): Likewise. * m4/boottime.m4 (GNULIB_BOOT_TIME): Likewise. * m4/check-decl.m4 (gl_CHECK_DECLS): Likewise. * m4/gmp.m4 (cu_GMP): Likewise. * m4/jm-macros.m4 (coreutils_MACROS, gl_CHECK_ALL_HEADERS): Likewise. (gl_CHECK_ALL_TYPES): Likewise. * m4/lib-check.m4 (cu_LIB_CHECK): Likewise. * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Likewise. FYI, I first ran this command: git ls-files | grep -E '\.(m4|ac)$' | xargs perl -pi \ -e 's/(AC_[A-Z_]+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \ -e 's/(AC_[A-Z_]+\(\[[^,]+?\], )([^,[()]+?)([,)])/$1\[$2]$3/g;' \ -e 's/(AC_[A-Z_]+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g' Then I updated serial numbers and copyright dates manually. Also, I manually added two pairs of quotes in boottime.m4. | |||
2006-08-21 | Add a bootstrap procedure, so that the CVS version contains fewer | Paul 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-17 | Add/fix copyright notices and adjust to latest GNU FDL. | Paul Eggert | |
2006-07-09 | Update from gnulib. | Paul Eggert | |
2005-09-22 | (_gl_DECL_HEADERS): Don't bother checking for | Paul Eggert | |
standard C headers, or for headers we no longer use. | |||
2005-07-02 | Assume HAVE_UNISTD_H, i.e., that <unistd.h> works. | Jim Meyering | |
2004-04-13 | Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses. | Jim Meyering | |
2003-09-13 | (jm_CHECK_DECLS): Include <string.h>, <stdlib.h> unconditionally. | Jim Meyering | |
2003-08-17 | Sync with gnulib. | Jim Meyering | |
2003-02-09 | (jm_CHECK_DECLS): Add euidaccess. | Jim Meyering | |
2001-08-12 | Quote the first argument in each use of AC_DEFUN. | Jim Meyering | |
2001-01-01 | (jm_CHECK_DECLS): Include grp.h and pwd.h if available. | Jim Meyering | |
They are required for the declarations of getgrgid and getpwuid resp. (_jm_DECL_HEADERS): Check for grp.h and pwd.h. | |||
2000-10-21 | (jm_CHECK_DECLS): Also check for memrchr. | Jim Meyering | |
2000-08-20 | Include utmp.h `#if HAVE_UTMP_H', rather than | Jim Meyering | |
`#if !HAVE_UTMPX_H'. The latter would lose on systems with neither utmp.h nor utmpx.h. Reported by Eli Zaretskii. | |||
2000-07-23 | fix typos (missing commas) | Jim Meyering | |
2000-07-23 | (jm_CHECK_DECLS): Check for declarations of these, too: | Jim Meyering | |
getgrgid, getpwuid, getuid. | |||
2000-07-04 | (AC_CHECK_DECLS): Add strnlen. | Jim Meyering | |
2000-06-27 | (_jm_DECL_HEADERS): Check for utmp.h as well. | Jim Meyering | |
2000-05-24 | (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS, | Jim Meyering | |
now that autoconf requires that. | |||
2000-05-03 | (AC_CHECK_DECLS): Add strndup. | Jim Meyering | |
2000-04-05 | fix two typos. Duh | Jim Meyering | |
2000-04-05 | [!HAVE_UTMPX_H] (headers): Include <utmp.h>. | Jim Meyering | |
(jm_CHECK_DECLS): Add getutent to the list of functions. (_jm_DECL_HEADERS): Add utmpx.h. | |||
2000-03-02 | (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid. | Jim Meyering | |
2000-02-27 | Add getenv to the list. | Jim Meyering | |
2000-02-26 | whoops. Add commas in parenthesized list of functions in call | Jim Meyering | |
to AC_CHECK_DECLS. | |||
2000-02-23 | Now that we have the new AC_CHECK_DECLS, use it in place of my hack. | Jim Meyering | |
2000-01-31 | (jm_CHECK_DECLS): Add nanosleep to the list of | Jim Meyering | |
functions. Add the time.h and sys/time.h headers along with the AC_REQUIRE'ment of AC_HEADER_TIME. | |||
2000-01-22 | (_jm_DECL_HEADERS): Define new function. | Jim Meyering | |
(jm_CHECK_DECLARATIONS): Require it. | |||
2000-01-22 | Revert to using #if HAVE_STDLIB_H | Jim Meyering | |
to guard inclusion of <stdlib.h>. | |||
2000-01-22 | Guard inclusion of <stdlib.h> with `#if STDC_HEADERS', | Jim Meyering | |
not `#if HAVE_STDLIB_H'. The former wasn't defined. Use #if rather than #ifdef. Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL. (jm_CHECK_DECLARATIONS): Add strtoul strtoull. | |||
1999-01-10 | Use 3-arg form of AC_DEFINE instead of the | Jim Meyering | |
AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the comments in config.h.in are meaningful. | |||
1998-10-18 | (jm_CHECK_DECL_LOCALTIME_R): Remove macro. | Jim Meyering | |
1998-10-18 | (jm_CHECK_DECLS): Reflect interface change. | Jim Meyering | |
(jm_CHECK_DECL_LOCALTIME_R): New macro. | |||
1997-12-21 | increment serial number | Jim Meyering | |
1997-12-14 | Add #serial 1. | Jim Meyering | |
1997-12-14 | add lseek | Jim Meyering | |
1997-12-14 | s/DECLARATION_/DECL_/g. | Jim Meyering | |
Add memchr. | |||
1997-10-24 | . | Jim Meyering | |