bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_FUNC_MMAP lacks <unistd.h> include?


From: Paul Eggert
Subject: Re: AC_FUNC_MMAP lacks <unistd.h> include?
Date: Wed, 17 May 2023 13:16:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 2023-05-17 12:25, Florian Weimer wrote:

But then HAVE_GETPAGESIZE probably should not succeed spuriously because
of an implicit function declaration.

I hope that the only platforms that should use that old getpagesize code, are platforms so old that implicit function declarations work, which means we are OK there. If I'm wrong I'd like to know what platform is a counterexample before further fiddling with this ancient cruft.


I still suspect there is something peculiar to libgtop that triggers
this, such as some late -D_XOPEN_SOURCE somewhere, or conditional
execution of the HAVE_UNISTD_H check.

Matt reported in <https://bugs.gentoo.org/show_bug.cgi?id=898816#c7> that the Autoconf patches fix the issue in libgtop, whatever it is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]