aboutsummaryrefslogtreecommitdiff
path: root/configure (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixed detection of Debian paths for Lua includes.Hisham Muhammad2013-03-061-10/+12
|
* Add extra check for Debian-based systems...Hisham Muhammad2012-09-031-3/+10
|
* fix behavior of $(LUA)v2.0.10Hisham Muhammad2012-07-171-0/+1
|
* Further steps for Lua 5.2 supportHisham Muhammad2012-03-091-36/+84
|
* Be nice to Debian/Ubuntu users and their non-standard directories...Hisham Muhammad2010-08-301-3/+10
|
* cleanup configurehisham2009-10-261-29/+2
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@113 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* allow running make install directlyhisham2009-10-131-0/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@94 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* better defaults for 2.0hisham2009-10-111-1/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@90 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* better defaults for LuaRocks 2.0hisham2009-10-111-2/+2
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@89 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* set defaults for lua_modules_dir and bin_modules_dirhisham2009-07-081-8/+26
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@39 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* Import latest revision from CVS at luaforge.nethisham2009-04-011-0/+362
git-svn-id: http://luarocks.org/svn/luarocks/trunk@1 9ca3f7c1-7366-0410-b1a3-b5c78f85698c