Patches for autotoolizing the Lua programming language interpreter source, i.e. making it GNU use Autoconf, Automake and Libtool.
Some of the newer patches were developed by Hans de Goede and Tim Niemueller for the Fedora project.
Note: I haven't had the time and energy to maintain these patches anymore, so don't expect any new releases.
Download and unpack a Lua source tarball and download a patch for your Lua version (see below). Apply the patch:
cd lua-X.Y.Z bunzip2 -c ../lua-X.Y.Z-autotoolize-rR.patch.bz2 | patch -p1
Change file permissions:
chmod +x autogen.sh config.guess config.sub configure \ depcomp install-sh missing
Now you're ready to run ./configure
.
These patches are released to public domain. Do whatever you want with them. No warranty. The Lua license applies to patched sources.
The patches are bzip2
compressed. The file names are of
form lua-X.Y.Z-autotoolize-rR.patch.bz2
, where X,Y,
and Z are the Lua major, minor and patch versions, respectively. R
is the revision of the autotoolize patch, with the highest number
being the newest. The old revisions are listed, but you should not
use them, because they are most certainly buggy (otherwise there
wouldn't be newer versions).
The autotoolified source tree is available on GitHub.
There's a branch for each Lua version. Unlike the downloadable
patches above, the git tree doesn't contain the files that are
generated when bootstrapping autotools.
Use ./autogen.sh
to do the bootstrapping. This
creates the configure script and other files needed during the
build.