Comparison

configure @ 536:dfe06eab47c0

Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes
author Matthew Wild <mwild1@gmail.com>
date Wed, 03 Dec 2008 19:55:57 +0000
parent 533:a29c27c32a34
child 798:2a92b58144a9
comparison
equal deleted inserted replaced
535:74f32ac6db40 536:dfe06eab47c0
11 LUA_INCDIR="/usr/include" 11 LUA_INCDIR="/usr/include"
12 LUA_LIBDIR="/usr/lib" 12 LUA_LIBDIR="/usr/lib"
13 IDN_LIB=idn 13 IDN_LIB=idn
14 OPENSSL_LIB=crypto 14 OPENSSL_LIB=crypto
15 15
16 CFLAGS="-shared -fPIC" 16 CFLAGS="-fPIC"
17 LFLAGS="-shared"
17 18
18 # Help 19 # Help
19 20
20 show_help() { 21 show_help() {
21 cat <<EOF 22 cat <<EOF
275 LUA_BINDIR=$LUA_BINDIR 276 LUA_BINDIR=$LUA_BINDIR
276 REQUIRE_CONFIG=$REQUIRE_CONFIG 277 REQUIRE_CONFIG=$REQUIRE_CONFIG
277 IDN_LIB=$IDN_LIB 278 IDN_LIB=$IDN_LIB
278 OPENSSL_LIB=$OPENSSL_LIB 279 OPENSSL_LIB=$OPENSSL_LIB
279 CFLAGS=$CFLAGS 280 CFLAGS=$CFLAGS
281 LFLAGS=$LFLAGS
280 282
281 EOF 283 EOF
282 284
283 echo "Installation prefix: $PREFIX" 285 echo "Installation prefix: $PREFIX"
284 echo "Prosody configuration directory: $SYSCONFDIR" 286 echo "Prosody configuration directory: $SYSCONFDIR"