While wdns does provide a pkg-config .pc file, it doesn't use any pkg-config files to build. The configure.ac checks for the pkg-config so it can guess a path for installing its wdns.pc file but if doesn't exist it aborts (AC_MSG_ERROR([pkg-config is required!])).
It should not abort. The default standard is fine. My suggestion is to just remove the else there.
Two other related also minor issues:
uses grep -q which is not portable (well some autoconf-family code may use it and some doesn't)
configure --help shows default path for the pkg-cpnfig but not true for most systems:
While wdns does provide a pkg-config .pc file, it doesn't use any pkg-config files to build. The configure.ac checks for the pkg-config so it can guess a path for installing its wdns.pc file but if doesn't exist it aborts (AC_MSG_ERROR([pkg-config is required!])).
It should not abort. The default standard is fine. My suggestion is to just remove the else there.
Two other related also minor issues:
uses grep -q which is not portable (well some autoconf-family code may use it and some doesn't)
configure --help shows default path for the pkg-cpnfig but not true for most systems:
--with-pkgconfigdir pkg-config installation directory ['${prefix}/libdata/pkgconfig']
For most systems it is ${prefix}/lib/pkgconfig.
That second problem is probably copy-and-pasted from libmy. The third problem is a file included from libmy.