src/config.h.in
branchnew_graphics
changeset 417 c503e0c6a740
parent 397 13fa0546ef87
child 432 82b0f4e55a13
--- a/src/config.h.in	Thu Jan 22 00:28:26 2009 +0200
+++ b/src/config.h.in	Thu Jan 22 01:53:05 2009 +0200
@@ -13,5 +13,17 @@
  */
 extern const char *PROJECT_VERSION, *PROJECT_BUILD_TIMESTAMP;
 
+/**
+ * Provide possibility to compile without graphics code.
+ *
+ * Defined as a boolean value (so use #if GRAPHICS_ENABLED / if (GRAPHICS_ENABLED) )
+ */
+#define GRAPHICS_ENABLED @GRAPHICS_ENABLED@
+
+/**
+ * Provide possibility to compile without network code.
+ */
+#define NETWORK_ENABLED @NETWORK_ENABLED@
+
 #endif