Fix instructions on disabling librosprite. Move #include for when

librosprite isn't installed

svn path=/trunk/netsurf/; revision=4054
This commit is contained in:
James Shaw 2008-03-29 14:34:21 +00:00
parent 99dea0939b
commit 0ab7a1bd37
2 changed files with 8 additions and 4 deletions

View File

@ -59,13 +59,15 @@
and JPEG libraries, colour management libraries, zlib, OpenSSL etc that
NetSurf also depends on.
Compiling Sprite file support for GTK
Compiling Sprite file support for GTK
=======================================
By default, sprite rendering is enabled. This requires librosprite to be
built and installed. If you don't want to do this, sprite rendering can be
disabled by deleting the following line in utils/config.h:
built and installed. If you don't want to do this, remove the following line
from util/config.h:
#define WITH_NSSPRITE
#define WITH_NSSPRITE
Remove all references to librosprite in the Makefile.
To build librosprite, check out from svn://svn.rjek.com/jshaw/libsprite/trunk
Build and install it:

View File

@ -34,6 +34,8 @@
#ifdef WITH_NSSPRITE
#include <librosprite.h>
#define ERRCHK(x) do { \
rosprite_error err = x; \
if (err == ROSPRITE_EOF) { \