Added DNS resolver configuration option.
authorMichael Brown <mcb30@etherboot.org>
Sat, 30 Apr 2005 14:39:21 +0000 (14:39 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 30 Apr 2005 14:39:21 +0000 (14:39 +0000)
src/config.h
src/core/config.c

index 879d025..22f28fe 100644 (file)
 
 /* @END isa.h */
 
+/* @BEGIN general.h
+ *
+ * Name resolution modules
+ *
+ */
+
+#define        DNS_RESOLVER            /* DNS resolver */
+
+/* @END general.h */
+
 /* @BEGIN general.h
  *
  * Obscure configuration options
index 59db783..71f656c 100644 (file)
@@ -169,3 +169,11 @@ REQUIRE_OBJECT ( pc_kbd );
 #ifdef RELOCATE
 REQUIRE_OBJECT ( relocate );
 #endif
+
+/*
+ * Drag in any required resolvers
+ *
+ */
+#ifdef DNS_RESOLVER
+REQUIRE_OBJECT ( dns_resolver );
+#endif