bug 773865. Setting env var `MOZ_WINCONSOLE` now causes `MOZ_WINCONSOLE` to be defined for the preprocessor as well. windbgdlg no longer fails to build when `MOZ_WINCONSOLE` env var has been set to 1. r=ted

This commit is contained in:
Tim Abraldes 2012-07-24 10:04:04 -07:00
Родитель 5209a1855d
Коммит a4225a298a
3 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -363,6 +363,10 @@ else
fi
fi
if test -n "$MOZ_WINCONSOLE"; then
AC_DEFINE(MOZ_WINCONSOLE)
fi
MOZ_TOOL_VARIABLES
dnl ========================================================

Просмотреть файл

@ -14,5 +14,6 @@ SIMPLE_PROGRAMS = windbgdlg$(BIN_SUFFIX)
CPPSRCS = windbgdlg.cpp
MOZ_WINCONSOLE = 0
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -57,7 +57,6 @@ else
MOZ_WINCONSOLE = 0
endif
endif
DEFINES += -DMOZ_WINCONSOLE=$(MOZ_WINCONSOLE)
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.