]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
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 879d0255a645a75167c91af8cccb658de6c9cc00..22f28fe5ada9d3e6187c6778ab9d55f6943139d2 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 59db783c76d130391269bbd7c02e68ca9da26c8c..71f656cf3ef0fdc726fba2cfd3d2d5977604960b 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