pike.git / src / modules / _Stdio / configure.in

version» Context lines:

pike.git/src/modules/_Stdio/configure.in:4:   AC_MODULE_INIT()      AC_DEFINE(WITH_TERMIOS)      AC_HAVE_HEADERS(sys/types.h sys/socket.h arpa/inet.h sys/socketvar.h \    netinet/in.h poll.h sys/poll.h sys/uio.h sys/mman.h linux/mman.h sys/time.h \    sys/param.h sys/mount.h ustat.h sys/statfs.h sys/statvfs.h sys/vfs.h \    sys/stream.h sys/protosw.h netdb.h sys/sysproto.h winsock2.h ws2tcpip.h \    direct.h sys/wait.h process.h sys/file.h net/netdb.h limits.h unistd.h \    termios.h poll.h sys/poll.h sys/select.h sys/un.h netinet/tcp.h \ -  sys/sendfile.h sys/ioctl.h linux/if.h sys/xattr.h libzfs.h \ +  sys/sendfile.h sys/ioctl.h linux/if.h sys/xattr.h libzfs.h io.h \    AvailabilityMacros.h,,,[   /* Needed for <sys/socket.h> on FreeBSD 4.9. */   #ifdef HAVE_SYS_TYPES_H   #include <sys/types.h>   #endif   /* Needed for <sys/socketvar.h> on Solaris 10. */   #ifdef HAVE_SYS_SOCKET_H   #include <sys/socket.h>   #endif   /* Needed for <sys/mount.h> on OpenBSD */
pike.git/src/modules/_Stdio/configure.in:203:   ], [pike_cv_struct_stat_atim=yes],[pike_cv_struct_stat_atim=no])   ])      if test "$pike_cv_struct_stat_atim" = "yes"; then    AC_MSG_RESULT(yes)    AC_DEFINE(HAVE_STRUCT_STAT_NSEC)   else    AC_MSG_RESULT(no)   fi    - AC_MSG_CHECKING(if ssize_t is defined) - AC_CACHE_VAL(pike_cv_ssize_t_defined, [ -  AC_TRY_COMPILE([ - ], [ -  ssize_t sz; - ], [pike_cv_ssize_t_defined=yes],[pike_cv_ssize_t_defined=no]) - ]) -  - if test "$pike_cv_ssize_t_defined" = "yes"; then -  AC_MSG_RESULT(yes) -  AC_DEFINE(HAVE_SSIZE_T) - else -  AC_MSG_RESULT(no) - fi -  -  +    AC_MSG_CHECKING([if struct sockaddr_un has a sun_len member (BSD)])   AC_CACHE_VAL(pike_cv_struct_sockaddr_un_sun_len, [    AC_TRY_COMPILE([   #ifdef HAVE_SYS_TYPES_H   #include <sys/types.h>   #endif /* HAVE_SYS_TYPES_H */   #ifdef HAVE_SYS_SOCKET_H   #include <sys/socket.h>   #endif /* HAVE_SYS_SOCKET_H */   ], [