OSDN Git Service

resolver: add a dependencies for DNS resolver feature
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Thu, 27 Oct 2011 10:48:31 +0000 (12:48 +0200)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Thu, 27 Oct 2011 10:48:31 +0000 (12:48 +0200)
DNS resolver needs at least IPV4 or IPV6 support enabled
to be correctly built. Add such dependency.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
extra/Configs/Config.in

index 1e96806..d1b3cb2 100644 (file)
@@ -1291,6 +1291,7 @@ config UCLIBC_HAS_EXTRA_COMPAT_RES_STATE
 config UCLIBC_HAS_RESOLVER_SUPPORT
        bool "DNS resolver functions"
        select UCLIBC_HAS_COMPAT_RES_STATE
+       depends on UCLIBC_HAS_IPV4 || UCLIBC_HAS_IPV6
        help
          Provide implementations for DNS resolver functions.
          In particular, the following functions will be added to the