lua-config50(1)

lua-config501

Lua configuration information

Usage

Basic usage

gcc ` lua-config --include ` my_prog.c -o my_prog ` lua-config --libs `

Overview

The lua-config script allows you to determine useful information about the chosen version of lua running on the Debian GNU/Linux system in use. More information can be found by running lua-config without any arguments.

Caveats

This script is unique to Debian and as such you shouldn't rely on its presence on every system. Lua is an embedded language by default and different Linux distributions each take a different approach to making it possible to compile with Lua. The pkg-config system also provides a way to look for libraries and is more likely to be supported across different Linux distributions. Debian's pkg-config name for Lua 5.0 is lua50 and the libraries are in lualib50. These pkg-config files can be found in the liblua50-dev and liblualib50-dev packages.

Releases

9 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–6.0
  2. 7–11

Author

lua-config was written by Daniel Silverstone <[email protected]>.

This manual page was written by Daniel Silverstone <[email protected]>. For the Debian project. It may be used without restriction in any other system.

From liblua50-dev 5.0.3-8.1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.