changeset 12190 | 2a7d7cc90f2f |
parent 12047 | 320a714614e9 |
child 12293 | 6c4b13381b81 |
--- a/jdk/make/common/shared/Sanity.gmk Thu Mar 08 13:44:33 2012 -0800 +++ b/jdk/make/common/shared/Sanity.gmk Thu Mar 15 16:45:55 2012 +0000 @@ -348,7 +348,13 @@ " Try setting LANG to 'C'. \n" \ "" >> $(WARNING_FILE) ; \ fi +ifeq ($(PLATFORM), macosx) + @if [ "$(LANG)" = "" ]; then \ + $(ECHO) "ERROR: LANG must be set on Mac OS X. Recommended value is \"C\"" >> $(ERROR_FILE) ; \ + fi endif +endif + ###################################################### # Check the Windows cygwin version