aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-02-21 10:34:56 +0100
committerKim Alvefur <zash@zash.se>2015-02-21 10:34:56 +0100
commite29afef6ddc342ba7b1a5607408f55dea5c5c1bd (patch)
tree27f0a5826fa433976beebf1cb5b2804e0024e753 /configure
parent1a5d6b2a5778e0768ad98db5e9f31af0de5915a7 (diff)
parent77fae98e80a674dd791fbb59ebfb0f1916ab4091 (diff)
downloadprosody-im-server-e29afef6ddc342ba7b1a5607408f55dea5c5c1bd.tar
prosody-im-server-e29afef6ddc342ba7b1a5607408f55dea5c5c1bd.zip
Merge 0.9->0.10
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 040ff648..d669d3a8 100755
--- a/configure
+++ b/configure
@@ -4,6 +4,7 @@
PREFIX=/usr/local
SYSCONFDIR="$PREFIX/etc/prosody"
+LIBDIR="$PREFIX/lib"
DATADIR="$PREFIX/var/lib/prosody"
LUA_SUFFIX=""
LUA_DIR="/usr"
@@ -36,6 +37,8 @@ Configure Prosody prior to building.
Default is $PREFIX
--sysconfdir=DIR Location where the config file should be installed.
Default is \$PREFIX/etc/prosody
+--libdir=DIR Location where the server files should be stored.
+ Default is \$PREFIX/lib
--datadir=DIR Location where the server data should be stored.
Default is \$PREFIX/var/lib/prosody
--lua-suffix=SUFFIX Versioning suffix to use in Lua filenames.
@@ -133,6 +136,9 @@ do
LUA_INCDIR="/usr/local/include";
fi
;;
+ --libdir=*)
+ LIBDIR="$value"
+ ;;
--datadir=*)
DATADIR="$value"
DATADIR_SET=yes
@@ -337,6 +343,7 @@ cat <<EOF > config.unix
PREFIX=$PREFIX
SYSCONFDIR=$SYSCONFDIR
+LIBDIR=$LIBDIR
DATADIR=$DATADIR
LUA_SUFFIX=$LUA_SUFFIX
LUA_DIR=$LUA_DIR