diff configure.in @ 932:13bdc97d433e

[gaim-migrate @ 942] bah. hopefully this will help people who aren't POSIX compliant. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 21 Sep 2000 00:45:30 +0000
parents 12407c6b3eb7
children b6d0a7105780
line wrap: on
line diff
--- a/configure.in	Wed Sep 20 23:35:17 2000 +0000
+++ b/configure.in	Thu Sep 21 00:45:30 2000 +0000
@@ -8,6 +8,7 @@
 AC_PROG_CC
 AC_PROG_INSTALL
 
+
 ALL_LINGUAS="de fr es zh_CN ko"
 AM_GNU_GETTEXT
 
@@ -28,6 +29,7 @@
 AC_TYPE_SIGNAL
 AC_FUNC_STRFTIME
 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo)
+AC_TRY_COMPILE(sys/socket.h, typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),)
 
 dnl This is a bad, bad hack.  I am a bad, bad man.
 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../"