comparison make/common/shared/Sanity.gmk @ 3855:c28f5ac2d5f8

7025412: make381 issues with quotes in jdk/make/docs/Makefile and other places Reviewed-by: mchung, herrick
author ohair
date Thu, 10 Mar 2011 14:48:32 -0800
parents 6aeed99af874
children d7034302bc24 0858c48466f0
comparison
equal deleted inserted replaced
67:0b1007d5473e 68:30ef2f54e87d
111 $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \ 111 $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
112 fi) 112 fi)
113 ALSA_INCLUDE=/usr/include/alsa/version.h 113 ALSA_INCLUDE=/usr/include/alsa/version.h
114 ALSA_LIBRARY=/usr/lib/libasound.so 114 ALSA_LIBRARY=/usr/lib/libasound.so
115 _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \ 115 _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
116 $(SED) -e 's@.*\"\(.*\)\".*@\1@' ) 116 $(SED) -e 's@.*"\(.*\)".*@\1@' )
117 ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION)) 117 ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
118 endif 118 endif
119 119
120 ifeq ($(PLATFORM), windows) 120 ifeq ($(PLATFORM), windows)
121 FREE_SPACE := $(shell $(DF) -kP $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$4;}') 121 FREE_SPACE := $(shell $(DF) -kP $(OUTPUTDIR) | $(TAIL) -1 | $(NAWK) '{print $$4;}')
331 ###################################################### 331 ######################################################
332 sane-locale: 332 sane-locale:
333 ifneq ($(PLATFORM), windows) 333 ifneq ($(PLATFORM), windows)
334 @if [ "$(LC_ALL)" != "" -a "$(LC_ALL)" != "C" ]; then \ 334 @if [ "$(LC_ALL)" != "" -a "$(LC_ALL)" != "C" ]; then \
335 $(ECHO) "WARNING: LC_ALL has been set to $(LC_ALL), this can cause build failures. \n" \ 335 $(ECHO) "WARNING: LC_ALL has been set to $(LC_ALL), this can cause build failures. \n" \
336 " Try setting LC_ALL to \"C\". \n" \ 336 " Try setting LC_ALL to 'C'. \n" \
337 "" >> $(WARNING_FILE) ; \ 337 "" >> $(WARNING_FILE) ; \
338 fi 338 fi
339 @if [ "$(LANG)" != "" -a "$(LANG)" != "C" ]; then \ 339 @if [ "$(LANG)" != "" -a "$(LANG)" != "C" ]; then \
340 $(ECHO) "WARNING: LANG has been set to $(LANG), this can cause build failures. \n" \ 340 $(ECHO) "WARNING: LANG has been set to $(LANG), this can cause build failures. \n" \
341 " Try setting LANG to \"C\". \n" \ 341 " Try setting LANG to 'C'. \n" \
342 "" >> $(WARNING_FILE) ; \ 342 "" >> $(WARNING_FILE) ; \
343 fi 343 fi
344 endif 344 endif
345 345
346 ###################################################### 346 ######################################################
1325 $(ECHO) "ERROR: The Linker version is undefined. \n" \ 1325 $(ECHO) "ERROR: The Linker version is undefined. \n" \
1326 "" >> $(ERROR_FILE) ; \ 1326 "" >> $(ERROR_FILE) ; \
1327 fi 1327 fi
1328 @if [ "$(LINK_CHECK)" != "same" ]; then \ 1328 @if [ "$(LINK_CHECK)" != "same" ]; then \
1329 $(ECHO) "WARNING: To build Java 2 SDK $(JDK_VERSION) you need : \n" \ 1329 $(ECHO) "WARNING: To build Java 2 SDK $(JDK_VERSION) you need : \n" \
1330 " $(REQUIRED_COMPILER_VERSION) - link.exe version \"$(REQUIRED_LINK_VER)\" \n" \ 1330 " $(REQUIRED_COMPILER_VERSION) - link.exe version '$(REQUIRED_LINK_VER)' \n" \
1331 " Specifically the $(REQUIRED_COMPILER_NAME) link.exe. \n " \ 1331 " Specifically the $(REQUIRED_COMPILER_NAME) link.exe. \n " \
1332 " $(YOU_ARE_USING) Linker version \"$(LINK_VER)\" \n" \ 1332 " $(YOU_ARE_USING) Linker version '$(LINK_VER)' \n" \
1333 "" >> $(WARNING_FILE) ; \ 1333 "" >> $(WARNING_FILE) ; \
1334 fi 1334 fi
1335 endif 1335 endif
1336 1336
1337 ###################################################### 1337 ######################################################