aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-27 04:02:39 +0800
committerDan Winship <danw@src.gnome.org>2001-04-27 04:02:39 +0800
commitac59d9fb458452daf75d535c638cab17e6f17fe5 (patch)
tree090b0047554a4f5bd5745c88f81911aa8bcf4c19 /configure.in
parent84e075645b9013f6c0f8200ebddee10b1904936a (diff)
downloadgsoc2013-evolution-ac59d9fb458452daf75d535c638cab17e6f17fe5.tar.gz
gsoc2013-evolution-ac59d9fb458452daf75d535c638cab17e6f17fe5.tar.zst
gsoc2013-evolution-ac59d9fb458452daf75d535c638cab17e6f17fe5.zip
Check for gethostbyname_r so e_gethostbyname_r will DTRT.
* configure.in: Check for gethostbyname_r so e_gethostbyname_r will DTRT. svn path=/trunk/; revision=9591
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 5e8fa126e8..3f7135c1d2 100644
--- a/configure.in
+++ b/configure.in
@@ -154,6 +154,7 @@ dnl **************************************************
dnl gethostbyname_r prototype
dnl **************************************************
+AC_CHECK_FUNCS(gethostbyname_r,[
AC_CACHE_CHECK([if gethostbyname_r wants five arguments], ac_cv_gethostbyname_r_five_args,
[
AC_TRY_COMPILE([
@@ -176,7 +177,7 @@ AC_CACHE_CHECK([if gethostbyname_r wants five arguments], ac_cv_gethostbyname_r_
],[
ac_cv_gethostbyname_r_five_args=no
])
-])
+])])
if test x"$ac_cv_gethostbyname_r_five_args" = xyes ; then
AC_DEFINE(GETHOSTBYNAME_R_FIVE_ARGS)