Tried that already. The problem is that the configure scripts I've come across expect the version to be at the end:
ldd (GNU libc) 2.26
which gives 2.26, versus
GNU C Library (GNU libc) stable release version 2.26, by Roland McGrath et al.
which gives "al." when then breaks the math. Besides, it's how the full ldd GNU script does it so it seems they change it for every glibc update. How about this instead? A little long but it does the job:
--version) echo "ldd (GNU libc)" $(ls /lib/libc-*.so | sed -e 's/^.*-//' -e 's/\.so//')
break
;;
I believe having dnet allows the guest to know if the host's network is disconnected, which might be desirable in some cases. Using TI-RPC it does compile, so I'm going to go with that for now, and add it as a dependency.