changeset 2163:f47ff201c53c

[gaim-migrate @ 2173] this should work much better. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 24 Aug 2001 04:56:13 +0000
parents a464da684307
children 1eaf7f02f77e
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Aug 24 01:36:05 2001 +0000
+++ b/configure.ac	Fri Aug 24 04:56:13 2001 +0000
@@ -33,7 +33,7 @@
 AC_FUNC_STRFTIME
 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo)
 AC_TRY_COMPILE([#include <sys/types.h>
-#include <sys/socket.h>], typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),)
+#include <sys/socket.h>], [socklen_t slen;],,[AC_DEFINE(NEED_SOCKLEN_T)])
 
 dnl Checks for getopt in standard library
 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )