mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
configure: Respect Lua suffix in Debian preset if already set
This commit is contained in:
parent
b5955ba7af
commit
2597061f23
1 changed files with 6 additions and 4 deletions
10
configure
vendored
10
configure
vendored
|
@ -106,10 +106,12 @@ do
|
||||||
OSTYPE="$value"
|
OSTYPE="$value"
|
||||||
OSTYPE_SET=yes
|
OSTYPE_SET=yes
|
||||||
if [ "$OSTYPE" = "debian" ]; then
|
if [ "$OSTYPE" = "debian" ]; then
|
||||||
LUA_SUFFIX="5.1";
|
if [ "$LUA_SUFFIX_SET" != "yes" ]; then
|
||||||
LUA_SUFFIX_SET=yes
|
LUA_SUFFIX="5.1";
|
||||||
RUNWITH="lua5.1"
|
LUA_SUFFIX_SET=yes
|
||||||
LUA_INCDIR=/usr/include/lua5.1;
|
fi
|
||||||
|
RUNWITH="lua$LUA_SUFFIX"
|
||||||
|
LUA_INCDIR="/usr/include/lua$LUA_SUFFIX"
|
||||||
LUA_INCDIR_SET=yes
|
LUA_INCDIR_SET=yes
|
||||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue