the configure script can't find libpng. The problem seems to be a autoconf
macro that try to find the function png_jmpbuf in the png library.
Workaround: edit Makefile after configure, adding -DHAVE_LIBPNG in CCFLAGS,
adding -lpng -lm -lz in LDLIBS.
If you want, you can also edit OPTIMISE for your system... the configure set it
for gcc 2 flags...
I use: -O3 -mmmx -msse -fomit-frame-pointer -ftracer -march=pentium3
Avoid -ffast-math because the compilation fails.
The problem is also verified under slackware current. It must be a configure
error.
Reproducible: Always
Steps to Reproduce:
1. emerge snes9x
2. see what config print out
3. try to use PrtScr when running snes9x
Actual Results:
snes9x is built without screenshot support
Expected Results:
snes9x is built with screenshot support
running latest gentoo ~x86 with linux-2.6.5, linux-header 2.6.5, udev, glibc
with nptl enabled, xorg-x11.