From af990fc5edf311ed1ad5afd138a4cacc8d915ee9 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 2 Nov 2007 21:16:57 +0000 Subject: [PATCH] * Check for bind in the configure step. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c893617..0b63294 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,7 @@ case "${host_os}" in ac_cv_func_recvfrom=yes ac_cv_func_socket=yes ac_cv_func_accept=yes + ac_cv_func_bind=yes ;; esac AC_SUBST(WINSOCK2_LIBS) @@ -30,7 +31,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 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 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 socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize) AC_CHECK_TYPES(sighandler_t, [], [], [#define _GNU_SOURCE