Patches for autotoolizing the Lua programming language interpreter source, i.e. making it GNU use Autoconf, Automake and Libtool.
Recently, I have not had the time and energy to maintain these patches anymore. However, the Fedora packagers, first Hans de Goede and then Tim Niemueller, have developed new patches. Many thanks to them! So, since version 5.1.3, I'm serving the Fedora patches on this page.
If you find these patches useful or have any questions or suggestions, please contact me.
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.