configure checks for versioned libpng instead of relying on plain .so versioning
@pachoramos1
Submitted by Pacho Ramos Link to original bug (#667068)
Description
This comes from: https://bugs.gentoo.org/show_bug.cgi?id=395037
As explained in https://bugs.gentoo.org/show_bug.cgi?id=395037#c1 we need to make the following hack in gentoo:
# This will avoid polluting the pkg-config file with versioned libpng,
# which is causing problems with libpng14 -> libpng15 upgrade
sed -i -e 's:libpng15:libpng libpng15:' configure.ac || die
to prevent problems when upgrading libpng like: https://bugs.gentoo.org/383655?id=383655
We could avoid that if unversioned libpng was searched by configure.ac, is there any reason for looking for versioned versions instead? If not, would be nice if you could drop that checks and simply rely on .so versioning
Thanks a lot
Version: 2.24.x