Prerequisites:
==============

To compile MOAGG, you will need:
  - g++ >= 3.0
  - libSDL >= 1.2.6
  - libSDL_mixer >= 1.2.4
  - libSDL_gfx1.2 >= 2.0.8
  - libfreetype2 >= 6.3.0
  - libexpat1 >= 1.95.6
  - libparagui >= 1.0.4 (versions >= 1.1.0 won't work!)
  - cppunit >= 1.10.0 (optionally, to build the testsuite)


Compilation:
============

Just type `./configure' and `make'.

See `./configure --help' for a list of optional arguments.
But normally, you shouldn't need any of these...

If the testsuite was built, you may change into the directory `testsuite'
and start the self-test with `./testsuite'.
If any errors are reported, please contact me or the mailing list.


Installation:
=============

After the compilation is finished, the moagg binary will be located
in the subdirectory `moagg', which can be started directly.
You can also install moagg with a `make install'.


Advanced Installation:
======================

The installation will use `/usr/local' as default prefix path.
If you want a different prefix, you must run ./configure with the option
`--prefix=/another/prefix'. Further, a different path for the data files
and the binary can be given with the options --datadir and --bindir.

You can also pass a `prefix=/yet/another/prefix' option to `make install',
which is useful, if you e.g. want to use GNU stow to manage the installation.
Further you can pass a `DESTDIR=/foo' option, which will be handled as prefix
to the path given in the `prefix' variable.

-- 
Bernhard Trummer <bernhard.trummer@gmx.at>
