Hi Andreas,

> On Apr 11 2025, Rainer Orth wrote:
>
>> This patch uses Autoconf's AC_STRUCT_TIMEZONE to determine its presence
>> and guard the use accordingly.
>
> You cannot use AC_STRUCT_TIMEZONE because it requires a link test (which
> is forbidden in a target module, see PR119550).

drats.  Must have taken this from libstdc++ shortly before it was
replaced.

I suspect a simple

AC_CHECK_MEMBER([struct tm.tm_zone],,[#include <time.h>])

does the trick.

Thanks for the hint.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to