Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Mar 9, 2024 · 0 comments

Comments

@futatuki
Copy link

futatuki commented Mar 9, 2024

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.

futatuki added a commit to futatuki/OpenDMARC that referenced this issue Mar 9, 2024
Adadov pushed a commit to Adadov/OpenDMARC that referenced this issue Jun 18, 2024
…s required by resolv.h

before use it

(cherry picked from commit f946ec9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant