Fix libpng checking on OpenBSD
This fixes the libpng check on OpenBSD. Although the code was passing libm to ultimately link the library the test itself was not and thus failing. Also at Remi's request I changed the existing and newly introduced use of -lm to $LIBM. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> (cherry picked from commit 900041eb) Conflicts: configure.ac
Showing
Please register or sign in to comment