diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 08:31:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 08:31:48 +0000 |
commit | 4969ca768d08bfd5ad5d81ab1dc9ad962ea5bbe6 (patch) | |
tree | 55f256e875d0897b06fbfa1c894e0f4116e89e50 /ares/acinclude.m4 | |
parent | 2acd1c1642700d7a690d7b2654ad912bd5049728 (diff) |
Alexander Lazic improved the getservbyport_r() configure check.
Diffstat (limited to 'ares/acinclude.m4')
-rw-r--r-- | ares/acinclude.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4 index 729c8b281..64804dc95 100644 --- a/ares/acinclude.m4 +++ b/ares/acinclude.m4 @@ -782,7 +782,7 @@ AC_DEFUN([CARES_CHECK_CONSTANT], [ dnl This macro determines how many parameters getservbyport_r takes AC_DEFUN([CARES_CHECK_GETSERVBYPORT_R], [ AC_MSG_CHECKING([how many arguments getservbyport_r takes]) - AC_TRY_COMPILE( + AC_TRY_LINK( [#include <netdb.h>], [ int p1, p5; @@ -790,7 +790,7 @@ AC_DEFUN([CARES_CHECK_GETSERVBYPORT_R], [ struct servent *p3, *p6; getservbyport_r(p1, p2, p3, p4, p5, &p6); ], ac_func_getservbyport_r=6, - [AC_TRY_COMPILE( + [AC_TRY_LINK( [#include <netdb.h>], [ int p1, p5; @@ -798,7 +798,7 @@ AC_DEFUN([CARES_CHECK_GETSERVBYPORT_R], [ struct servent *p3; getservbyport_r(p1, p2, p3, p4, p5); ], ac_func_getservbyport_r=5, - [AC_TRY_COMPILE( + [AC_TRY_LINK( [#include <netdb.h>], [ int p1; |