Procházet zdrojové kódy

Select required commands via config.h

tags/v0.9.3
Michael Brown před 17 roky
rodič
revize
ec5789bf0c
2 změnil soubory, kde provedl 17 přidání a 0 odebrání
  1. 9
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 9
- 0
src/config.h Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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
  *

Načítá se…
Zrušit
Uložit