configure.ac: clean up checks for mDNS library

Closes #35.
2 jobs for LIBDMAPSHARING_3_0 in 4 minutes and 8 seconds
Status Job ID Name Coverage
  Test
passed #797086
build-fedora

00:04:07

passed #797085
build-ubuntu

00:03:08