|
From: Mudrony <mu...@in...> - 2002-08-20 05:22:27
|
As I promised I did an "autoconfiscated" makefile using all the autotools. This pack adds various files that are standard for opensource/GNU projects. The autoconf file is pretty sophisticated. It will add libtool and gettext support, wich is not required yet since the curernt code does not make use of it, but I strongly suggest that.. The autogen.sh will run the tools that produce the generated files, and will inject their stuff into top dist dir. I even wrote a small intro (README.ac) for those that aren't familiar with autotools. It also contains important details. With numerous modifications I managed to compile the sources. Some of these touches are detailed in README.ac, the others are fixes for decalartion conflicts, and such. Some files inclode io.h wich is not present on Linux. Some even include dos.h and windows.h.. I commented out their calls (mostly _setmode() with O_TEXT), to let the compile proceed, but of course it will break the result. I even moved some source files. I will try to make a patch or to commit to CVS if Chris lets me to.. I already put a LOT work into this (12.39 hours!), and while automake/autoconf makes life a bit complex the resulting flexibility well worth the price. It's much sophisticated than Karl's Makefile (Karl's modifications helped a lot) This is a "beta version" of this automake pack, meaning that only one person (Meep-Eep on #sc2) tested it (and found numerous small typos). A few things certainly need tweaking, so take care when using it. However it's already quite mature.. (it works fine for me :) The tarball will unpack into its own dir to avoid trashing your distdir, but all of its contents meant to reside in the top distdir (the one that has src/, util/ and content/). |