Comparison

configure @ 802:33c012048492

Add -Wall to default CFLAGS
author Matthew Wild <mwild1@gmail.com>
date Sun, 15 Feb 2009 11:47:43 +0000
parent 798:2a92b58144a9
child 998:c2000160938d
comparison
equal deleted inserted replaced
801:d29febc977fc 802:33c012048492
13 IDN_LIB=idn 13 IDN_LIB=idn
14 OPENSSL_LIB=crypto 14 OPENSSL_LIB=crypto
15 CC=gcc 15 CC=gcc
16 LD=gcc 16 LD=gcc
17 17
18 CFLAGS="-fPIC" 18 CFLAGS="-fPIC -Wall"
19 LFLAGS="-shared" 19 LFLAGS="-shared"
20 20
21 # Help 21 # Help
22 22
23 show_help() { 23 show_help() {
138 if [ "$OSTYPE" = "macosx" ] 138 if [ "$OSTYPE" = "macosx" ]
139 then LUA_INCDIR=/usr/local/include; 139 then LUA_INCDIR=/usr/local/include;
140 LUA_INCDIR_SET=yes 140 LUA_INCDIR_SET=yes
141 LUA_LIBDIR=/usr/local/lib 141 LUA_LIBDIR=/usr/local/lib
142 LUA_LIBDIR_SET=yes 142 LUA_LIBDIR_SET=yes
143 CFLAGS="" 143 CFLAGS="-Wall"
144 LFLAGS="-bundle -undefined dynamic_lookup" 144 LFLAGS="-bundle -undefined dynamic_lookup"
145 fi 145 fi
146 fi 146 fi
147 147
148 if [ "$PREFIX_SET" = "yes" -a ! "$SYSCONFDIR_SET" = "yes" ] 148 if [ "$PREFIX_SET" = "yes" -a ! "$SYSCONFDIR_SET" = "yes" ]