From: Francesco M. <fr...@us...> - 2007-05-06 10:02:16
|
Update of /cvsroot/wxlua/wxLua/build/autoconf In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31684/build/autoconf Modified Files: aclocal.m4 configure.ac Log Message: fixed automatic -g -02 flag addition by autoconf Index: configure.ac =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/autoconf/configure.ac,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** configure.ac 23 Apr 2007 22:44:28 -0000 1.41 --- configure.ac 6 May 2007 10:02:13 -0000 1.42 *************** *** 117,129 **** ##################################################################### AC_CANONICAL_SYSTEM AC_PROG_CC AC_PROG_CXX - # check for wxWidgets - # - # NB: to avoid getting "-g -02" repeated twice in CPPFLAGS, we need - # wxWidgets checks BEFORE lua checks (that's a long story - trust me) - WXLIBS_REQUIRED="xrc,html,adv,net,xml,core,base" AC_SUBST(WXLIBS_REQUIRED) --- 117,129 ---- ##################################################################### + # NB: to avoid getting "-g -02" automatically added to C*FLAGS we need + # to explicitely initialize CFLAGS and CXXFLAGS to empty + CFLAGS= + CXXFLAGS= + AC_CANONICAL_SYSTEM AC_PROG_CC AC_PROG_CXX WXLIBS_REQUIRED="xrc,html,adv,net,xml,core,base" AC_SUBST(WXLIBS_REQUIRED) |