diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-24 15:58:16 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-24 15:58:16 +0200 |
commit | cca5b1dec7762e7f5549a2b387a72e9fda602809 (patch) | |
tree | a9f286140e23e9cc136e466abae7e832d375d2c7 /configure | |
parent | c4e4d69aaa914047749f6394c2d42ccf95244a0c (diff) | |
parent | 266c9ad4eb1f23e6edba5201762007ac3a7419a1 (diff) | |
download | prosody-cca5b1dec7762e7f5549a2b387a72e9fda602809.tar.gz prosody-cca5b1dec7762e7f5549a2b387a72e9fda602809.zip |
Merge 0.10->trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -32,8 +32,8 @@ cat <<EOF Configure Prosody prior to building. --help This help. ---ostype=OS Use one of the OS presets. - May be one of: debian, macosx, linux, freebsd, openbsd +--ostype=OS Use one of the OS presets. May be one of: + debian, macosx, linux, freebsd, openbsd, netbsd --prefix=DIR Prefix where Prosody should be installed. Default is $PREFIX --sysconfdir=DIR Location where the config file should be installed. @@ -146,6 +146,15 @@ do LUA_INCDIR="/usr/local/include"; LUA_INCDIR_SET="yes" fi + if [ "$OSTYPE" = "netbsd" ]; then + RUNWITH="lua5.1" + LUA_INCDIR="/usr/pkg/include/lua-5.1" + LUA_INCDIR_SET=yes + LUA_LIBDIR="/usr/pkg/lib/lua/5.1" + LUA_LIBDIR_SET=yes + CFLAGS="-Wall -fPIC -I/usr/pkg/include" + LDFLAGS="-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -shared" + fi if [ "$OSTYPE" = "pkg-config" ]; then if [ "$LUA_SUFFIX_SET" != "yes" ]; then LUA_SUFFIX="5.1"; |