configure.ac: clean up checks for mDNS library

Closes #35.
2 jobs for master in 9 minutes and 54 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #797070
build-fedora

00:06:43

passed #797069
build-ubuntu

00:09:54