summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-04-24 14:52:46 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-04-24 16:21:40 +0100
commitcb33ae88e000fb6c662ecf31a621a73223dfd081 (patch)
tree1a45217a3a461ed2e9d757fe44c15c1bb5a91e8a /config_host
parent15bbafaaed52182e80f1a24d716a2d181cdc0e17 (diff)
extend license filtering, and add fallback-checks.
Change-Id: Ia1ec3564326cf898d756c231a64a54db8698bf20
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_lgpl.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config_host/config_lgpl.h.in b/config_host/config_lgpl.h.in
new file mode 100644
index 000000000000..f81b33768df1
--- /dev/null
+++ b/config_host/config_lgpl.h.in
@@ -0,0 +1,14 @@
+/*
+ * Include this file to ensure that this code is not
+ * compiled into the MPL subset.
+ */
+#ifndef CONFIG_LGPL_H
+#define CONFIG_LGPL_H
+
+#define MPL_HAVE_SUBSET 0
+
+#if MPL_HAVE_SUBSET
+# error "Attempting to compile LGPL code into MPL subset"
+#endif
+
+#endif