[Libreoffice-commits] core.git: configure.ac i18nlangtag/CppunitTest_i18nlangtag_test_languagetag.mk i18nlangtag/Library_i18nlangtag.mk liblangtag/Module_liblangtag.mk RepositoryExternal.mk
Norbert Thiebaud
nthiebaud at gmail.com
Fri Aug 30 00:06:00 PDT 2013
RepositoryExternal.mk | 2 +-
configure.ac | 3 +--
i18nlangtag/CppunitTest_i18nlangtag_test_languagetag.mk | 2 +-
i18nlangtag/Library_i18nlangtag.mk | 2 +-
liblangtag/Module_liblangtag.mk | 2 +-
5 files changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 587d9693bdea45b90331da1c577c017db38f3f39
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Thu Aug 29 10:38:00 2013 -0500
liblangtag: harmonize ENABLE_* variable to use TRUE/<nothing>
Change-Id: I6e231516476f3b9512e239ccf678048c87d25aa5
Reviewed-on: https://gerrit.libreoffice.org/5682
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 5962dc4..e96e812 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -825,7 +825,7 @@ define gb_LinkTarget__use_glib
$(error gb_LinkTarget__use_glib should not be called any more)
endef
-ifeq ($(ENABLE_LIBLANGTAG),YES)
+ifeq ($(ENABLE_LIBLANGTAG),TRUE)
ifeq ($(SYSTEM_LIBLANGTAG),YES)
diff --git a/configure.ac b/configure.ac
index 75ffd04..cc8721f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11621,7 +11621,7 @@ ENABLE_LIBLANGTAG=
SYSTEM_LIBLANGTAG=
AC_MSG_CHECKING([whether to use liblangtag])
if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a $_os != Android -a $_os != iOS \); then
- ENABLE_LIBLANGTAG=YES
+ ENABLE_LIBLANGTAG=TRUE
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([whether to use system liblangtag])
if test "$with_system_liblangtag" = yes; then
@@ -11636,7 +11636,6 @@ if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a $_os !=
BUILD_TYPE="$BUILD_TYPE LIBLANGTAG"
fi
else
- ENABLE_LIBLANGTAG=NO
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_LIBLANGTAG)
diff --git a/i18nlangtag/CppunitTest_i18nlangtag_test_languagetag.mk b/i18nlangtag/CppunitTest_i18nlangtag_test_languagetag.mk
index f001717..2eec5a9 100644
--- a/i18nlangtag/CppunitTest_i18nlangtag_test_languagetag.mk
+++ b/i18nlangtag/CppunitTest_i18nlangtag_test_languagetag.mk
@@ -22,7 +22,7 @@ $(eval $(call gb_CppunitTest_use_libraries,i18nlangtag_test_languagetag,\
$(gb_UWINAPI) \
))
-ifeq ($(ENABLE_LIBLANGTAG),YES)
+ifeq ($(ENABLE_LIBLANGTAG),TRUE)
$(eval $(call gb_CppunitTest_use_externals,i18nlangtag_test_languagetag,\
liblangtag \
libxml2 \
diff --git a/i18nlangtag/Library_i18nlangtag.mk b/i18nlangtag/Library_i18nlangtag.mk
index 4b6acb1..fd1548b 100644
--- a/i18nlangtag/Library_i18nlangtag.mk
+++ b/i18nlangtag/Library_i18nlangtag.mk
@@ -34,7 +34,7 @@ $(eval $(call gb_Library_add_exception_objects,i18nlangtag,\
))
-ifeq ($(ENABLE_LIBLANGTAG),YES)
+ifeq ($(ENABLE_LIBLANGTAG),TRUE)
$(eval $(call gb_Library_add_defs,i18nlangtag,-DENABLE_LIBLANGTAG))
$(eval $(call gb_Library_use_external,i18nlangtag,liblangtag))
$(eval $(call gb_Library_use_external,i18nlangtag,libxml2))
diff --git a/liblangtag/Module_liblangtag.mk b/liblangtag/Module_liblangtag.mk
index 36201f8..3d68c54 100644
--- a/liblangtag/Module_liblangtag.mk
+++ b/liblangtag/Module_liblangtag.mk
@@ -9,7 +9,7 @@
$(eval $(call gb_Module_Module,liblangtag))
-ifeq ($(ENABLE_LIBLANGTAG),YES)
+ifeq ($(ENABLE_LIBLANGTAG),TRUE)
ifeq ($(SYSTEM_LIBLANGTAG),NO)
$(eval $(call gb_Module_add_targets,liblangtag,\
More information about the Libreoffice-commits
mailing list