./bootstrap.sh
./configure --prefix=/usr --enable-shared --disable-static --sysconfdir=/etc \
--docdir=/usr/share/doc/libgd-gd-2.3.3 --enable-dependency-tracking
make
sudo make install
** Configuration summary for libgd 2.3.3:
Support for gd/gd2 images: no
Support for Zlib: yes
Support for PNG library: yes
Support for JPEG library: yes
Support for WebP library: no
Support for HEIF library: no
Support for AVIF library: no
Support for TIFF library: no
Support for Freetype 2.x library: yes
Support for Fontconfig library: no
Support for Xpm library: no
Support for liq library: no
Support for complex text: no
Support for pthreads: yes