Comparison

configure @ 542:c9dbfcf21846

Automated merge with http://waqas.ath.cx/
author Matthew Wild <mwild1@gmail.com>
date Thu, 04 Dec 2008 15:48:19 +0000
parent 536:dfe06eab47c0
child 798:2a92b58144a9
comparison
equal deleted inserted replaced
541:3521e0851c9e 542:c9dbfcf21846
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
123 if [ "$OSTYPE" = "macosx" ] 124 if [ "$OSTYPE" = "macosx" ]
124 then LUA_INCDIR=/usr/local/include; 125 then LUA_INCDIR=/usr/local/include;
125 LUA_INCDIR_SET=yes 126 LUA_INCDIR_SET=yes
126 LUA_LIBDIR=/usr/local/lib 127 LUA_LIBDIR=/usr/local/lib
127 LUA_LIBDIR_SET=yes 128 LUA_LIBDIR_SET=yes
128 CFLAGS="-bundle -Wl,-undefined,dynamic_lookup" 129 CFLAGS=""
130 LFLAGS="-bundle -undefined dynamic_lookup"
129 fi 131 fi
130 fi 132 fi
131 133
132 if [ "$PREFIX_SET" = "yes" -a ! "$SYSCONFDIR_SET" = "yes" ] 134 if [ "$PREFIX_SET" = "yes" -a ! "$SYSCONFDIR_SET" = "yes" ]
133 then 135 then
274 LUA_BINDIR=$LUA_BINDIR 276 LUA_BINDIR=$LUA_BINDIR
275 REQUIRE_CONFIG=$REQUIRE_CONFIG 277 REQUIRE_CONFIG=$REQUIRE_CONFIG
276 IDN_LIB=$IDN_LIB 278 IDN_LIB=$IDN_LIB
277 OPENSSL_LIB=$OPENSSL_LIB 279 OPENSSL_LIB=$OPENSSL_LIB
278 CFLAGS=$CFLAGS 280 CFLAGS=$CFLAGS
281 LFLAGS=$LFLAGS
279 282
280 EOF 283 EOF
281 284
282 echo "Installation prefix: $PREFIX" 285 echo "Installation prefix: $PREFIX"
283 echo "Prosody configuration directory: $SYSCONFDIR" 286 echo "Prosody configuration directory: $SYSCONFDIR"