Copy in Haiku config.guess/.sub files, [http://tools.assembla.com/BePorts/browser/BePorts/trunk/media-libs/sdl-image/SDL_image-1.2.6-haiku.diff Patch], then run: * cat acinclude/libtool.m4 >> aclocal.m4 * cat acinclude/sdl.m4 >> aclocal.m4 * aclocal * libtoolize --copy --force * aclocal * autoconf * ./autogen.sh * ./configure --prefix=/boot/common LDFLAGS=-L/boot/common/lib CPPFLAGS=-I/boot/common/include This will build both the shared and static libraries, and include jpg, tiff and png support.