summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL16
-rwxr-xr-xconfigure.ac6
2 files changed, 14 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
index 474bae3a..1fc74fbf 100644
--- a/INSTALL
+++ b/INSTALL
@@ -16,17 +16,17 @@ You are expected to have either checked out TMW from CVS or you have downloaded
a source release. To get The Mana World to compile, you need a compiler (GCC)
and some libraries. The required libraries are:
-1) SDL http://www.libsdl.org/
-2) SDL_mixer http://www.libsdl.org/projects/SDL_mixer/
-3) SDL_image http://www.libsdl.org/projects/SDL_image/
-4) Guichan 0.2.0 http://guichan.darkbits.org/
-5) libxml2 http://www.xmlsoft.org/
-6) physfs 1.0.0 http://icculus.org/physfs/
+1) SDL http://www.libsdl.org/
+2) SDL_mixer http://www.libsdl.org/projects/SDL_mixer/
+3) SDL_image http://www.libsdl.org/projects/SDL_image/
+4) Guichan 0.2.0 http://guichan.darkbits.org/
+5) libxml2 http://www.xmlsoft.org/
+6) physfs 1.0.0 http://icculus.org/physfs/
If you checked TMW out from CVS you will also need these tools to compile:
-6) GNU automake http://www.gnu.org/software/automake/
-7) GNU autoconf http://www.gnu.org/software/autoconf/
+6) GNU automake 1.9 http://www.gnu.org/software/automake/
+7) GNU autoconf http://www.gnu.org/software/autoconf/
Installing these dependencies is distributions-specific, and we'll leave it to
you to figure this out.
diff --git a/configure.ac b/configure.ac
index a8accc8b..54d4ab61 100755
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,12 @@ AC_MSG_ERROR([ *** Unable to find Guichan library (guichan.darkbits.org)]))
AC_CHECK_LIB([guichan_sdl], [_init], ,
AC_MSG_ERROR([ *** Unable to find Guichan SDL library (guichan.darkbits.org)]))
+AC_CHECK_LIB([physfs], [PHYSFS_init], ,
+AC_MSG_ERROR([ *** Unable to find PhysFS library (icculus.org/physfs/)]))
+
+AC_CHECK_LIB([xml2], [xmlInitParser], ,
+AC_MSG_ERROR([ *** Unable to find libxml2 library (xmlsoft.org)]))
+
AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW, ,
AC_MSG_ERROR([ *** Unable to find SDL_image library with PNG support
(http://www.libsdl.org/projects/SDL_image/)]))