From ce76bedb0fa8b9cd524a7cef2ce0ff1bdf77b87b Mon Sep 17 00:00:00 2001 From: Debian LibreOffice Maintainers Date: Mon, 28 Nov 2022 17:32:19 +0000 Subject: [PATCH] cppunit-optional Gbp-Pq: Name cppunit-optional.diff --- Repository.mk | 4 ++++ config_host.mk.in | 1 + configure.ac | Bin 533433 -> 533694 bytes sal/Module_sal.mk | 7 ++++++- sdext/Executable_pdf2xml.mk | 12 ++++++++++-- smoketest/Module_smoketest.mk | 6 ++++++ test/Module_test.mk | 2 ++ testtools/Module_testtools.mk | 4 ++++ unotest/Module_unotest.mk | 2 ++ 9 files changed, 35 insertions(+), 3 deletions(-) diff --git a/Repository.mk b/Repository.mk index fc8819193fa..c8e668b7cbb 100644 --- a/Repository.mk +++ b/Repository.mk @@ -861,8 +861,12 @@ endif # 'test_unittest' is only package delivering to workdir. # Other packages could be potentially autoinstalled. +ifeq ($(ENABLE_CPPUNIT),TRUE) $(eval $(call gb_Helper_register_packages, \ test_unittest \ +)) +endif +$(eval $(call gb_Helper_register_packages, \ cli_basetypes_copy \ extras_wordbook \ instsetoo_native_setup \ diff --git a/config_host.mk.in b/config_host.mk.in index 1eb649667b6..18db2b69081 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -151,6 +151,7 @@ export ENABLE_COINMP=@ENABLE_COINMP@ export SYSTEM_COINMP=@SYSTEM_COINMP@ export COINMP_CFLAGS=@COINMP_CFLAGS@ export COINMP_LIBS=@COINMP_LIBS@ +export ENABLE_CPPUNIT=@ENABLE_CPPUNIT@ export ENABLE_CUPS=@ENABLE_CUPS@ export ENABLE_CURL=@ENABLE_CURL@ export ENABLE_DBGUTIL=@ENABLE_DBGUTIL@ diff --git a/configure.ac b/configure.ac index ae337e7b65ec28ad689d90d0c3ba170da6b13205..38a5ba2df37cbe6074ba82176c72b5247cb33c91 100644 GIT binary patch delta 251 zcmdmaTw&iyg@!GRTIp=b1qG#fnbQ}VGRkJTuKd|cz50|G+*JVR_lf