set BUILD variable to release not only when DEBUG is empty but also when it contains 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
2
wxwin.m4
2
wxwin.m4
@@ -951,7 +951,7 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
|
|||||||
dnl in case the user needs a BUILD=debug/release var...
|
dnl in case the user needs a BUILD=debug/release var...
|
||||||
if test "$DEBUG" = "1"; then
|
if test "$DEBUG" = "1"; then
|
||||||
BUILD="debug"
|
BUILD="debug"
|
||||||
elif test "$DEBUG" = ""; then
|
elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then
|
||||||
BUILD="release"
|
BUILD="release"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user