aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-06 03:50:53 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-06 03:50:53 +0800
commit87dfafd83f4328dc2f9fc43d150839d4320bceb4 (patch)
tree057086bdbef7d6ade2c354b4fd46f633cc0b338e /configure.in
parent2c5db3833f89c08d1d311521bb97da50cc1808e0 (diff)
downloadgsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.tar
gsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.tar.gz
gsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.tar.bz2
gsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.tar.lz
gsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.tar.xz
gsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.tar.zst
gsoc2013-evolution-87dfafd83f4328dc2f9fc43d150839d4320bceb4.zip
Add e-util libs
2004-01-05 JP Rosevear <jpr@ximian.com> * tools/Makefile.am: Add e-util libs * configure.in: try compiling with sys/types for freebsd (Joe Marcus Clarke <marcus@freebsd.org>) svn path=/trunk/; revision=24056
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2f238659b4..7f7c060203 100644
--- a/configure.in
+++ b/configure.in
@@ -65,10 +65,12 @@ AC_CHECK_HEADERS(alloca.h)
dnl check for socklen_t (in Unix98)
AC_MSG_CHECKING(for socklen_t)
-AC_TRY_COMPILE([#include <sys/socket.h>
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/socket.h>
socklen_t x;
],[],[AC_MSG_RESULT(yes)],[
-AC_TRY_COMPILE([#include <sys/socket.h>
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/socket.h>
int accept (int, struct sockaddr *, size_t *);
],[],[
AC_MSG_RESULT(size_t)