While some of the warnings were merely annoying, some where actual bugs or unearthed bugs in related code.
s/INCLUDES/AM_CPPFLAGS/g I <3 sed :)
No guarantees it works, but it should be able to convert a bunch of pcx images into a sprite.