Bugzilla – Attachment 631 Details for
Bug 867
configure fails to find res_query/dn_expand on Linux amd64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check for res_query in libc before searching libresolv
openssh-res_query.patch (text/plain), 1.04 KB, created by
Darren Tucker
on 2004-05-12 10:19:57 AEST
(
hide
)
Description:
Check for res_query in libc before searching libresolv
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-05-12 10:19:57 AEST
Size:
1.04 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.216 >diff -u -p -r1.216 configure.ac >--- configure.ac 23 Apr 2004 08:53:10 -0000 1.216 >+++ configure.ac 12 May 2004 00:17:36 -0000 >@@ -2154,8 +2154,24 @@ AC_SEARCH_LIBS(getrrsetbyname, resolv, > [AC_DEFINE(HAVE_GETRRSETBYNAME)], > [ > # Needed by our getrrsetbyname() >- AC_SEARCH_LIBS(res_query, resolv) >- AC_SEARCH_LIBS(dn_expand, resolv) >+ AC_MSG_CHECKING(for res_query) >+ AC_TRY_LINK_FUNC(res_query, AC_MSG_RESULT(yes), >+ [AC_MSG_RESULT(no) >+ saved_LIBS="$LIBS" >+ LIBS="$LIBS -lresolv" >+ AC_MSG_CHECKING(for res_query in -lresolv) >+ AC_LINK_IFELSE([[ >+#include <resolv.h> >+int main() >+{ >+ res_query (0, 0, 0, 0, 0); >+ return 0; >+}]], >+ [LIBS="$LIBS -lresolv" >+ AC_MSG_RESULT(yes)], >+ [LIBS="$saved_LIBS" >+ AC_MSG_RESULT(no)]) >+ ]) > AC_CHECK_FUNCS(_getshort _getlong) > AC_CHECK_MEMBER(HEADER.ad, > [AC_DEFINE(HAVE_HEADER_AD)],,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 867
:
630
|
631
|
633