2003-12-10 Tambet Ingo <tambet@ximian.com>
* configure.in: Use autoconfig to check for socklen_t ...
* libsoup/soup-address.c: ... and remove it from here ...
* libsoup/soup-dns.c: ... and here.
+2003-12-10 Tambet Ingo <tambet@ximian.com>
+
+ * configure.in: Use autoconfig to check for socklen_t ...
+
+ * libsoup/soup-address.c: ... and remove it from here ...
+
+ * libsoup/soup-dns.c: ... and here.
+
2003-12-09 Rodrigo Moya <rodrigo@ximian.com>
* libsoup/soup-soap-message.c (soup_soap_message_persist):
AC_SUBST(XML_CFLAGS)
AC_SUBST(XML_LIBS)
+dnl *******************
+dnl *** Type checks ***
+dnl *******************
+
+AC_CHECK_TYPE(socklen_t, size_t)
+
dnl *********************************
dnl *** Networking library checks ***
dnl *********************************
#include <config.h>
#endif
+#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include "soup-marshal.h"
#include "soup-misc.h"
-#include <unistd.h>
-#ifndef socklen_t
-# define socklen_t size_t
-#endif
-
#ifndef INET_ADDRSTRLEN
# define INET_ADDRSTRLEN 16
# define INET6_ADDRSTRLEN 46
#include "soup-dns.h"
#include "soup-misc.h"
-#ifndef socklen_t
-# define socklen_t int
-#endif
-
#ifndef INET_ADDRSTRLEN
# define INET_ADDRSTRLEN 16
# define INET6_ADDRSTRLEN 46