Re: [INTERNALS-WIN] ext/gd: drop XPM support on Windows

[email protected] ("Christoph M. Becker") Thu, 12 Sep 2024 11:48:11 +0200
Newsgroups php.internals,php.internals.win
Message-ID <[email protected]>
On 12.09.2024 at 00:03, Christoph M. Becker wrote:

>> The GD PHP extension defines "imagecreatefromxpm" functions. How do you
>> manage it if XPM support is disabled?
>
> Oh, wow, gd/config.w32 needs to be fixed (anyway).  As is, if libxpm is
> not available, ext/gd can't be built, what makes no sense, since the
> code which needs libxpm is already guarded by HAVE_GD_XPM.

Just for the record, that is supposed to be fixed with
<https://github.com/php/php-src/pull/15846>.

Christoph