--- configure.in.~1.268.2.4.~ 2006-03-28 09:52:36.000000000 +1100 +++ configure.in 2006-03-30 08:16:14.000000000 +1100 @@ -515,9 +515,6 @@ AC_SUBST([SCM_I_GSC_NEEDS_STDINT_H]) AC_SUBST([SCM_I_GSC_NEEDS_INTTYPES_H]) -AC_CHECK_TYPE(socklen_t, int) -AC_CHECK_TYPE(struct ip_mreq) - AC_HEADER_STDC AC_HEADER_DIRENT AC_HEADER_TIME @@ -532,6 +529,16 @@ sys/utime.h time.h unistd.h utime.h pwd.h grp.h sys/utsname.h \ direct.h]) +AC_CHECK_TYPE(socklen_t, , + [AC_DEFINE_UNQUOTED(socklen_t, int, + [Define to `int' if does not define.])], + [#if HAVE_SYS_TYPES_H +#include +#endif +#include +]) +AC_CHECK_TYPE(struct ip_mreq) + GUILE_HEADER_LIBC_WITH_UNISTD AC_TYPE_GETGROUPS