-
Notifications
You must be signed in to change notification settings - Fork 52
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 correctly if resolv.h requires some other header files #203
Comments
futatuki
changed the title
configure.ac: configure script does not detect res_ninit correctly if resolv.h requires some other headerfiles
configure.ac: configure script does not detect res_ninit correctly if resolv.h requires some other header files
Mar 8, 2024
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Mar 8, 2024
…s needed by resolve.conf before use it
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Mar 8, 2024
…s needed by resolve.h before use it
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Mar 9, 2024
…s needed by resolve.h before use it
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Mar 9, 2024
…s needed by resolve.h before use it
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Mar 11, 2024
…ix-configure.ac
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Mar 11, 2024
PR trusteddomainproject#171, trusteddomainproject#192, and trusteddomainproject#203 contains changes in configure.ac, however they were not always reflect their changes into configure. So rebuild it here.
futatuki
added a commit
to futatuki/OpenDKIM
that referenced
this issue
Apr 26, 2024
…ix-configure.ac Fix issue trusteddomainproject#203: configure.ac: Properly include headers needed by resolve.h before use it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On FreeBSD 14.0, after
./configure
,./config.log
shows:This is caused by the configure.ac line 110-113 where use
resolv.h
in check for res_ninit before checking headers required byresolv.h
.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 usingresolv.h
but hasres_ninit()
function, the check would be failed.Note: In FreeBSD,
res_setservers()
is also in libc as__res_setservers
andres_setservers
is a macro inresolv.h
. So it is need the same technique in the case ofres_ninit
if we want to detect it. However there are PR #99 and issue #199 mentioned aboutres_setservers
, so I don't think we don't need to fix in the caseres_setservers
.The text was updated successfully, but these errors were encountered: