OSDN Git Service

inet: build all res_* and ns_* functions conditionally
authorDaniel Mack <zonque@gmail.com>
Tue, 12 Jul 2011 22:30:56 +0000 (00:30 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 26 Aug 2011 07:29:54 +0000 (09:29 +0200)
commit120d4100b5a4ba3a48ff700c0bdb6ae1d0b01f83
treed5a001091d6f3c7c7777f658eb5978f450aac867
parent77fbcc8440c28ea30ebf5a38c7be1d0c7b080772
inet: build all res_* and ns_* functions conditionally

This patch changes the build system so that all DNS resolver related
functions (ie, those starting with dn_, ns_ and res_) are only built if
UCLIBC_HAS_RESOLVER_SUPPORT is set. This means that the libc will lack
support for things that existed in the library before unless this new
config option is set. On the other hand, if users really need support
for resolver functions, they now get a more complete set, and the
library is smaller than before it is deselected.

Signed-off-by: Daniel Mack <zonque@gmail.com>
libc/inet/Makefile.in