diff options
-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) |