aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2007-12-26 14:37:09 +0000
committerMatthias Andree <matthias.andree@gmx.de>2007-12-26 14:37:09 +0000
commite7189017e19dd5162f40a91050a730c5de982d9a (patch)
tree678ce6efc0e26688e0686d8dbe7bab7a3fcb9b77 /m4
parentd723cc008d7793334260e6ac0d7412ce13e1cf29 (diff)
downloadfetchmail-e7189017e19dd5162f40a91050a730c5de982d9a.tar.gz
fetchmail-e7189017e19dd5162f40a91050a730c5de982d9a.tar.bz2
fetchmail-e7189017e19dd5162f40a91050a730c5de982d9a.zip
Merge portability patch from Peter O'Gorman, fetchmail-devel 2007-10-31.
This requires some minor fixes though. svn path=/branches/BRANCH_6-3/; revision=5145
Diffstat (limited to 'm4')
-rw-r--r--m4/gethostbyname_r.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/gethostbyname_r.m4 b/m4/gethostbyname_r.m4
index 18fb325d..94f36dba 100644
--- a/m4/gethostbyname_r.m4
+++ b/m4/gethostbyname_r.m4
@@ -17,7 +17,7 @@ dnl
AC_DEFUN([ACX_WHICH_GETHOSTBYNAME_R],
[AC_CACHE_CHECK(number of arguments to gethostbyname_r,
acx_which_gethostbyname_r, [
- AC_TRY_COMPILE([
+ AC_TRY_LINK([
# include <netdb.h>
], [
@@ -29,7 +29,7 @@ AC_DEFUN([ACX_WHICH_GETHOSTBYNAME_R],
],acx_which_gethostbyname_r=3,
[
dnl acx_which_gethostbyname_r=0
- AC_TRY_COMPILE([
+ AC_TRY_LINK([
# include <netdb.h>
], [
char *name;
@@ -42,7 +42,7 @@ dnl acx_which_gethostbyname_r=0
[
dnl acx_which_gethostbyname_r=0
- AC_TRY_COMPILE([
+ AC_TRY_LINK([
# include <netdb.h>
], [
char *name;