Skip to content

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

@futatuki

Description

@futatuki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions