inet: build all res_* and ns_* functions conditionally
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 <70806a71956ed8873ecff8522779dae1401a1b4a@gmail.com>

brgl/uclibc-ng,brgl/uclibc-ng,kraj/uclibc-ng,wbx-github/uclibc-ng,kraj/uclibc-ng,mephi42/uClibc,kraj/uClibc,waweber/uclibc-clang,foss-for-synopsys-dwc-arc-processors/uClibc,atgreen/uClibc-moxie,waweber/uclibc-clang,brgl/uclibc-ng,foss-xtensa/uClibc,groundwater/uClibc,groundwater/uClibc,kraj/uclibc-ng,hjl-tools/uClibc,ndmsystems/uClibc,skristiansson/uClibc-or1k,hwoarang/uClibc,foss-xtensa/uClibc,wbx-github/uclibc-ng,groundwater/uClibc,majek/uclibc-vx32,wbx-github/uclibc-ng,hjl-tools/uClibc,kraj/uClibc,majek/uclibc-vx32,mephi42/uClibc,hwoarang/uClibc,ddcc/klee-uclibc-0.9.33.2,atgreen/uClibc-moxie,mephi42/uClibc,kraj/uclibc-ng,hjl-tools/uClibc,majek/uclibc-vx32,ffainelli/uClibc,skristiansson/uClibc-or1k,czankel/xtensa-uclibc,atgreen/uClibc-moxie,ddcc/klee-uclibc-0.9.33.2,foss-xtensa/uClibc,ffainelli/uClibc,kraj/uClibc,atgreen/uClibc-moxie,ffainelli/uClibc,ddcc/klee-uclibc-0.9.33.2,czankel/xtensa-uclibc,brgl/uclibc-ng,czankel/xtensa-uclibc,wbx-github/uclibc-ng,ffainelli/uClibc,skristiansson/uClibc-or1k,foss-for-synopsys-dwc-arc-processors/uClibc,ffainelli/uClibc,ndmsystems/uClibc,czankel/xtensa-uclibc,mephi42/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,ndmsystems/uClibc,kraj/uClibc,hjl-tools/uClibc,hwoarang/uClibc,groundwater/uClibc,waweber/uclibc-clang,skristiansson/uClibc-or1k,foss-for-synopsys-dwc-arc-processors/uClibc,foss-xtensa/uClibc,waweber/uclibc-clang,ndmsystems/uClibc,hwoarang/uClibc,ddcc/klee-uclibc-0.9.33.2,majek/uclibc-vx32,groundwater/uClibc,hjl-tools/uClibc