summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-12-25 11:41:57 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-12-25 11:43:52 -0800
commit7c7c8a519f3892f6f5b30a1c6b22796ab314a45c (patch)
tree7bfba85db3394deb442e5718bdd22f54eacdea85 /modules
parent758fab78eaa325ee0f84a277892d3da55e2370c3 (diff)
downloadgnulib-7c7c8a519f3892f6f5b30a1c6b22796ab314a45c.tar.gz
largefile: sync from Autoconf master
* m4/largefile.m4 (gl_SET_LARGEFILE_SOURCE): Test whether AC_SYS_YEAR2038 is defined when this macro is defined, not when it is used, as we now define AC_SYS_YEAR2038 later. (_AC_SYS_LARGEFILE_MACRO_VALUE): Remove. (_AC_SYS_YEAR2038_TEST_CODE, _AC_SYS_YEAR2038_OPTIONS) (_AC_SYS_YEAR2038_PROBE, _AC_SYS_YEAR2038_ENABLE) (_AC_SYS_YEAR2038_OPT_IN, AC_SYS_YEAR2038) (_AC_SYS_LARGEFILE_TEST_CODE, _AC_SYS_LARGEFILE_OPTIONS) (_AC_SYS_LARGEFILE_PROBE, _AC_SYS_LARGEFILE_ENABLE): New macros. (AC_SYS_LARGEFILE): Use them. * m4/year2038.m4: Remove. All mentions removed. * modules/largefile, modules/year2038 (configure.ac-early): Do not require gl_YEAR2038_EARLY. * modules/year2038 (Depends-on): Depend on largefile. (configure.ac): Require AC_SYS_YEAR2038, not gl_YEAR2038.
Diffstat (limited to 'modules')
-rw-r--r--modules/largefile4
-rw-r--r--modules/year20389
2 files changed, 4 insertions, 9 deletions
diff --git a/modules/largefile b/modules/largefile
index 9e1d9f052a..fb4f6c4cbb 100644
--- a/modules/largefile
+++ b/modules/largefile
@@ -1,5 +1,5 @@
Description:
-Support for files larger than 2 GB.
+Support for files 2 GiB and larger.
Comment:
This module should not be used as a dependency from a test module,
@@ -8,12 +8,10 @@ have side effects on the compilation of the main modules in lib/.
Files:
m4/largefile.m4
-m4/year2038.m4
Depends-on:
configure.ac-early:
-AC_REQUIRE([gl_YEAR2038_EARLY])
AC_REQUIRE([AC_SYS_LARGEFILE])
configure.ac:
diff --git a/modules/year2038 b/modules/year2038
index af145b8a02..40028e43e6 100644
--- a/modules/year2038
+++ b/modules/year2038
@@ -1,5 +1,5 @@
Description:
-Attempt to ensure that 'time_t' is a 64-bit type.
+Attempt to ensure that 'time_t' can go past the year 2038.
Comment:
This module should not be used as a dependency from a test module,
@@ -7,15 +7,12 @@ otherwise when this module occurs as a tests-related module, it will
have side effects on the compilation of the main modules in lib/.
Files:
-m4/year2038.m4
Depends-on:
-
-configure.ac-early:
-AC_REQUIRE([gl_YEAR2038_EARLY])
+largefile
configure.ac:
-AC_REQUIRE([gl_YEAR2038])
+AC_REQUIRE([AC_SYS_YEAR2038])
Makefile.am: