view config/srclist.txt @ 8146:b31580167c2b

New module 'time', so that apps can include <time.h> as per POSIX and GNU instead of separate include files like time_r.h and timegm.h. This implementation tries out a simpler approach for replacing decls in standard include files (as compared to the string module), somewhat as an experiment. * config/srclist.txt: Comment out mktime.c for now. * doc/gnulib-tool.texi (Initial import): Don't use time_r as an example since it doesn't apply any more. Use generic wording instead. * MODULES.html.sh (Support for systems lacking POSIX:2001): New module 'time'. * lib/time_.h, m4/time_h.m4, modules/time: New files. * lib/strptime.h, lib/time_r.h, lib/timegm.h: Remove. * lib/mktime.c: Include config.h depending on _LIBC, not HAVE_CONFIG_H. Don't include <sys/types.h>; no longer needed since we assume C89. * lib/mktime.c: Don't include "time_r.h"; no longer needed. * lib/strftime.c: Likewise. * lib/time_r.c: Likewise. * lib/nanosleep.c (nanosleep): #undef after include files, not before. * lib/nanosleep.c: Include <time.h> first, to check interface. * lib/strptime.c: Likewise. * lib/time_r.c: Likewise. * lib/timegm.c: Likewise. * lib/strptime.c: Don't include strptime.h or time_r.h; no longer needed. * lib/timegm.c: Don't include timegm.h; no longer needed. * lib/timespec.h: Don't include <sys/time.h> before <time.h>; time.h now handles any problems in that area. (struct timespec, nanosleep): Remove; time.h now arranges for these. * lib/xnanosleep.c: Don't include timespec.h; no longer needed now that time.h defines struct timespec. * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Check that nanosleep is declared. Set REPLACE_NANOSLEEP. Don't AC_DEFINE nanosleep; the time module now handles that. * m4/strptime.m4 (gl_FUNC_STPRTIME): Set REPLACE_STRPTIME. * m4/time_r.m4 (gl_TIME_R): Don't define HAVE_TIME_R_POSIX; no longer needed. Set REPLACE_LOCALTIME. * m4/timegm.m4 (gl_FUNC_TIMEGM): Set REPLACE_TIMEGM. * m4/timespec.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Move to time_h.m4. (gl_TIMESPEC): Don't check for sys/time.h or struct timespec or nanosleep; time_h.m4 now does that. Don't require gl_USE_SYSTEM_EXTENSIONS; no longer needed directly, and the time module handles this now. * modules/getdate (Depends-on): Remove timespec. Add time. * modules/nanosleep (Depends-on): Likewise. * modules/stat-time (Depends-on): Likewise. * modules/nanosleep (Include): Include time.h, not timespec.h. * modules/strptime (Files): Remove lib/strptime.h. (Depends-on): Add extensions, time. (Include): Include time.h, not strptime.h. * modules/time_r (Files): Remove lib/time_r.h. (Depends-on): Add time. (Include): Include time.h, not time_r.h. * modules/timegm: Likewise. * modules/timespec (Description): Now does timespec-related decls of our own, instead of struct timespec itself. (Depends-on): Add time; remove extensions. (Maintainer): Add self. * modules/utimecmp (Depends-on): Add time; remove timespec. * modules/utimens (Depends-on): Likewise. * modules/xnanosleep (Depends-on): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 12 Feb 2007 18:49:19 +0000
parents 3e4694cffb89
children 8666d1ed5b54
line wrap: on
line source

# $Id: srclist.txt,v 1.145 2007-02-12 18:49:19 eggert Exp $
# Files for which we are not the source.  See ./srclistvars.sh for the
# variable definitions.

$GNUCONFIG/config.guess		build-aux
$GNUCONFIG/config.sub		build-aux
#
$AUTOMAKE/lib/depcomp		build-aux
$AUTOMAKE/lib/elisp-comp	build-aux
$AUTOMAKE/lib/gnupload		build-aux
$AUTOMAKE/lib/install-sh	build-aux
$AUTOMAKE/lib/mdate-sh		build-aux
$AUTOMAKE/lib/missing		build-aux
$AUTOMAKE/lib/mkinstalldirs	build-aux
#
$TEXINFOSRC/doc/texinfo.tex		build-aux
$TEXINFOSRC/util/gendocs.sh		build-aux
$TEXINFOSRC/util/gendocs_template	doc
#
$AUTOCONF/INSTALL		doc
#
$GNUWWWLICENSES/fdl.texi	doc
$GNUWWWLICENSES/gpl.texi	doc
$GNUWWWLICENSES/lgpl.texi	doc
$GNUWWWLICENSES/gpl.txt		doc
$GNUWWWLICENSES/lgpl.txt	doc
#
$GNUSTANDARDS/maintain.texi	doc
$GNUSTANDARDS/standards.texi	doc
$GNUSTANDARDS/make-stds.texi	doc
#
# The official forms for contributors to fill out, mentioned in maintain.
$GNUORG/conditions.text				doc/Copyright
$GNUORG/Copyright/request-assign.changes	doc/Copyright
$GNUORG/Copyright/request-assign.future		doc/Copyright
$GNUORG/Copyright/request-assign.program	doc/Copyright
$GNUORG/Copyright/request-disclaim.changes	doc/Copyright
$GNUORG/assign.manual				doc/Copyright
$GNUORG/assign.changes.manual			doc/Copyright
$GNUORG/assign.future.manual			doc/Copyright
$GNUORG/assign.translation.manual		doc/Copyright
$GNUORG/disclaim.manual				doc/Copyright
$GNUORG/disclaim.changes.manual			doc/Copyright
$GNUORG/disclaim.program			doc/Copyright
#
#
# Reenable commented-out entries when next gettext is released, hopefully.
#
$GETTEXT/gettext-runtime/libasprintf/asnprintf.c	lib gpl
$GETTEXT/gettext-runtime/libasprintf/asprintf.c		lib gpl
$GETTEXT/gettext-runtime/libasprintf/printf-args.c	lib gpl
$GETTEXT/gettext-runtime/libasprintf/printf-args.h	lib gpl
$GETTEXT/gettext-runtime/libasprintf/printf-parse.c	lib gpl
$GETTEXT/gettext-runtime/libasprintf/printf-parse.h	lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasnprintf.c	lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasnprintf.h	lib gpl
$GETTEXT/gettext-runtime/libasprintf/vasprintf.c	lib gpl

$GETTEXT/gettext-runtime/intl/config.charset		lib gpl
$GETTEXT/gettext-runtime/intl/localcharset.c		lib gpl
$GETTEXT/gettext-runtime/intl/localcharset.h		lib gpl
$GETTEXT/gettext-runtime/intl/ref-add.sin		lib gpl
$GETTEXT/gettext-runtime/intl/ref-del.sin		lib gpl

# These four files should kept in sync, e.g., gettoolize installs them
# all together, gnulib-tool install all or none.
$GETTEXT/autoconf-lib-link/config.rpath			build-aux
$GETTEXT/autoconf-lib-link/m4/lib-ld.m4			m4
$GETTEXT/autoconf-lib-link/m4/lib-link.m4		m4
$GETTEXT/autoconf-lib-link/m4/lib-prefix.m4		m4

$GETTEXT/gettext-runtime/m4/codeset.m4			m4
$GETTEXT/gettext-runtime/m4/gettext.m4			m4
$GETTEXT/gettext-runtime/m4/glibc21.m4			m4
$GETTEXT/gettext-runtime/m4/iconv.m4			m4
$GETTEXT/gettext-runtime/m4/intdiv0.m4			m4
$GETTEXT/gettext-runtime/m4/intl.m4			m4
$GETTEXT/gettext-runtime/m4/intldir.m4			m4
$GETTEXT/gettext-runtime/m4/intmax.m4			m4
$GETTEXT/gettext-runtime/m4/inttypes-pri.m4		m4
$GETTEXT/gettext-runtime/m4/lcmessage.m4		m4
$GETTEXT/gettext-runtime/m4/longdouble.m4		m4
$GETTEXT/gettext-runtime/m4/nls.m4			m4
$GETTEXT/gettext-runtime/m4/po.m4			m4
$GETTEXT/gettext-runtime/m4/printf-posix.m4		m4
$GETTEXT/gettext-runtime/m4/progtest.m4			m4
$GETTEXT/gettext-runtime/m4/wchar_t.m4			m4
#$GETTEXT/gettext-runtime/m4/wint_t.m4			m4

# new argp not in glibc yet --13feb06.
#$LIBCSRC/argp/argp-ba.c			lib gpl
#$LIBCSRC/argp/argp-eexst.c		lib gpl
#$LIBCSRC/argp/argp-fmtstream.c		lib gpl
#$LIBCSRC/argp/argp-fmtstream.h		lib gpl
#$LIBCSRC/argp/argp-fs-xinl.c		lib gpl
#$LIBCSRC/argp/argp-help.c		lib gpl
#$LIBCSRC/argp/argp-namefrob.h		lib gpl
#$LIBCSRC/argp/argp-parse.c		lib gpl
#$LIBCSRC/argp/argp-pv.c			lib gpl
#$LIBCSRC/argp/argp-pvh.c		lib gpl
#$LIBCSRC/argp/argp-xinl.c		lib gpl
#$LIBCSRC/argp/argp.h			lib gpl
#$LIBCSRC/stdlib/getsubopt.c		lib gpl
#$LIBCSRC/posix/getopt.c		lib gpl
#$LIBCSRC/posix/getopt.h		lib gpl (getopt_.h in gnulib)
#$LIBCSRC/posix/getopt1.c		lib gpl
#$LIBCSRC/posix/getopt_int.h		lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1293
#$LIBCSRC/libidn/iconvme.h		lib gpl
#$LIBCSRC/libidn/iconvme.c		lib gpl

# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1057
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1217
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1220
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1223
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1224
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1237
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1240
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1241
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1273
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1278
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1280
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1282
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1291
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
#$LIBCSRC/posix/regcomp.c		lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1238
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1245
#$LIBCSRC/posix/regex.c			lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1201
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1207
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1222
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1232
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1236
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1240
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281
#$LIBCSRC/posix/regex.h			lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1215
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1218
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1220
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1226
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1231
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1237
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1241
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1248
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1282
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1284
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1286
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1287
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1291
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
#$LIBCSRC/posix/regex_internal.c		lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1054
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1221
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1237
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1241
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1245
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1248
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1273
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1278
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1291
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
#$LIBCSRC/posix/regex_internal.h		lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1216
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1220
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1225
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1227
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1231
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1237
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1241
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1245
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1278
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1279
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1280
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1282
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1284
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1285
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1302
#$LIBCSRC/posix/regexec.c		lib gpl
#
# c89 changes $LIBCSRC/string/strdup.c		lib gpl
$LIBCSRC/stdlib/strtoll.c		lib gpl
$LIBCSRC/stdlib/strtoul.c		lib gpl
# (no more strtok_r.h) $LIBCSRC/string/strtok_r.c		lib gpl
# (gnulib needs config.h?) $LIBCSRC/string/memmem.c		lib gpl
#$LIBCSRC/time/mktime.c			lib gpl

#
# http://sourceware.org/bugzilla/show_bug.cgi?id=1439
#$LIBCSRC/crypt/md5.c			lib gpl
#$LIBCSRC/crypt/md5.h			lib gpl
# These are close, but ...
#$LIBCSRC/locale/programs/xmalloc.c	lib gpl
#$LIBCSRC/locale/programs/xstrdup.c	lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=321
#$LIBCSRC/malloc/obstack.c		lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=321
#$LIBCSRC/malloc/obstack.h		lib gpl
#$LIBCSRC/misc/error.c			lib gpl
#$LIBCSRC/misc/error.h			lib gpl
#$LIBCSRC/misc/getpass.c		lib gpl
#$LIBCSRC/misc/mkstemp.c		lib gpl
#$LIBCSRC/posix/fnmatch.c		lib gpl
#$LIBCSRC/posix/fnmatch.h		lib gpl (fnmatch_.h in gnulib)
#$LIBCSRC/posix/fnmatch_loop.c		lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1060
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1062
#$LIBCSRC/posix/glob.c			lib gpl
#
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1060
#$LIBCSRC/posix/glob.h			lib gpl (glob-libc.h in gnulib)
#
#$LIBCSRC/stdlib/putenv.c		lib gpl
#$LIBCSRC/stdlib/rpmatch.c		lib gpl
#$LIBCSRC/stdlib/strtol.c		lib gpl
#$LIBCSRC/string/strndup.c		lib gpl
#$LIBCSRC/string/strverscmp.c		lib gpl
#
#$LIBCSRC/string/memchr.c		lib gpl
#$LIBCSRC/string/memcmp.c		lib gpl
#$LIBCSRC/string/memrchr.c		lib gpl
#$LIBCSRC/string/stpcpy.c		lib gpl
#$LIBCSRC/string/stpncpy.c		lib gpl
#$LIBCSRC/string/strcspn.c		lib gpl
#$LIBCSRC/string/strpbrk.c		lib gpl
#$LIBCSRC/string/strstr.c		lib gpl
#$LIBCSRC/sysdeps/posix/dup2.c		lib gpl
#$LIBCSRC/sysdeps/posix/euidaccess.c	lib gpl
#$LIBCSRC/sysdeps/posix/tempname.c	lib gpl
#$LIBCSRC/sysdeps/unix/bsd/poll.c	lib gpl
#$LIBCSRC/sysdeps/unix/dirfd.c		lib gpl
#$LIBCSRC/sysdeps/unix/rmdir.c		lib gpl
#$LIBCSRC/time/strftime.c		lib gpl
# These are close, but we are using the gettext versions.
#$LIBCSRC/misc/mkdtemp.c		lib gpl
#$LIBCSRC/stdlib/setenv.c		lib gpl (setenv.c, unsetenv.c)
#
# These implementations are quite different.
#$LIBCSRC/io/lstat.c				lib gpl
#$LIBCSRC/libio/__fpending.c			lib gpl
#$LIBCSRC/malloc/malloc.c			lib gpl
#$LIBCSRC/misc/dirname.c			lib gpl
#$LIBCSRC/misc/getusershell.c			lib gpl
#$LIBCSRC/stdio-common/getline.c		lib gpl
#$LIBCSRC/stdlib/atexit.c			lib gpl
#$LIBCSRC/stdlib/exit.h				lib gpl
#$LIBCSRC/stdlib/strtod.c			lib gpl
#$LIBCSRC/stdlib/strtoimax.c			lib gpl
#$LIBCSRC/stdlib/strtoull.c			lib gpl
#$LIBCSRC/stdlib/strtoumax.c			lib gpl
#$LIBCSRC/string/basename.c			lib gpl
#$LIBCSRC/string/bcopy.c			lib gpl
#$LIBCSRC/string/memcpy.c			lib gpl
#$LIBCSRC/string/memmove.c			lib gpl
#$LIBCSRC/string/memset.c			lib gpl
#$LIBCSRC/string/strcasecmp.c			lib gpl
#$LIBCSRC/string/strchrnul.c			lib gpl
#$LIBCSRC/string/strerror.c			lib gpl
#$LIBCSRC/string/strnlen.c			lib gpl
#$LIBCSRC/sysdeps/posix/gettimeofday.c		lib gpl
#$LIBCSRC/sysdeps/posix/rename.c		lib gpl
#$LIBCSRC/sysdeps/unix/mkdir.c			lib gpl
#$LIBCSRC/sysdeps/unix/sysv/gethostname.c	lib gpl
#$LIBCSRC/sysdeps/unix/utime.c			lib gpl

$LIBTOOL/libltdl/argz.c				lib gpl
$LIBTOOL/libltdl/argz_.h			lib gpl
$LIBTOOL/libltdl/m4/argz.m4			m4