hybrid wrote:Could you provide just the files neeed for autoconf usage? It's pretty much work for nothing to extract them from the tarball.
Those files also look quite weird and hardly maintainable. What's required to update manually when, e.g., changing this stuff from 1.3.1 to latest SVN version of Irrlicht?
RTFM!
Ok, it's much easier than you expect. Core of everything is configure.ac (previously it was called configure.in). Version numbers, library depencies, flags etc. are in there. Then there's these Makefile.am files in each directory. Those are used to generate Makefile.in files, which are used to generate Makefiles. Sounds more complicated that it really is. Here's "skeleton" of the previous example:
http://www.kolumbus.fi/anssi.ylonen/irr ... ton.tar.gz
Code: Select all
tar xzvf irrexample-1.0.0-skeleton.tar.gz
cd irrexample-1.0.0-skeleton
autoreconf --verbose --force --install
./configure --with-Irrlicht=/usr/local
make
Autoreconf does the real magic (it's basically autoconf, aclocal and automake put in together, so there's no need to use those).
Adding those into HEAD svn is just copying those previously mentioned files into their correct locations and checking if there's any (there is) changes in the file lists (take a look into that Irrlicht 1.3.1 package and check /include/Makefile.am and /source/Irrlicht/Makefile.am).