X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=configure;h=bd8eb48c12b24b4268b30a5f867d31b816b7f693;hb=544f8bf31ea5d61362037c8a23af66147fdccf79;hp=9d071bc16147520bec79b865c368c5d34c494485;hpb=4c57f0f5238c4918bf208a437858536f6cd63315;p=prosody.git diff --git a/configure b/configure index 9d071bc1..bd8eb48c 100755 --- a/configure +++ b/configure @@ -4,13 +4,19 @@ PREFIX=/usr/local SYSCONFDIR="$PREFIX/etc/prosody" +DATADIR="$PREFIX/var/lib/prosody" LUA_SUFFIX="" LUA_DIR="/usr" LUA_BINDIR="/usr/bin" LUA_INCDIR="/usr/include" LUA_LIBDIR="/usr/lib" IDN_LIB=idn -OPENSSL_LIB=ssl +OPENSSL_LIB=crypto +CC=gcc +LD=gcc + +CFLAGS="-fPIC -Wall" +LFLAGS="-shared" # Help @@ -19,10 +25,14 @@ cat < config.unix PREFIX=$PREFIX SYSCONFDIR=$SYSCONFDIR +DATADIR=$DATADIR LUA_SUFFIX=$LUA_SUFFIX LUA_DIR=$LUA_DIR LUA_INCDIR=$LUA_INCDIR @@ -229,6 +298,10 @@ LUA_BINDIR=$LUA_BINDIR REQUIRE_CONFIG=$REQUIRE_CONFIG IDN_LIB=$IDN_LIB OPENSSL_LIB=$OPENSSL_LIB +CFLAGS=$CFLAGS +LFLAGS=$LFLAGS +CC=$CC +LD=$LD EOF