Bugzilla – Attachment 630 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]
look for res_query using compilation test
configure.diff (text/plain), 772 bytes, created by
Colin Watson
on 2004-05-12 07:05:06 AEST
(
hide
)
Description:
look for res_query using compilation test
Filename:
MIME Type:
Creator:
Colin Watson
Created:
2004-05-12 07:05:06 AEST
Size:
772 bytes
patch
obsolete
>--- configure.ac.old 2004-04-05 19:52:04.000000000 +0200 >+++ configure.ac 2004-04-06 22:02:15.277575169 +0200 >@@ -2054,8 +2054,21 @@ > [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