comparison configure.ac @ 728:f27058078d61

Try using writev() for writing packets out to tcp
author Matt Johnston <matt@ucc.asn.au>
date Sun, 31 Mar 2013 23:15:35 +0800
parents 35f5f64a59c5
children 1d1f80fcbcb3
comparison
equal deleted inserted replaced
727:00bc3df3a9c3 728:f27058078d61
209 209
210 210
211 # Checks for header files. 211 # Checks for header files.
212 AC_HEADER_STDC 212 AC_HEADER_STDC
213 AC_HEADER_SYS_WAIT 213 AC_HEADER_SYS_WAIT
214 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h]) 214 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h, sys/uio.h])
215 215
216 # Checks for typedefs, structures, and compiler characteristics. 216 # Checks for typedefs, structures, and compiler characteristics.
217 AC_C_CONST 217 AC_C_CONST
218 AC_TYPE_UID_T 218 AC_TYPE_UID_T
219 AC_TYPE_MODE_T 219 AC_TYPE_MODE_T
614 # Checks for library functions. 614 # Checks for library functions.
615 AC_PROG_GCC_TRADITIONAL 615 AC_PROG_GCC_TRADITIONAL
616 AC_FUNC_MEMCMP 616 AC_FUNC_MEMCMP
617 AC_FUNC_SELECT_ARGTYPES 617 AC_FUNC_SELECT_ARGTYPES
618 AC_TYPE_SIGNAL 618 AC_TYPE_SIGNAL
619 AC_CHECK_FUNCS([dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork]) 619 AC_CHECK_FUNCS([dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev])
620 620
621 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) 621 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
622 622
623 # Solaris needs ptmx 623 # Solaris needs ptmx
624 if test -z "$no_ptmx_check" ; then 624 if test -z "$no_ptmx_check" ; then