Browse Source

Select required commands via config.h

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
ec5789bf0c
2 changed files with 17 additions and 0 deletions
  1. 9
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 9
- 0
src/config.h View File

@@ -110,6 +110,15 @@
110 110
 
111 111
 /* @END general.h */ 
112 112
 
113
+/* @BEGIN general.h
114
+ *
115
+ * Command-line commands to include
116
+ *
117
+ */
118
+#define	NVO_CMD			/* Non-volatile option storage commands */
119
+
120
+/* @END general.h */ 
121
+
113 122
 /* @BEGIN general.h
114 123
  *
115 124
  * Obscure configuration options

+ 8
- 0
src/core/config.c View File

@@ -139,6 +139,14 @@ REQUIRE_OBJECT ( wince );
139 139
 REQUIRE_OBJECT ( pxe );
140 140
 #endif
141 141
 
142
+/*
143
+ * Drag in all requested commands
144
+ *
145
+ */
146
+#ifdef NVO_CMD
147
+REQUIRE_OBJECT ( nvo_cmd );
148
+#endif
149
+
142 150
 /*
143 151
  * Drag in miscellaneous objects
144 152
  *

Loading…
Cancel
Save