2010-10-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Fixed compiler warning when checking c-ares version.
	* m4/libcares.m4
pull/1/head
Tatsuhiro Tsujikawa 2010-10-28 13:32:28 +00:00
parent 17a0a5baad
commit 59bc2a7da7
3 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-10-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compiler warning when checking c-ares version.
* m4/libcares.m4
2010-10-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused variable r.

3
configure vendored
View File

@ -7089,8 +7089,7 @@ int
main ()
{
ares_channel channel;
ares_gethostbyname(channel, "foo", 0, callback, 0);
ares_gethostbyname((ares_channel)0, "foo", 0, callback, 0);
;
return 0;

View File

@ -34,8 +34,7 @@ if test "x$have_libcares" = "xyes"; then
void callback(void* arg, int status, int timeouts, struct hostent* host);
]],
[[
ares_channel channel;
ares_gethostbyname(channel, "foo", 0, callback, 0);
ares_gethostbyname((ares_channel)0, "foo", 0, callback, 0);
]])],
[have_libcares1_5=yes],
[have_libcares1_5=no])