diff options
| author | Paul Eggert | 2012-06-22 14:17:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-22 14:17:42 -0700 |
| commit | d35af63cd671563fd188c3b0a1ef30067027c7aa (patch) | |
| tree | c9e01847ccf788e23794684da9331c3e0defd0d3 /lib | |
| parent | f143bfe38b43ad0a9d817f05c25e418982dca06f (diff) | |
| download | emacs-d35af63cd671563fd188c3b0a1ef30067027c7aa.tar.gz emacs-d35af63cd671563fd188c3b0a1ef30067027c7aa.zip | |
Support higher-resolution time stamps.
Fixes: debbugs:9000
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gnulib.mk | 140 |
1 files changed, 118 insertions, 22 deletions
diff --git a/lib/gnulib.mk b/lib/gnulib.mk index 3572e5bc170..20aa19d93a5 100644 --- a/lib/gnulib.mk +++ b/lib/gnulib.mk | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | # the same distribution terms as the rest of that program. | 21 | # the same distribution terms as the rest of that program. |
| 22 | # | 22 | # |
| 23 | # Generated by gnulib-tool. | 23 | # Generated by gnulib-tool. |
| 24 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops largefile lstat manywarnings mktime pthread_sigmask readlink socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat warnings | 24 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=errno --avoid=fcntl --avoid=fcntl-h --avoid=fstat --avoid=msvc-inval --avoid=msvc-nothrow --avoid=raise --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 filemode getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings mktime pselect pthread_sigmask readlink socklen stat-time stdarg stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timespec-add timespec-sub utimens warnings |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | MOSTLYCLEANFILES += core *.stackdump | 27 | MOSTLYCLEANFILES += core *.stackdump |
| @@ -123,6 +123,12 @@ EXTRA_libgnu_a_SOURCES += ftoastr.c | |||
| 123 | 123 | ||
| 124 | ## end gnulib module dtoastr | 124 | ## end gnulib module dtoastr |
| 125 | 125 | ||
| 126 | ## begin gnulib module dtotimespec | ||
| 127 | |||
| 128 | libgnu_a_SOURCES += dtotimespec.c | ||
| 129 | |||
| 130 | ## end gnulib module dtotimespec | ||
| 131 | |||
| 126 | ## begin gnulib module dup2 | 132 | ## begin gnulib module dup2 |
| 127 | 133 | ||
| 128 | 134 | ||
| @@ -184,6 +190,21 @@ libgnu_a_SOURCES += gettext.h | |||
| 184 | endif | 190 | endif |
| 185 | ## end gnulib module gettext-h | 191 | ## end gnulib module gettext-h |
| 186 | 192 | ||
| 193 | ## begin gnulib module gettime | ||
| 194 | |||
| 195 | libgnu_a_SOURCES += gettime.c | ||
| 196 | |||
| 197 | ## end gnulib module gettime | ||
| 198 | |||
| 199 | ## begin gnulib module gettimeofday | ||
| 200 | |||
| 201 | |||
| 202 | EXTRA_DIST += gettimeofday.c | ||
| 203 | |||
| 204 | EXTRA_libgnu_a_SOURCES += gettimeofday.c | ||
| 205 | |||
| 206 | ## end gnulib module gettimeofday | ||
| 207 | |||
| 187 | ## begin gnulib module ignore-value | 208 | ## begin gnulib module ignore-value |
| 188 | 209 | ||
| 189 | 210 | ||
| @@ -269,6 +290,15 @@ EXTRA_DIST += pathmax.h | |||
| 269 | 290 | ||
| 270 | ## end gnulib module pathmax | 291 | ## end gnulib module pathmax |
| 271 | 292 | ||
| 293 | ## begin gnulib module pselect | ||
| 294 | |||
| 295 | |||
| 296 | EXTRA_DIST += pselect.c | ||
| 297 | |||
| 298 | EXTRA_libgnu_a_SOURCES += pselect.c | ||
| 299 | |||
| 300 | ## end gnulib module pselect | ||
| 301 | |||
| 272 | ## begin gnulib module pthread_sigmask | 302 | ## begin gnulib module pthread_sigmask |
| 273 | 303 | ||
| 274 | 304 | ||
| @@ -329,17 +359,6 @@ EXTRA_DIST += signal.in.h | |||
| 329 | 359 | ||
| 330 | ## end gnulib module signal-h | 360 | ## end gnulib module signal-h |
| 331 | 361 | ||
| 332 | ## begin gnulib module sigprocmask | ||
| 333 | |||
| 334 | if gl_GNULIB_ENABLED_sigprocmask | ||
| 335 | |||
| 336 | endif | ||
| 337 | EXTRA_DIST += sigprocmask.c | ||
| 338 | |||
| 339 | EXTRA_libgnu_a_SOURCES += sigprocmask.c | ||
| 340 | |||
| 341 | ## end gnulib module sigprocmask | ||
| 342 | |||
| 343 | ## begin gnulib module snippet/_Noreturn | 362 | ## begin gnulib module snippet/_Noreturn |
| 344 | 363 | ||
| 345 | # Because this Makefile snippet defines a variable used by other | 364 | # Because this Makefile snippet defines a variable used by other |
| @@ -432,6 +451,13 @@ EXTRA_libgnu_a_SOURCES += stat.c | |||
| 432 | 451 | ||
| 433 | ## end gnulib module stat | 452 | ## end gnulib module stat |
| 434 | 453 | ||
| 454 | ## begin gnulib module stat-time | ||
| 455 | |||
| 456 | |||
| 457 | EXTRA_DIST += stat-time.h | ||
| 458 | |||
| 459 | ## end gnulib module stat-time | ||
| 460 | |||
| 435 | ## begin gnulib module stdalign | 461 | ## begin gnulib module stdalign |
| 436 | 462 | ||
| 437 | BUILT_SOURCES += $(STDALIGN_H) | 463 | BUILT_SOURCES += $(STDALIGN_H) |
| @@ -871,6 +897,40 @@ EXTRA_libgnu_a_SOURCES += symlink.c | |||
| 871 | 897 | ||
| 872 | ## end gnulib module symlink | 898 | ## end gnulib module symlink |
| 873 | 899 | ||
| 900 | ## begin gnulib module sys_select | ||
| 901 | |||
| 902 | BUILT_SOURCES += sys/select.h | ||
| 903 | |||
| 904 | # We need the following in order to create <sys/select.h> when the system | ||
| 905 | # doesn't have one that works with the given compiler. | ||
| 906 | sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) | ||
| 907 | $(AM_V_at)$(MKDIR_P) sys | ||
| 908 | $(AM_V_GEN)rm -f $@-t $@ && \ | ||
| 909 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | ||
| 910 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | ||
| 911 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | ||
| 912 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | ||
| 913 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | ||
| 914 | -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ | ||
| 915 | -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ | ||
| 916 | -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ | ||
| 917 | -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ | ||
| 918 | -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ | ||
| 919 | -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ | ||
| 920 | -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ | ||
| 921 | -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ | ||
| 922 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | ||
| 923 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | ||
| 924 | < $(srcdir)/sys_select.in.h; \ | ||
| 925 | } > $@-t && \ | ||
| 926 | mv $@-t $@ | ||
| 927 | MOSTLYCLEANFILES += sys/select.h sys/select.h-t | ||
| 928 | MOSTLYCLEANDIRS += sys | ||
| 929 | |||
| 930 | EXTRA_DIST += sys_select.in.h | ||
| 931 | |||
| 932 | ## end gnulib module sys_select | ||
| 933 | |||
| 874 | ## begin gnulib module sys_stat | 934 | ## begin gnulib module sys_stat |
| 875 | 935 | ||
| 876 | BUILT_SOURCES += sys/stat.h | 936 | BUILT_SOURCES += sys/stat.h |
| @@ -933,30 +993,39 @@ EXTRA_DIST += sys_stat.in.h | |||
| 933 | 993 | ||
| 934 | ## end gnulib module sys_stat | 994 | ## end gnulib module sys_stat |
| 935 | 995 | ||
| 936 | ## begin gnulib module sys_types | 996 | ## begin gnulib module sys_time |
| 937 | 997 | ||
| 938 | BUILT_SOURCES += sys/types.h | 998 | BUILT_SOURCES += sys/time.h |
| 939 | 999 | ||
| 940 | # We need the following in order to create <sys/types.h> when the system | 1000 | # We need the following in order to create <sys/time.h> when the system |
| 941 | # doesn't have one that works with the given compiler. | 1001 | # doesn't have one that works with the given compiler. |
| 942 | sys/types.h: sys_types.in.h $(top_builddir)/config.status | 1002 | sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
| 943 | $(AM_V_at)$(MKDIR_P) sys | 1003 | $(AM_V_at)$(MKDIR_P) sys |
| 944 | $(AM_V_GEN)rm -f $@-t $@ && \ | 1004 | $(AM_V_GEN)rm -f $@-t $@ && \ |
| 945 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | 1005 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
| 946 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | 1006 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
| 1007 | -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ | ||
| 947 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | 1008 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
| 948 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | 1009 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
| 949 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | 1010 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
| 950 | -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ | 1011 | -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ |
| 951 | -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ | 1012 | -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ |
| 952 | < $(srcdir)/sys_types.in.h; \ | 1013 | -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ |
| 1014 | -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ | ||
| 1015 | -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ | ||
| 1016 | -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ | ||
| 1017 | -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \ | ||
| 1018 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | ||
| 1019 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | ||
| 1020 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | ||
| 1021 | < $(srcdir)/sys_time.in.h; \ | ||
| 953 | } > $@-t && \ | 1022 | } > $@-t && \ |
| 954 | mv $@-t $@ | 1023 | mv $@-t $@ |
| 955 | MOSTLYCLEANFILES += sys/types.h sys/types.h-t | 1024 | MOSTLYCLEANFILES += sys/time.h sys/time.h-t |
| 956 | 1025 | ||
| 957 | EXTRA_DIST += sys_types.in.h | 1026 | EXTRA_DIST += sys_time.in.h |
| 958 | 1027 | ||
| 959 | ## end gnulib module sys_types | 1028 | ## end gnulib module sys_time |
| 960 | 1029 | ||
| 961 | ## begin gnulib module time | 1030 | ## begin gnulib module time |
| 962 | 1031 | ||
| @@ -1009,6 +1078,25 @@ EXTRA_libgnu_a_SOURCES += time_r.c | |||
| 1009 | 1078 | ||
| 1010 | ## end gnulib module time_r | 1079 | ## end gnulib module time_r |
| 1011 | 1080 | ||
| 1081 | ## begin gnulib module timespec | ||
| 1082 | |||
| 1083 | |||
| 1084 | EXTRA_DIST += timespec.h | ||
| 1085 | |||
| 1086 | ## end gnulib module timespec | ||
| 1087 | |||
| 1088 | ## begin gnulib module timespec-add | ||
| 1089 | |||
| 1090 | libgnu_a_SOURCES += timespec-add.c | ||
| 1091 | |||
| 1092 | ## end gnulib module timespec-add | ||
| 1093 | |||
| 1094 | ## begin gnulib module timespec-sub | ||
| 1095 | |||
| 1096 | libgnu_a_SOURCES += timespec-sub.c | ||
| 1097 | |||
| 1098 | ## end gnulib module timespec-sub | ||
| 1099 | |||
| 1012 | ## begin gnulib module u64 | 1100 | ## begin gnulib module u64 |
| 1013 | 1101 | ||
| 1014 | 1102 | ||
| @@ -1166,6 +1254,14 @@ EXTRA_DIST += unistd.in.h | |||
| 1166 | 1254 | ||
| 1167 | ## end gnulib module unistd | 1255 | ## end gnulib module unistd |
| 1168 | 1256 | ||
| 1257 | ## begin gnulib module utimens | ||
| 1258 | |||
| 1259 | libgnu_a_SOURCES += utimens.c | ||
| 1260 | |||
| 1261 | EXTRA_DIST += utimens.h | ||
| 1262 | |||
| 1263 | ## end gnulib module utimens | ||
| 1264 | |||
| 1169 | ## begin gnulib module verify | 1265 | ## begin gnulib module verify |
| 1170 | 1266 | ||
| 1171 | if gl_GNULIB_ENABLED_verify | 1267 | if gl_GNULIB_ENABLED_verify |