Commit graph

102 commits

Author SHA1 Message Date
Matthew Wild
23a4d716ac configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash) 2022-12-29 16:29:03 +00:00
Kim Alvefur
084b949eca configure: No longer accept Lua 5.1 2022-06-30 17:00:35 +02:00
Kim Alvefur
0edc44c2cc configure: Silence warning about echo -n [shellcheck]
Seems SC2039 has been replaced, so should be phased out.
2021-11-29 17:40:40 +01:00
Kim Alvefur
5a3d8dcb87 configure: Remove variable noop (thanks shellcheck) 2021-11-29 17:40:02 +01:00
Kim Alvefur
4979dc730a configure: Make ICU the default library for IDNA and JID normalization
See #533
2020-07-12 23:04:14 +02:00
Kim Alvefur
9eb8214030 configure: Pass compiler flag to enable ICU only when building util.encodings
Passing it in CFLAGS applied to all modules, which was not needed.
2020-07-12 23:28:04 +02:00
Kim Alvefur
61d02f3599 configure: Respect previously set paths in macosx preset 2019-05-13 12:00:28 +02:00
Kim Alvefur
371260638d configure: Remove preset settings that are autodiscovered
These are likely wrong if other flags have been given.
2019-05-13 11:59:00 +02:00
Kim Alvefur
e65093b5de configure: Handle ostype preset after argument processing 2019-05-13 11:52:16 +02:00
Kim Alvefur
944620c2b4 Merge 0.11->trunk 2019-05-05 08:55:05 +02:00
Kim Alvefur
e0000f5fa6 configure: Handle lua being found in /bin (workaround for #1353) 2019-05-04 22:48:59 +02:00
Matthew Wild
8caaa21a58 configure: Suppress warning about '~' [SC2088] 2018-10-01 16:23:57 +01:00
Matthew Wild
1fce045489 configure: Replace use of '-o' with '||' [SC2166] 2018-10-01 16:18:56 +01:00
Matthew Wild
8d68f9c4eb configure: Fix incorrect syntax of '&&' in previous commit 2018-10-01 16:13:28 +01:00
Matthew Wild
949ba9551d configure: Replace usage of '-a' with '&&' [SC2166] 2018-10-01 15:59:16 +01:00
Matthew Wild
32a0e9805a configure: Add shellcheck directives to suppress warnings on harmless lines 2018-10-01 15:33:10 +01:00
Matthew Wild
d736a358fe configure: Replace logic constructs with explicit if/else statements 2018-10-01 15:32:47 +01:00
Matthew Wild
4c51271865 configure: Remove unnecessary 'echo' 2018-10-01 15:31:14 +01:00
Matthew Wild
edba284071 configure: Rename OSTYPE variable due to conflict with magic variable with same name on some shells/platforms 2018-10-01 15:30:49 +01:00
Matthew Wild
72c9822ae0 configure: Replace backticks with $() 2018-10-01 15:29:54 +01:00
Matthew Wild
15b35ed42b configure: Remove unused function 2018-10-01 15:27:43 +01:00
Kim Alvefur
abb425e70f util.crand: Make it possible to use arc4random on Linux (needs libbsd) 2017-12-03 15:21:12 +01:00
Kim Alvefur
37d1497aed configure: Remove unused OS and architecture detection that would most likely fail on systems without gcc 2017-09-28 12:30:43 +02:00
Kim Alvefur
ae9e01acd8 configure: Remove unused "require config" option 2017-09-28 12:15:26 +02:00
Kim Alvefur
bfb1fb4d26 configure: Add new but undocumented flags to --help 2017-09-28 12:11:56 +02:00
Kim Alvefur
6dc4386c71 configure: Set runtime in debian preset to allow building without interperter installed 2017-09-28 07:25:54 +02:00
Kim Alvefur
34a3e7327e configure: --add-ldflags to amend $LDFLAGS without overriding previous value #858 2017-04-25 21:48:24 +02:00
Kim Alvefur
7dd7ec8541 configure: --add-cflags to amend $CFLAGS without replacing existing value(s) #858 2017-04-25 21:46:46 +02:00
Kim Alvefur
098b1c9663 configure: Skip some interpreter checks if --runwith is set 2017-04-15 02:10:49 +02:00
Kim Alvefur
368d066955 configure: Fix explanation of where it looked for an interpreter (luarocks 3dcfa00, thanks Izaron) 2017-04-15 02:06:42 +02:00
Kim Alvefur
1dc92981c7 configure: Move name and directory name into a variable for easier comparison with similar scripts 2017-03-18 18:50:17 +01:00
Kim Alvefur
5ca8621ef4 configure: Fix Lua suffix in FreeBSD preset 2017-03-07 21:48:05 +01:00
Kim Alvefur
140c6de026 configure: Fix setting libdir if prefix changed 2017-03-03 11:51:32 +01:00
Kim Alvefur
c0937dcdb4 configure: Set RUNWITH to lua + lua-suffix unless --runwith is given (fixes #721, #777) 2017-03-02 23:01:12 +01:00
Kim Alvefur
33a4138411 configure: Merge with configure from LuaRocks (which it was originally based on apparently) 2017-03-02 22:58:34 +01:00
Kim Alvefur
cd37249852 configure: Set C standard to C99 2017-03-02 00:27:46 +01:00
Kim Alvefur
d205c78327 util.pposix, configure: Move _GNU_SOURCE macro into source files 2017-03-01 22:27:11 +01:00
Kim Alvefur
1d21e033f3 configure: Fix quote on the correct side of the equals sign 2016-11-28 06:55:48 +01:00
Kim Alvefur
de17820626 configure: Use $() and quotes instead of `` [shellcheck] 2016-11-27 20:46:55 +01:00
Holger Weiss
6468ca11f9 configure: Add ostype preset for NetBSD 2015-04-17 12:03:15 +02:00
Kim Alvefur
75ff5d1a05 configure: Add --compiler-wrapper flag for using things like ccache or distcc 2016-08-19 16:25:15 +02:00
Kim Alvefur
9a012201cb configure: Add initial attempt at pkg-config preset 2016-08-19 16:06:07 +02:00
Kim Alvefur
391804712c configure: Do the same to CFLAGS and LDFLAGS in linux preset as for debian 2016-08-19 16:05:36 +02:00
Kim Alvefur
5cc3f59002 configure: Move -ggdb flag here from util-src/Make 2016-08-19 16:03:10 +02:00
Kim Alvefur
5e8e7dacdd configure: Add C compiler flag to indicate C89 2016-08-19 16:00:12 +02:00
Kim Alvefur
dfb9438ad7 Move C compiler flag -pedantic from Makefile to configure 2016-08-19 15:59:12 +02:00
Kim Alvefur
b5296e5046 configure: Remove unused 'find_helper' function 2016-08-19 15:55:55 +02:00
Kim Alvefur
33f7c5e60a configure: Indicate that LUA_INCDIR is set in openbsd preset 2016-08-19 15:50:57 +02:00
Kim Alvefur
b81ad10ffd configure: Quote strings 2016-08-19 15:46:38 +02:00
Kim Alvefur
2597061f23 configure: Respect Lua suffix in Debian preset if already set 2016-08-19 15:30:42 +02:00