summaryrefslogtreecommitdiffstats
path: root/config_host/config_options.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config_host/config_options.h.in')
-rw-r--r--config_host/config_options.h.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/config_host/config_options.h.in b/config_host/config_options.h.in
new file mode 100644
index 000000000..37f044f1b
--- /dev/null
+++ b/config_host/config_options.h.in
@@ -0,0 +1,26 @@
+/*
+ * General configuration settings for various options.
+ */
+
+#ifndef CONFIG_OPTIONS_H
+#define CONFIG_OPTIONS_H
+
+#define ENABLE_MERGELIBS 0
+
+#define ENABLE_RUNTIME_OPTIMIZATIONS 0
+
+// Used to turn off visibility for some classes/symbols when linking with --enable-mergelibs
+//
+#if ENABLE_MERGELIBS
+#define UNLESS_MERGELIBS(x)
+#else
+#define UNLESS_MERGELIBS(x) x
+#endif
+#if ENABLE_MERGELIBS
+#define IF_MERGELIBS(x) x
+#else
+#define IF_MERGELIBS(x)
+#endif
+
+
+#endif