Bugzilla – Attachment 633 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]
Keep AC_SEARCH_LIBS too.
openssh-res_query.patch (text/plain), 1.01 KB, created by
Darren Tucker
on 2004-05-12 12:16:46 AEST
(
hide
)
Description:
Keep AC_SEARCH_LIBS too.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-05-12 12:16:46 AEST
Size:
1.01 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 01:53:51 -0000 >@@ -2156,6 +2156,24 @@ AC_SEARCH_LIBS(getrrsetbyname, resolv, > # Needed by our getrrsetbyname() > AC_SEARCH_LIBS(res_query, resolv) > AC_SEARCH_LIBS(dn_expand, resolv) >+ AC_MSG_CHECKING(if res_query will link) >+ 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