Autotoolized Lua

Overview

Patches for autotoolizing the Lua programming language interpreter source, i.e. making it 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|petri.

Usage

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.

Download

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).

Lua version Patch
Lua 5.1.4 lua-5.1.4-autotoolize-r1.patch.bz2
Lua 5.1.3 lua-5.1.3-autotoolize-r1.patch.bz2
Lua 5.1.2 lua-5.1.2-autotoolize-r1.patch.bz2
Lua 5.1.1 lua-5.1.1-autotoolize-r1.patch.bz2
Lua 5.1 lua-5.1-autotoolize-r2.patch.bz2
lua-5.1-autotoolize-r1.patch.bz2

Acknowledgments

Thanks to Reuben Thomas for bug reports, and Hans de Goede and Tim Niemueller for developing new patches.