Re: AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-19 Thread Paul Eggert
On 2023-04-16 08:18, Bruno Haible wrote: Yes. Here are adjusted patches. Thanks, I installed those.

Re: AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-16 Thread Adhemerval Zanella
> On 16 Apr 2023, at 12:28, Bruno Haible wrote: > > I presented the test results: >> - hello-3: no gnulib, just AC_SYS_LARGEFILE_REQUIRED >> - hello-4: no gnulib, just AC_SYS_YEAR2038_REQUIRED >> - testdir3: a gnulib testdir for the modules largefile-required stat >> - testdir4: a gnulib

Re: AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-16 Thread Bruno Haible
I presented the test results: > - hello-3: no gnulib, just AC_SYS_LARGEFILE_REQUIRED > - hello-4: no gnulib, just AC_SYS_YEAR2038_REQUIRED > - testdir3: a gnulib testdir for the modules largefile-required stat > - testdir4: a gnulib testdir for the modules year2038-required stat > >

Re: AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-15 Thread Paul Eggert
Thanks for looking into this. +[AC_REQUIRE([AC_CANONICAL_HOST]) Is there some way we can do this without requiring AC_CANONICAL_HOST? We're close to a release for Autoconf, and requiring this at the last minute for AC_SYS_LARGEFILE is a bit of a stretch. That is, instead of AS_CASE([$host_os

Re: AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-15 Thread Bruno Haible
I wrote: > > Also, maybe it is necessary to distinguish the use of these two Autoconf > > macros without and with Gnulib? > >- Without Gnulib, they could both fail on MSVC. > >- But with Gnulib, they should both succeed on MSVC. but I was wrong regarding the expected outcome. The correct e

Re: AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-14 Thread Paul Eggert
On 4/14/23 09:02, Bruno Haible wrote: On the other hand, when I create a gnulib testdir with an AC_SYS_YEAR2038_REQUIRED invocation: ./gnulib-tool --create-testdir --dir=... --single-configure year2038-required stat it fails during the configure stage on MSVC (both 64-bit and 32-bit): It so

AC_SYS_LARGEFILE_REQUIRED vs. AC_SYS_YEAR2038_REQUIRED on MSVC

2023-04-14 Thread Bruno Haible
When I create a gnulib testdir with the an AC_SYS_LARGEFILE_REQUIRED invocation: ./gnulib-tool --create-testdir --dir=... --single-configure largefile-required stat it configures and builds fine on MSVC (both 64-bit and 32-bit). That is OK because the AC_SYS_LARGEFILE[_REQUIRED] macro sets the