On 2023-04-16 08:18, Bruno Haible wrote:
Yes. Here are adjusted patches.
Thanks, I installed those.
> 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
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
>
>
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
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
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
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