X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=configure;h=f13695382369f8ef7222c72b2b5d4edc69bfe888;hb=a7f1c478136e20f6196c998564a78ffad7c362e6;hp=758e70dfb707a0b81f96abb3c37ad215bd76361a;hpb=7747fe11a336edcd019b24b2e255100d9fdf51ac;p=prosody.git diff --git a/configure b/configure index 758e70df..f1369538 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" +LDFLAGS="-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 +312,10 @@ LUA_BINDIR=$LUA_BINDIR REQUIRE_CONFIG=$REQUIRE_CONFIG IDN_LIB=$IDN_LIB OPENSSL_LIB=$OPENSSL_LIB +CFLAGS=$CFLAGS +LDFLAGS=$LDFLAGS +CC=$CC +LD=$LD EOF