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:
Francesco Montorsi
2008-01-20 10:58:24 +00:00
parent 38400bb46b
commit 5e5b46bb96

View File

@@ -951,7 +951,7 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES],
dnl in case the user needs a BUILD=debug/release var...
if test "$DEBUG" = "1"; then
BUILD="debug"
elif test "$DEBUG" = ""; then
elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then
BUILD="release"
fi