From 82db9143caf33d4ec439096361d187f4e4020678 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 2 Nov 2007 23:22:11 +0000 Subject: [PATCH] * Look for connect(). --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c6a9a0e..f785089 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,7 @@ case "${host_os}" in ac_cv_func_socket=yes ac_cv_func_accept=yes ac_cv_func_bind=yes + ac_cv_func_connect=yes ;; esac AC_SUBST(WINSOCK2_LIBS) @@ -31,7 +32,7 @@ AC_SUBST(DLL_LDFLAGS) AC_CHECK_HEADERS(windows.h winsock2.h io.h process.h unistd.h inttypes.h stdint.h getopt.h libc.h malloc.h dlfcn.h regex.h sys/socket.h netinet/in.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h sys/time.h endian.h) AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe) -AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd memalign posix_memalign aio_read accept bind socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize) +AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd memalign posix_memalign aio_read accept bind connect socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize) AC_CHECK_TYPES(sighandler_t, [], [], [#define _GNU_SOURCE