mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2026-10-24 00:48:56 +03:00
* lib/acl-internal.c, lib/argmatch.c, lib/argp-help.c: * lib/argp-parse.c, lib/bcp47.c, lib/c32_get_mapping.c: * lib/c32_get_type_test.c, lib/concat-filename.c: * lib/cpu-supports.h, lib/dfa.c, lib/duplocale.c, lib/exclude.c: * lib/findprog-in.c, lib/findprog.c, lib/fopen.c, lib/freopen.c: * lib/fts.c, lib/gen-uni-tables.c, lib/getfilecon.c: * lib/getlogin.c, lib/getugroups.c, lib/hard-locale.c: * lib/hashcode-named-file.c, lib/hashkey-string.c: * lib/iconv_open.c, lib/idcache.c, lib/lc-charset-unicode.c: * lib/localcharset.c, lib/localename-environ.c: * lib/localename-unsafe.c, lib/mbs_endswith.c, lib/mountlist.c: * lib/newlocale.c, lib/nl_langinfo.c, lib/nproc.c, lib/open.c: * lib/os2-spawn.c, lib/parse-datetime.y, lib/popen.c: * lib/progreloc.c, lib/propername.c, lib/pt_chown.c, lib/putenv.c: * lib/qcopy-acl.c, lib/readutmp.c, lib/rpmatch.c: * lib/setlocale-fixes.c, lib/setlocale.c, lib/sig2str.c: * lib/spawni.c, lib/stat.c, lib/str_endswith.c, lib/streq.h: * lib/striconveha.c, lib/struniq.h, lib/supersede.c: * lib/time_rz.c, lib/unicodeio.c, lib/vasnprintf.c: * lib/vc-mtime.c, lib/wctrans-impl.h, lib/wctype-impl.h: Prefer streq to strcmp when either will do. Do not make this change to files shared with glibc. Do not make the change to test files, at least not for now. * lib/gen-uni-tables.c (streq): New static function, in same style. * modules/acl-permissions, modules/argp, modules/c32_get_mapping: * modules/c32_get_type_test, modules/concat-filename: * modules/cpu-supports, modules/dfa, modules/duplocale: * modules/exclude, modules/findprog, modules/findprog-in: * modules/fopen, modules/fopen-gnu, modules/freopen, modules/fts: * modules/getlocalename_l-simple, modules/getlocalename_l-unsafe: * modules/getlogin, modules/getugroups, modules/hard-locale: * modules/hashcode-named-file, modules/hashkey-string: * modules/iconv_open, modules/idcache, modules/localcharset: * modules/localename, modules/localename-unsafe: * modules/mbs_endswith, modules/mountlist, modules/newlocale: * modules/nl_langinfo, modules/nproc, modules/open: * modules/parse-datetime, modules/popen: * modules/posix_spawn-internal, modules/propername: * modules/pt_chown, modules/putenv-gnu, modules/qcopy-acl: * modules/rpmatch, modules/selinux-h, modules/setenv: * modules/setlocale, modules/setlocale-fixes, modules/sig2str: * modules/spawn-pipe, modules/stat, modules/str_endswith: * modules/streq, modules/striconveha, modules/supersede: * modules/time_rz, modules/uchar-h, modules/unicodeio: * modules/uniconv/base, modules/wctrans, modules/wctype: (Depends-on): Add stringeq.
75 lines
2.0 KiB
Plaintext
75 lines
2.0 KiB
Plaintext
Description:
|
|
Convert a date/time string to linear time.
|
|
|
|
Files:
|
|
doc/parse-datetime.texi
|
|
lib/parse-datetime.h
|
|
lib/parse-datetime.y
|
|
m4/parse-datetime.m4
|
|
m4/tm_gmtoff.m4
|
|
|
|
Depends-on:
|
|
assert-h
|
|
bison
|
|
c99
|
|
c-ctype
|
|
bool
|
|
gettime
|
|
gettext-h
|
|
gnulib-i18n
|
|
idx
|
|
intprops
|
|
inttypes-h
|
|
mktime
|
|
stdckdint-h
|
|
stringeq
|
|
time-h
|
|
time_r
|
|
time_rz
|
|
|
|
configure.ac:
|
|
gl_PARSE_DATETIME
|
|
|
|
Makefile.am:
|
|
# The Automake generated .y.c rule is broken: When executed in a VPATH build,
|
|
# - The .c file gets generated in the build directory. But since it requires
|
|
# special tools to rebuild it, we need to distribute it in the tarballs,
|
|
# and by the GNU Coding Standards
|
|
# <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html>
|
|
# the file should be generated in the source directory.
|
|
# - The #line directives in the .c file refer to a nonexistent file once it
|
|
# has been moved from the build directory to the source directory. This
|
|
# leads to error if 'lcov' is used later.
|
|
# Additionally, here we assume GNU Bison and therefore don't need the ylwrap
|
|
# script.
|
|
# Therefore we override this rule.
|
|
# Unfortunately, overriding the Automake generated .y.c rule does not work in
|
|
# VPATH builds with OpenBSD make. Therefore, for VPATH builds on OpenBSD, the
|
|
# user will need GNU make.
|
|
parse-datetime.c: parse-datetime.y
|
|
$(AM_V_YACC)$(PARSE_DATETIME_BISON) $(YFLAGS) $(AM_YFLAGS) $(srcdir)/parse-datetime.y \
|
|
&& test ':' = '$(PARSE_DATETIME_BISON)' || { \
|
|
sed -e 's|".*/parse-datetime\.y"|"parse-datetime.y"|' \
|
|
-e 's|"parse-datetime\.tab\.c"|"parse-datetime.c"|' \
|
|
< parse-datetime.tab.c > parse-datetime.c-tmp \
|
|
&& rm -f parse-datetime.tab.c \
|
|
&& mv parse-datetime.c-tmp $(srcdir)/parse-datetime.c; \
|
|
}
|
|
lib_SOURCES += parse-datetime.y
|
|
BUILT_SOURCES += parse-datetime.c
|
|
MOSTLYCLEANFILES += parse-datetime.tab.c parse-datetime.c-tmp
|
|
MAINTAINERCLEANFILES += parse-datetime.c
|
|
EXTRA_DIST += parse-datetime.c
|
|
|
|
Include:
|
|
"parse-datetime.h"
|
|
|
|
Link:
|
|
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Paul Eggert
|