diff options
author | Dan Winship <danw@src.gnome.org> | 2001-04-27 04:02:39 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-04-27 04:02:39 +0800 |
commit | ac59d9fb458452daf75d535c638cab17e6f17fe5 (patch) | |
tree | 090b0047554a4f5bd5745c88f81911aa8bcf4c19 | |
parent | 84e075645b9013f6c0f8200ebddee10b1904936a (diff) | |
download | gsoc2013-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
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,9 @@ and libs from all CFLAGS and LIBS variables. Add GAL_LIBS for things that need to depend on just gal (for gunicode). + * configure.in: Check for gethostbyname_r so e_gethostbyname_r + will DTRT. + 2001-04-24 Dan Winship <danw@ximian.com> * configure.in: Bump up the gal requirement 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) |