dnl to their final values if they were set to 'auto'
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
UNICODE=$WX_UNICODE
TOOLKIT=$WX_PORT
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
dnl don't need to set them, too