Kaydet (Commit) 32db4993 authored tarafından Michael Stahl's avatar Michael Stahl

normalize values of SYSTEM_POPPLER, SYSTEM_JFREEREPORT

Change-Id: I8034b6fdf85697b6b409143396983ef3170257b2
üst 8555b378
...@@ -2136,7 +2136,7 @@ endef ...@@ -2136,7 +2136,7 @@ endef
endif # ENABLE_VALGRIND endif # ENABLE_VALGRIND
ifeq ($(SYSTEM_POPPLER),YES) ifneq ($(SYSTEM_POPPLER),)
define gb_LinkTarget__use_poppler define gb_LinkTarget__use_poppler
$(call gb_LinkTarget_set_include,$(1),\ $(call gb_LinkTarget_set_include,$(1),\
...@@ -3031,7 +3031,7 @@ endef ...@@ -3031,7 +3031,7 @@ endef
endif # SYSTEM_APACHE_COMMONS endif # SYSTEM_APACHE_COMMONS
ifeq ($(SYSTEM_JFREEREPORT),YES) ifneq ($(SYSTEM_JFREEREPORT),)
define gb_Jar__use_flow-engine define gb_Jar__use_flow-engine
$(call gb_Jar_use_system_jar,$(1),$(JFREEREPORT_JAR)) $(call gb_Jar_use_system_jar,$(1),$(JFREEREPORT_JAR))
......
...@@ -10521,7 +10521,7 @@ if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_ ...@@ -10521,7 +10521,7 @@ if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_
AC_MSG_CHECKING([which PDF import backend to use]) AC_MSG_CHECKING([which PDF import backend to use])
if test "$with_system_poppler" = "yes"; then if test "$with_system_poppler" = "yes"; then
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
SYSTEM_POPPLER=YES SYSTEM_POPPLER=TRUE
PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 ) PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 )
AC_LANG_PUSH([C++]) AC_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS save_CXXFLAGS=$CXXFLAGS
...@@ -10537,7 +10537,7 @@ if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_ ...@@ -10537,7 +10537,7 @@ if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_
POPPLER_CFLAGS=$(printf '%s' "$POPPLER_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g") POPPLER_CFLAGS=$(printf '%s' "$POPPLER_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g")
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_POPPLER=NO SYSTEM_POPPLER=
BUILD_TYPE="$BUILD_TYPE POPPLER" BUILD_TYPE="$BUILD_TYPE POPPLER"
fi fi
else else
...@@ -10569,7 +10569,7 @@ if test "$enable_report_builder" != "no" -a "$with_java" != "no"; then ...@@ -10569,7 +10569,7 @@ if test "$enable_report_builder" != "no" -a "$with_java" != "no"; then
ENABLE_REPORTBUILDER=TRUE ENABLE_REPORTBUILDER=TRUE
AC_MSG_CHECKING([which jfreereport libs to use]) AC_MSG_CHECKING([which jfreereport libs to use])
if test "$with_system_jfreereport" = "yes"; then if test "$with_system_jfreereport" = "yes"; then
SYSTEM_JFREEREPORT=YES SYSTEM_JFREEREPORT=TRUE
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
if test -z $SAC_JAR; then if test -z $SAC_JAR; then
SAC_JAR=/usr/share/java/sac.jar SAC_JAR=/usr/share/java/sac.jar
...@@ -10729,13 +10729,13 @@ if test "$enable_report_builder" != "no" -a "$with_java" != "no"; then ...@@ -10729,13 +10729,13 @@ if test "$enable_report_builder" != "no" -a "$with_java" != "no"; then
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_JFREEREPORT=NO SYSTEM_JFREEREPORT=
BUILD_TYPE="$BUILD_TYPE JFREEREPORT" BUILD_TYPE="$BUILD_TYPE JFREEREPORT"
fi fi
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
ENABLE_REPORTBUILDER= ENABLE_REPORTBUILDER=
SYSTEM_JFREEREPORT=NO SYSTEM_JFREEREPORT=
fi fi
AC_SUBST(ENABLE_REPORTBUILDER) AC_SUBST(ENABLE_REPORTBUILDER)
AC_SUBST(SYSTEM_JFREEREPORT) AC_SUBST(SYSTEM_JFREEREPORT)
...@@ -12670,7 +12670,7 @@ if test "$enable_mpl_subset" = "yes"; then ...@@ -12670,7 +12670,7 @@ if test "$enable_mpl_subset" = "yes"; then
AC_MSG_ERROR([need to --disable-ext-mariadb-connector - mariadb/mysql support.]) AC_MSG_ERROR([need to --disable-ext-mariadb-connector - mariadb/mysql support.])
fi fi
if test -n "$ENABLE_PDFIMPORT"; then if test -n "$ENABLE_PDFIMPORT"; then
if test "x$SYSTEM_POPPLER" != "xNO"; then if test "x$SYSTEM_POPPLER" != "x"; then
AC_MSG_ERROR([need to disable PDF import via poppler or use system library]) AC_MSG_ERROR([need to disable PDF import via poppler or use system library])
fi fi
fi fi
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
$(eval $(call gb_Module_Module,poppler)) $(eval $(call gb_Module_Module,poppler))
ifeq ($(SYSTEM_POPPLER),NO) ifeq ($(SYSTEM_POPPLER),)
$(eval $(call gb_Module_add_targets,poppler,\ $(eval $(call gb_Module_add_targets,poppler,\
ExternalProject_poppler \ ExternalProject_poppler \
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# #
ifeq ($(ENABLE_REPORTBUILDER),TRUE) ifeq ($(ENABLE_REPORTBUILDER),TRUE)
ifneq ($(SYSTEM_JFREEREPORT),YES) ifeq ($(SYSTEM_JFREEREPORT),)
include $(SRCDIR)/external/jfreereport/version.mk include $(SRCDIR)/external/jfreereport/version.mk
endif endif
endif endif
...@@ -134,7 +134,7 @@ $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\ ...@@ -134,7 +134,7 @@ $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
)) ))
endif endif
ifneq ($(SYSTEM_JFREEREPORT),YES) ifeq ($(SYSTEM_JFREEREPORT),)
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\ $(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
-DFLUTE_VERSION=$(FLUTE_VERSION) \ -DFLUTE_VERSION=$(FLUTE_VERSION) \
......
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