From: Francesco M. <fr...@us...> - 2008-01-14 13:21:01
|
Update of /cvsroot/wxlua/wxLua/build/autoconf In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18287/build/autoconf Modified Files: wxwin.m4 Log Message: always define BUILD variable Index: wxwin.m4 =================================================================== RCS file: /cvsroot/wxlua/wxLua/build/autoconf/wxwin.m4,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wxwin.m4 14 Jan 2008 12:11:14 -0000 1.3 --- wxwin.m4 14 Jan 2008 13:20:55 -0000 1.4 *************** *** 938,948 **** if test "$DEBUG" = "auto"; then DEBUG=$WX_DEBUG - - dnl in case user wants a BUILD=debug/release var... - if test "$DEBUG" = "1"; then - BUILD="debug" - elif test "$DEBUG" = ""; then - BUILD="release" - fi fi if test "$UNICODE" = "auto"; then --- 938,941 ---- *************** *** 956,959 **** --- 949,959 ---- fi + dnl in case the user needs a BUILD=debug/release var... + if test "$DEBUG" = "1"; then + BUILD="debug" + elif test "$DEBUG" = ""; then + BUILD="release" + fi + dnl respect the DEBUG variable adding the optimize/debug flags dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we |