trusteddomainproject / OpenDMARC

This is the Trusted Domain Project's impementation of the DMARC protocol libary and mail filter, called OpenDMARC. A "milter" connects to unix-based mailers (originally, sendmail, but now many) and provides a standard filtering API.
Other
100 stars 53 forks source link

configure.ac: configure script does not detect res_ninit and res_ndestroy correctly if resolv.h requires some other header files #257

Open futatuki opened 6 months ago

futatuki commented 6 months ago

Although the configure.ac checks the header files needed by resolv.h check functions for res_ninit and res_ndestroy does not include them before use resolv.h

This can cause some errors in configure script like issue #203 in trusteddomainproject/OpenDKIM.

With glibc, resolv.h itself contains all declarations for the function, so it is not affected. However in all other platform which requires some other headers for using resolv.h but has res_ninit() and/or res_ndestroy function, the check would be failed.