Improve year2038, largefile option processing
commita1e82aff0fd842b0f09e2cd166560dfda725ba13
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 9 Apr 2023 18:41:57 +0000 (9 11:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 9 Apr 2023 18:44:45 +0000 (9 11:44 -0700)
treea2250d023c572347f0f727c30d17d579e2eb77ce
parent1982523c6f052a2b361035a9d5d9737510ed0738
Improve year2038, largefile option processing

* lib/autoconf/specific.m4 (_AC_SYS_YEAR2038_PROBE)
(_AC_SYS_YEAR2038_ENABLE, _AC_SYS_YEAR2038_OPT_IN)
(AC_SYS_YEAR2038, _AC_SYS_LARGEFILE_PROBE)
(_AC_SYS_LARGEFILE_ENABLE): Do not use enable_largefile to record
whether largefile is required, as ‘./configure
--disable-largefile’ sets enable_largefile=no even if largefile is
required and this disables largefile.  Instead, use a separate
shell variable ac_largefile_required and test it as well.
Similarly for enable_year2038.
(_AC_SYS_LARGEFILE_ENABLE): Omit --disable-largefile help string
if year2038 is required, since largefile is a prereq for year2038.
lib/autoconf/specific.m4