summaryrefslogtreecommitdiff
path: root/config_host/config_features.h.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-21 23:21:37 +0300
committerTor Lillqvist <tml@collabora.com>2014-10-22 09:30:23 +0300
commit9ecac3874d179b1d7aa6b45337001b1def06a9dd (patch)
tree120fc40fda1055a0f504e60c553b5734030d2741 /config_host/config_features.h.in
parentd0be09322d127e7d517851db38c764d57fbab2dc (diff)
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
Diffstat (limited to 'config_host/config_features.h.in')
-rw-r--r--config_host/config_features.h.in10
1 files changed, 10 insertions, 0 deletions
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
*