Kaydet (Commit) 187194b8 authored tarafından Michael Stahl's avatar Michael Stahl

normalize values of SYSTEM_NPAPI_HEADERS, SYSTEM_ICU

Change-Id: I7f1153e4a07a4116417a7734d867f2d0feda1ee4
üst 5378deae
...@@ -45,7 +45,7 @@ endef ...@@ -45,7 +45,7 @@ endef
endif endif
ifeq ($(SYSTEM_NPAPI_HEADERS),YES) ifneq ($(SYSTEM_NPAPI_HEADERS),)
# yes this uses internal headers too... # yes this uses internal headers too...
# they are split across 2 dirs for this reason # they are split across 2 dirs for this reason
...@@ -1200,7 +1200,7 @@ endef ...@@ -1200,7 +1200,7 @@ endef
endif # SYSTEM_GRAPHITE endif # SYSTEM_GRAPHITE
ifeq ($(SYSTEM_ICU),YES) ifneq ($(SYSTEM_ICU),)
gb_LinkTarget__use_icu_headers:= gb_LinkTarget__use_icu_headers:=
gb_ExternalProject__use_icu:= gb_ExternalProject__use_icu:=
...@@ -3202,7 +3202,7 @@ $(call gb_Executable_add_runtime_dependencies,gengal,\ ...@@ -3202,7 +3202,7 @@ $(call gb_Executable_add_runtime_dependencies,gengal,\
) )
endef endef
ifneq ($(SYSTEM_ICU),YES) ifeq ($(SYSTEM_ICU),)
define gb_Executable__register_gendict define gb_Executable__register_gendict
$(call gb_Executable_add_runtime_dependencies,gendict,\ $(call gb_Executable_add_runtime_dependencies,gendict,\
......
...@@ -8961,7 +8961,7 @@ AC_MSG_CHECKING([which NPAPI headers to use]) ...@@ -8961,7 +8961,7 @@ AC_MSG_CHECKING([which NPAPI headers to use])
if test "$with_system_npapi_headers" = "yes"; then if test "$with_system_npapi_headers" = "yes"; then
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
SYSTEM_NPAPI_HEADERS=YES SYSTEM_NPAPI_HEADERS=TRUE
# First try npapi-sdk: # First try npapi-sdk:
PKG_CHECK_MODULES(NPAPI_HEADERS, npapi-sdk, [LOCATED=yes], [LOCATED=no]) PKG_CHECK_MODULES(NPAPI_HEADERS, npapi-sdk, [LOCATED=yes], [LOCATED=no])
# Then go with libxul: # Then go with libxul:
...@@ -8998,7 +8998,7 @@ else ...@@ -8998,7 +8998,7 @@ else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
dnl ...but will not be built/used unless ENABLE_NPAPI_FROM_BROWSER or dnl ...but will not be built/used unless ENABLE_NPAPI_FROM_BROWSER or
dnl ENABLE_NPAPI_INTO_BROWSER is TRUE dnl ENABLE_NPAPI_INTO_BROWSER is TRUE
SYSTEM_NPAPI_HEADERS=NO SYSTEM_NPAPI_HEADERS=
fi fi
AC_SUBST(NPAPI_HEADERS_CFLAGS) AC_SUBST(NPAPI_HEADERS_CFLAGS)
AC_SUBST(SYSTEM_NPAPI_HEADERS) AC_SUBST(SYSTEM_NPAPI_HEADERS)
...@@ -9033,7 +9033,7 @@ ICU_RECLASSIFIED_HEBREW_LETTER="YES" ...@@ -9033,7 +9033,7 @@ ICU_RECLASSIFIED_HEBREW_LETTER="YES"
AC_MSG_CHECKING([which icu to use]) AC_MSG_CHECKING([which icu to use])
if test "$with_system_icu" = "yes"; then if test "$with_system_icu" = "yes"; then
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
SYSTEM_ICU=YES SYSTEM_ICU=TRUE
AC_LANG_PUSH([C++]) AC_LANG_PUSH([C++])
AC_MSG_CHECKING([for unicode/rbbi.h]) AC_MSG_CHECKING([for unicode/rbbi.h])
AC_PREPROC_IFELSE([AC_LANG_SOURCE([[unicode/rbbi.h]])],[AC_MSG_RESULT(checked.)],[AC_MSG_ERROR(icu headers not found.)]) AC_PREPROC_IFELSE([AC_LANG_SOURCE([[unicode/rbbi.h]])],[AC_MSG_RESULT(checked.)],[AC_MSG_ERROR(icu headers not found.)])
...@@ -9118,7 +9118,7 @@ You can use --with-system-icu-for-build=force to use it anyway.]) ...@@ -9118,7 +9118,7 @@ You can use --with-system-icu-for-build=force to use it anyway.])
libo_MINGW_CHECK_DLL([icuuc][$ICU_MAJOR][$ICU_MINOR]) libo_MINGW_CHECK_DLL([icuuc][$ICU_MAJOR][$ICU_MINOR])
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_ICU="NO" SYSTEM_ICU=
BUILD_TYPE="$BUILD_TYPE ICU" BUILD_TYPE="$BUILD_TYPE ICU"
# surprisingly set these only for "internal" (to be used by various other # surprisingly set these only for "internal" (to be used by various other
# external libs): the system icu-config is quite unhelpful and spits out # external libs): the system icu-config is quite unhelpful and spits out
......
...@@ -14,7 +14,7 @@ $(eval $(call gb_Pagein_add_objects,common,\ ...@@ -14,7 +14,7 @@ $(eval $(call gb_Pagein_add_objects,common,\
$(if $(MERGELIBS),merged) \ $(if $(MERGELIBS),merged) \
$(if $(URELIBS),urelibs) \ $(if $(URELIBS),urelibs) \
i18nlangtag \ i18nlangtag \
$(if $(findstring YES,$(SYSTEM_ICU)),,\ $(if $(SYSTEM_ICU),,\
icui18n \ icui18n \
icuuc \ icuuc \
) \ ) \
......
...@@ -39,12 +39,12 @@ $(call gb_ExternalProject_get_state_target,firebird,build): ...@@ -39,12 +39,12 @@ $(call gb_ExternalProject_get_state_target,firebird,build):
-I$(call gb_UnpackedTarball_get_dir,boost) \ -I$(call gb_UnpackedTarball_get_dir,boost) \
-L$(call gb_UnpackedTarball_get_dir,boost)/source/lib \ -L$(call gb_UnpackedTarball_get_dir,boost)/source/lib \
) \ ) \
$(if $(filter NO,$(SYSTEM_ICU)), \ $(if $(SYSTEM_ICU),$(ICU_CPPFLAGS), \
-I$(call gb_UnpackedTarball_get_dir,icu)/source \ -I$(call gb_UnpackedTarball_get_dir,icu)/source \
-I$(call gb_UnpackedTarball_get_dir,icu)/source/i18n \ -I$(call gb_UnpackedTarball_get_dir,icu)/source/i18n \
-I$(call gb_UnpackedTarball_get_dir,icu)/source/common \ -I$(call gb_UnpackedTarball_get_dir,icu)/source/common \
-L$(call gb_UnpackedTarball_get_dir,icu)/source/lib \ -L$(call gb_UnpackedTarball_get_dir,icu)/source/lib \
,$(ICU_CPPFLAGS)) \ ) \
" \ " \
&& ./configure \ && ./configure \
--without-editline \ --without-editline \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment