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
 
110
 
111
 /* @END general.h */ 
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
 /* @BEGIN general.h
122
 /* @BEGIN general.h
114
  *
123
  *
115
  * Obscure configuration options
124
  * Obscure configuration options

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

139
 REQUIRE_OBJECT ( pxe );
139
 REQUIRE_OBJECT ( pxe );
140
 #endif
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
  * Drag in miscellaneous objects
151
  * Drag in miscellaneous objects
144
  *
152
  *

Loading…
Cancel
Save