From 9ecac3874d179b1d7aa6b45337001b1def06a9dd Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 21 Oct 2014 23:21:37 +0300 Subject: Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTING Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7 --- sc/CppunitTest_sc_outlineobj.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/CppunitTest_sc_outlineobj.mk') diff --git a/sc/CppunitTest_sc_outlineobj.mk b/sc/CppunitTest_sc_outlineobj.mk index 06c401a5a37e..3bf08697efeb 100644 --- a/sc/CppunitTest_sc_outlineobj.mk +++ b/sc/CppunitTest_sc_outlineobj.mk @@ -87,7 +87,7 @@ $(eval $(call gb_CppunitTest_use_components,sc_outlineobj,\ sc/util/sc \ sc/util/scd \ sc/util/scfilt \ - $(if $(filter TRUE,$(DISABLE_SCRIPTING)),, \ + $(call gb_Helper_optional,SCRIPTING, \ sc/util/vbaobj) \ sfx2/util/sfx \ sot/util/sot \ -- cgit v1.2.3