Software /
code /
prosody
Comparison
configure @ 6574:cd0088c73daf
configure, Makefile: Add --libdir option to ./configure, allowing you to override the $PREFIX/lib/ default. Fixes #470.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 20 Feb 2015 15:51:05 +0000 |
parent | 5933:56b1f151f4a3 |
child | 6576:b7796a46aec2 |
child | 6579:5a82ee60e07e |
comparison
equal
deleted
inserted
replaced
6558:461217c45a18 | 6574:cd0088c73daf |
---|---|
2 | 2 |
3 # Defaults | 3 # Defaults |
4 | 4 |
5 PREFIX=/usr/local | 5 PREFIX=/usr/local |
6 SYSCONFDIR="$PREFIX/etc/prosody" | 6 SYSCONFDIR="$PREFIX/etc/prosody" |
7 LIBDIR="$PREFIX/lib" | |
7 DATADIR="$PREFIX/var/lib/prosody" | 8 DATADIR="$PREFIX/var/lib/prosody" |
8 LUA_SUFFIX="" | 9 LUA_SUFFIX="" |
9 LUA_DIR="/usr" | 10 LUA_DIR="/usr" |
10 LUA_BINDIR="/usr/bin" | 11 LUA_BINDIR="/usr/bin" |
11 LUA_INCDIR="/usr/include" | 12 LUA_INCDIR="/usr/include" |
34 May be one of: debian, macosx, linux, freebsd | 35 May be one of: debian, macosx, linux, freebsd |
35 --prefix=DIR Prefix where Prosody should be installed. | 36 --prefix=DIR Prefix where Prosody should be installed. |
36 Default is $PREFIX | 37 Default is $PREFIX |
37 --sysconfdir=DIR Location where the config file should be installed. | 38 --sysconfdir=DIR Location where the config file should be installed. |
38 Default is \$PREFIX/etc/prosody | 39 Default is \$PREFIX/etc/prosody |
40 --libdir=DIR Location where the server files should be stored. | |
41 Default is \$PREFIX/lib | |
39 --datadir=DIR Location where the server data should be stored. | 42 --datadir=DIR Location where the server data should be stored. |
40 Default is \$PREFIX/var/lib/prosody | 43 Default is \$PREFIX/var/lib/prosody |
41 --lua-suffix=SUFFIX Versioning suffix to use in Lua filenames. | 44 --lua-suffix=SUFFIX Versioning suffix to use in Lua filenames. |
42 Default is "$LUA_SUFFIX" (lua$LUA_SUFFIX...) | 45 Default is "$LUA_SUFFIX" (lua$LUA_SUFFIX...) |
43 --with-lua=PREFIX Use Lua from given prefix. | 46 --with-lua=PREFIX Use Lua from given prefix. |
132 fi | 135 fi |
133 if [ "$OSTYPE" = "openbsd" ] | 136 if [ "$OSTYPE" = "openbsd" ] |
134 then LUA_INCDIR="/usr/local/include"; | 137 then LUA_INCDIR="/usr/local/include"; |
135 fi | 138 fi |
136 ;; | 139 ;; |
140 --libdir=*) | |
141 LIBDIR="$value" | |
142 ;; | |
137 --datadir=*) | 143 --datadir=*) |
138 DATADIR="$value" | 144 DATADIR="$value" |
139 DATADIR_SET=yes | 145 DATADIR_SET=yes |
140 ;; | 146 ;; |
141 --require-config) | 147 --require-config) |
336 # This file was automatically generated by the configure script. | 342 # This file was automatically generated by the configure script. |
337 # Run "./configure --help" for details. | 343 # Run "./configure --help" for details. |
338 | 344 |
339 PREFIX=$PREFIX | 345 PREFIX=$PREFIX |
340 SYSCONFDIR=$SYSCONFDIR | 346 SYSCONFDIR=$SYSCONFDIR |
347 LIBDIR=$LIBDIR | |
341 DATADIR=$DATADIR | 348 DATADIR=$DATADIR |
342 LUA_SUFFIX=$LUA_SUFFIX | 349 LUA_SUFFIX=$LUA_SUFFIX |
343 LUA_DIR=$LUA_DIR | 350 LUA_DIR=$LUA_DIR |
344 LUA_INCDIR=$LUA_INCDIR | 351 LUA_INCDIR=$LUA_INCDIR |
345 LUA_LIBDIR=$LUA_LIBDIR | 352 LUA_LIBDIR=$LUA_LIBDIR |