aboutsummaryrefslogtreecommitdiff
path: root/configure (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix shellcheck warningHisham Muhammad2025-01-031-1/+1
|
* drop cfg.lua_interpreter, use cfg.variables.LUAHisham Muhammad2024-02-181-10/+11
|
* configure: make shellcheck happyHisham Muhammad2021-03-161-1/+1
|
* configure: check that version of lua.h matchesHisham Muhammad2021-03-161-2/+5
| | | | This is to match the behavior of luarocks.deps
* configure: remove incorrect documentation in help screenHisham Muhammad2020-04-021-4/+1
|
* Add OpenBSD specific dependency paths.Jan S2020-02-021-0/+1
| | | | This commit enables luarocks to be configured and build on OpenBSD.
* configure: fix flag in error messageHisham Muhammad2019-07-261-1/+1
|
* fix(configure): remove extra leading '/'Simone Livieri2019-06-061-1/+6
|
* configure: add a version identifierHisham Muhammad2018-08-131-1/+1
|
* configure: Add include path template for FreeBSD styledaurnimator2018-08-131-0/+1
|
* configure: Remove duplicate from list of include path templatesdaurnimator2018-08-131-1/+0
|
* configure, make: reduce moving partsHisham Muhammad2018-08-111-14/+2
| | | | | | * Do not set again variables that were set in config.unix * Do not re-detect the Lua version after configure already did it * Remove --luarocksconfdir, use --sysconfdir only
* Move config-.lua.in generation to Makefiledaurnimator2018-08-101-16/+0
|
* rocks_tree lowercase to follow conventiondaurnimator2018-08-101-8/+8
|
* configure: improve help outputdaurnimator2018-08-101-37/+32
|
* prefix and sysconfdir are traditionally lowercase, add luarocksconfdirdaurnimator2018-08-101-23/+38
|
* configure: recommend `make` instead of `make build`Hisham Muhammad2018-07-181-1/+1
|
* configure: add --with-lua-interpreter optionHisham Muhammad2018-07-101-14/+26
| | | | | Support using any interpreter name, even if it doesn't start with 'lua'.
* config file: do not assume 'variable' table exists (for compat with LR2)Hisham Muhammad2018-07-041-4/+6
| | | | | | This change results in a default config that works in both LuaRocks 2 and 3. We do not promise a compatible configuration format, but it's nice to avoid unnecessary breakage if we can.
* configure: check presence of lua.hHisham Muhammad2018-07-041-6/+67
| | | | | | | | | | | | Verification of the Lua include path happens at LuaRocks runtime, but we also perform it here just so that the user gets an early failure if they try to install LuaRocks with the Lua interpreter package but not the "development files" that many Linux distros ship separately. We also include a --disable-incdir-check flag for specialized scenarios: if you do not wish to use "luarocks build", (e.g. when only deploying binary packages) you do not need lua.h installed. This flag skips the check for lua.h in "configure".
* Unix: new build systemHisham Muhammad2018-07-011-330/+303
| | | | | | | | | | * Reworked configure script * Now passes shellcheck * New Makefile for Unix * Simplified `make` and `make install` targets * Simplified `make bootstrap` target * New targets `make binary` and `make install-binary` build and install an all-in-one binary of LuaRocks
* configure: Learn about Lua 5.4Kim Alvefur2018-05-251-5/+8
|
* Use versioned files only. (#734)Hisham Muhammad2017-10-041-24/+5
| | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x
* Fixed wrong "interp" in the configure fileEvgeny Shulgin2017-04-141-1/+1
| | | Fixed wrong "interp" instead of "where" in the configure file
* Prefer versioned Lua interpreter if it exists.Hisham2016-10-281-1/+1
| | | | | | | | | | This avoids in practice a problem that occurs in this scenario: 1. user installs Lua 5.1, gets lua and lua5.1 binaries 2. user installs LuaRocks, it detects and uses lua 3. user installs Lua 5.2, gets lua and lua5.2 binaries (lua is replaced) 4. user installs LuaRocks with --lua-version=5.2, it detects and uses lua 5. luarocks-5.1 now uses lua, which is Lua 5.2, rockspecs get passed the wrong value of $(LUA)
* Check if header matches interpreter.Hisham2016-10-261-0/+12
|
* Improve check of Lua interpreterHisham2016-10-261-38/+39
| | | | | (e.g. allow it to find `lua5.1` when lua is 5.3 and only `--lua-version=5.1` is given).
* Relax Lua version detection to support RaviPeter Melnichenko2016-10-141-2/+2
| | | | | Ravi has "Ravi 5.3" as _VERSION. Don't use _VERSION:sub(5) to get Lua version, match " (5%.[123])$" instead.
* Test that 'unzip' is present in the $PATH.Hisham2016-02-291-3/+5
|
* Fix find_program() in configurempeterv2015-12-061-1/+5
| | | | | | which returns path to the program, not to the directory containing it. That causes errors when configuring without --with-lua. The fix is to apply 'dirname' if 'command -v' was a success.
* Use `command -v` for obtaining executable path.Ruslan Kiianchuk2015-11-071-1/+1
| | | Seems like `command -v` is defined by POSIX and therefore should be compatible with all POSIX OSes.
* Fix `find_program` function to be less fragileRuslan Kiianchuk2015-11-071-20/+1
| | | Look for executable path using system utility `which` instead of fragile regular expressions. See $447 for details. Also see discussion in [neovim](https://github.com/neovim/neovim/issues/3620#issuecomment-154757577) issues.
* Fix documentation of --lua-versionHisham Muhammad2015-09-171-1/+1
|
* Add extra smartness to configure to check that the user-given flag seems ↵Hisham Muhammad2015-03-181-7/+24
| | | | | | correct. Closes #293.
* Try the one we have as `lua` first!Hisham Muhammad2015-03-171-1/+1
|
* Support both --lua-version and --with-lua-version.Hisham Muhammad2015-02-191-2/+2
| | | | Error messages were even already using it by accident!
* Fix search of lua interpreter. Closes #301.Hisham Muhammad2015-01-121-5/+5
|
* Add check for Fedora systems. Closes #289.Hisham Muhammad2014-11-101-0/+4
|
* Add --with-lua-bin and improve documentation of --with-luaReuben Thomas2014-08-051-4/+15
|
* HTTPS support for downloading and uploading rocks.Hisham Muhammad2014-06-261-2/+2
| | | | | | | HTTPS is set as default for uploading. HTTP is still default for downloading to keep dependencies low and because the HTTPS code is new; might be changed in the future. See #273 and #240.
* prepare luarocks for lua 5.3Philipp Janda2014-03-261-11/+16
|
* Fix help, as pointed out by @ignacioHisham Muhammad2014-03-191-1/+1
|
* fixed test for empty variable in configure scriptPhilipp Janda2014-01-081-1/+1
|
* Try versioned "lua" names before the unversioned one.Hisham Muhammad2013-12-231-6/+6
| | | | | Should improve on behavior mentioned at http://stackoverflow.com/questions/20321560/how-do-install-libraries-for-both-lua5-2-and-5-1-using-luarocks/20359102?noredirect=1#comment30696438_20359102
* changed multiarch detection and site_config variablesPhilipp Janda2013-09-271-1/+1
|
* support for tables in (runtime_)external_deps_subdirs.*Philipp Janda2013-09-261-5/+5
|
* detect native multiarch directory on linuxPhilipp Janda2013-09-251-0/+11
|
* Preparing for LuaRocks 2.1.0... let's try to install as a rock this time!v2.1.0rc1Hisham Muhammad2013-07-021-1/+5
|
* Fix detection of existing configuration.Hisham Muhammad2013-04-141-2/+2
|
* General improvements for Lua 5.1 and 5.2 coexistance:Hisham Muhammad2013-04-121-13/+34
| | | | | | | * Add --versioned-rocks-dir option to Unix installer, which makes it use paths such as /lib/luarocks/rocks-5.X, and /etc/luarocks/config-5.X.lua (where X is 1 or 2). * Make configure script on Unix autodetect the presence of previous LuaRocks installations and adapt accordingly to avoid conflicts. * Support luarocks.site_config_5_X for users who wish to run two versions from the same source tree (may be useful for LR development). * Try to load config-5.X.lua from home directory before trying config.lua.