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 --- config_host/config_features.h.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config_host/config_features.h.in') diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in index 04dc7ba520f8..74ce2347c6b1 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -64,6 +64,16 @@ #define HAVE_FEATURE_EXTENSIONS 0 +/* SCRIPTING - Whether we have any mechanism to execute user-provided scripts + * + * Primarily intended for the iOS App Store where the + * rules prohibit user-accessible scripting features. + * Sure, it would be nice to still be able to have internal features + * implemented in some scripting language. Later, if necessary. + */ + +#define HAVE_FEATURE_SCRIPTING 0 + /* MULTIUSER_ENVIRONMENT - Wheter running on a "normal" multi-user * desktop (or server) OS * -- cgit v1.2.3