summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
AgeCommit message (Collapse)Author
2009-10-29build (--enable-gcc-warnings): enable gcc's -Werror also in lib/Jim Meyering
* configure.ac (GNULIB_WARN_CFLAGS): Define. * lib/Makefile.am (AM_CFLAGS): Use $(GNULIB_WARN_CFLAGS) rather than $(WARN_CFLAGS) and add $(WERROR_CFLAGS). * gl/lib/regcomp.c.diff: New file. * gl/lib/regex_internal.c.diff: New file. * gl/lib/regexec.c.diff: New file.
2009-03-07build: avoid "multiply defined..." warning from automakeJim Meyering
* Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS) via +=, not =, to avoid "multiply defined..." warning from automake.
2008-12-21build: add configure-time --enable-gcc-warnings option; avoid warningsJim Meyering
* bootstrap.conf (gnulib_modules): Add "warnings" module. * configure.ac: Add --enable-gcc-warnings, derived from code in bison. * src/Makefile.am (AM_CFLAGS): Set to $(WARN_CFLAGS) # $(WERROR_CFLAGS) * lib/Makefile.am (AM_CFLAGS): Change spelling to $(WARN_CFLAGS) Don't use $(WERROR_CFLAGS), yet. * src/system.h (usage): Declare. * src/base64.c (usage): Declare to be global, for consistency. * src/timeout.c (usage): Likewise. * src/truncate.c (usage): Likewise. * src/getlimits.c (usage): Likewise. * src/pinky.c (ttyname): Declare with prototype, rather than an empty argument list. * src/who.c (ttyname): Likewise. * src/su.c (crypt, getusershell, setusershell, endusershell): Likewise.
2007-10-04Remove test program: lib/t-fpending.c.Jim Meyering
* lib/t-fpending.c: Remove file. Now, this test is in gnulib. * lib/Makefile.am: Remove associated rules. * .gitignore: Remove lib/t-fpending.
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2006-12-03* Makefile.am (libcoreutils_a_SOURCES): Remove xmemcoll.c andJim Meyering
xmemcoll.h. Now, they're handled by the gnulib xmemcoll module.
2006-10-12* Makefile.am (libcoreutils_a_LIBADD): Append $(LIBOBJS),Jim Meyering
to accommodate the latest version of gnulib-tool. (libcoreutils_a_DEPENDENCIES): Likewise. From Bruno Haible.
2006-08-23* .cvsignore: Remove config.h, config.hin, as they are nowPaul Eggert
in lib. * configure.ac (AC_CONFIG_HEADERS): Move config.h and config.hin to lib. * lib/.cvsignore: Add config.h, config.hin. * lib/Makefile.am (AM_CPPFLAGS): Remove; we no longer need '-I..'. * src/Makefile.am (AM_CPPFLAGS): Remove '-I..'; no longer needed.
2006-08-22(LDADD): Restore this line; it is still needed forPaul Eggert
t-fpending on platforms without __fpending.
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
(libcoreutils_a_SOURCES): Add inet_ntop.h, snprintf.h. (MOSTLYCLEANDIRS): New macro. (BUILT_SOURCES): Add $(ARPA_INET_H), $(SYS_SOCKET_H), $(NETINET_IN_H). (arpa/inet.h, netinet/in.h, sys/socket.h): New rules. (MOSTLYCLEANFILES): Add arpa/inet.h, arpa/inet.h-t, netinet/in.h, netinet/in.h-t, sys/socket.h, sys/socket.h-t. (EXTRA_DIST): Add socket_.h.
2006-08-08(libcoreutils_a_SOURCES): Add xmemxfrm.c, xmemxfrm.h.Paul Eggert
2006-07-09(stdint.h): FULL_PATH_STDINT_H -> ABSOLUTE_STDINT_H,Paul Eggert
to accommodate update from gnulib.
2006-07-04(libcoreutils_a_SOURCES): Add setenv.h, wcwidth.h,Paul Eggert
to accommodate sync from gnulib.
2006-07-02Sync stdint module from gnulib.Paul Eggert
2006-03-12(libcoreutils_a_SOURCES): Remove time_r.c, time_r.h,Paul Eggert
as this is now done in m4.
2006-02-27(libcoreutils_a_SOURCES): Add base64.h and base64.c.Jim Meyering
2006-01-12(BUILT_SOURCES, EXTRA_DIST, stdint.h, MOSTLYCLEANFILES):Paul Eggert
Add gnulib snippet.
2005-12-14(libcoreutils_a_SOURCES): Remove fprintftime.cJim Meyering
and fprintftime.h. Now they're pulled in via the .m4 file.
2005-12-14(stdbool.h): Resurrect the 'sed' that goes along with '#if !@HAVE_BOOL@".Paul Eggert
2005-11-26(MOSTLYCLEANFILES): Clean stdbool.h-t, not stdbool.ht.Paul Eggert
2005-11-26(stdbool.h): Fix typo in previous change.Paul Eggert
2005-11-26(stdbool.h): Just copy stdbool_.h; no need to sed any more.Paul Eggert
2005-11-24(libcoreutils_a_SOURCES): Add buffer-lcm.c, buffer-lcm.h.Paul Eggert
2005-10-05(libcoreutils_a_DEPENDENCIES): Remove definition.Jim Meyering
Once it's gone, automake generates an equivalent one.
2005-09-24(libcoreutils_a_SOURCES): Remove mbchar.c, sincePaul Eggert
it doesn't build in OpenBSD 3.4. See <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
2005-09-22(libcoreutils_a_SOURCES): Add getaddrinfo.h,Paul Eggert
mbchar.c, mbchar.h, mbuiter.h, strcase.h, strlen1.c, strnlen1.h, strstr.h.
2005-09-16(libcoreutils_a_SOURCES): Add fprintftime.c and fprintftime.h.Jim Meyering
2005-07-08(libcoreutils_a_SOURCES): Remove regex.h; gnulibPaul Eggert
now does this automatically for us.
2005-07-04(libcoreutils_a_SOURCES): Add verify.h here, temporarily.Jim Meyering
Eventually, it'll be pulled in via AC_LIBSOURCES.
2005-07-03Undo previous change.Paul Eggert
2005-07-03(libcoreutils_a_SOURCES): Add fcntl--.h, stdio--h,Paul Eggert
stdlib--.h, unistd--.h.
2005-06-26(libcoreutils_a_SOURCES): Remove diacrit.c and diacrit.h.Jim Meyering
2005-06-25(libcoreutils_a_SOURCES): Remove version-etc.c version-etc.hJim Meyering
and version-etc-fsf.c.
2005-06-25(libcoreutils_a_SOURCES): Remove dev-ino.h too, now that weJim Meyering
get it via root-dev-ino.m4
2005-06-25(libcoreutils_a_SOURCES): Remove root-dev-ino.c and root-dev-ino.h.Jim Meyering
2005-06-23(libcoreutils_a_SOURCES): Remove xstrtod.c and xstrtod.h.Jim Meyering
2005-06-23(libcoreutils_a_SOURCES): Remove xreadlink.c and xreadlink.h.Jim Meyering
2005-06-19(libcoreutils_a_SOURCES): Remove xgetcwd.c, xgetcwd.h, xfts.c and xfts.h.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-04-18(noinst_LIBRARIES): fetish -> coreutils.Paul Eggert
(libcoreutils_a_SOURCES): Renamed from libfetish_a_SOURCES. All uses changed. (libcoreutils_a_LIBADD): Renamed from libfetish_a_LIBADD. All uses changed. (libcoreutils_a_DEPENDENCIES): Renamed from libfetish_a_DEPENDENCIES. All uses changed.
2005-04-11(libfetish_a_SOURCES): Remove dup-safer.c,Paul Eggert
fcntl-safer.h, fopen-safer.c, open-safer.c, stdio-safer.h, unistd-safer.h.
2005-03-21(libfetish_a_SOURCES): Remove stat-macros.h, xstrtoul.c,Paul Eggert
as they are now done by Autoconf macros.
2005-03-09(libfetish_a_SOURCES): Remove xstrtol.c and xstrtol.h.Jim Meyering
2005-03-09More migration to AC_LIBSOURCES/AC_LIBOBJ.Jim Meyering
(libfetish_a_SOURCES): Remove two more pairs of files: cycle-check.c, cycle-check.h and argmatch.c, argmatch.h.
2005-02-22(libfetish_a_SOURCES): Remove xnanosleep.c,Paul Eggert
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.
2005-02-20(libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c.Jim Meyering
2005-02-11Remove names of files that are now mentioned in AC_LIBSOURCESJim Meyering
and AC_LIBOBJ uses in inttostr.m4. (libfetish_a_SOURCES): Remove imaxtostr.c, offtostr.c, and umaxtostr.c. (EXTRA_DIST): Remove inttostr.c and inttostr.h.
2005-02-08(libfetish_a_SOURCES): Remove memcasecmp.c and memcasecmp.h.Jim Meyering