Commit graph

86 commits

Author SHA1 Message Date
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
Kim Alvefur
b5955ba7af configure: Normalize whitespace 2016-08-19 14:43:38 +02:00
Kim Alvefur
64e5655468 configure: Remove C++ compiler variable, not used 2016-08-10 13:56:27 +02:00
Kim Alvefur
ed8199402f util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG 2016-02-22 18:44:43 +01:00
Kim Alvefur
9a4c2f7e52 configure,util-src/Makefile: Make a variable that includes -l for OpenSSL (like with IDNA_LIBS) 2015-09-27 00:28:46 +02:00
Kim Alvefur
1ea718fb81 configure, util-src/Makefile: Move OS X deployment flag to an C compiler argument set by configure 2015-09-26 23:42:46 +02:00
Matthew Wild
63f8291d16 configure, Makefile: Make compatible with plain Bourne shell as used on Solaris. Fixes #418 (thanks jcea) 2015-09-02 18:54:34 +01:00
Kim Alvefur
2dcf1e1696 configure: Set default compiler and linker to cc and ld on *bsd (thanks Tobias) 2015-04-26 23:25:47 +02:00
Kim Alvefur
dc0fa2ef1d configure: Mention openbsd preset in --help 2015-04-26 23:23:33 +02:00
Matthew Wild
f9b9268e61 Merge 0.9->0.10 2015-02-24 15:22:09 +00:00
Matthew Wild
dee60b3659 configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics) 2015-02-24 15:19:20 +00:00