From 6cd0fa58076b3827d780db6afb9c9db5d041d5b6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 30 Apr 2005 14:39:21 +0000 Subject: [PATCH] Added DNS resolver configuration option. --- src/config.h | 10 ++++++++++ src/core/config.c | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/src/config.h b/src/config.h index 879d0255..22f28fe5 100644 --- a/src/config.h +++ b/src/config.h @@ -64,6 +64,16 @@ /* @END isa.h */ +/* @BEGIN general.h + * + * Name resolution modules + * + */ + +#define DNS_RESOLVER /* DNS resolver */ + +/* @END general.h */ + /* @BEGIN general.h * * Obscure configuration options diff --git a/src/core/config.c b/src/core/config.c index 59db783c..71f656cf 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -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