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

version» Context lines:

pike.git/src/modules/_Stdio/configure.in:48:    ], [    pike_cv_header_sys_sendfile_h=no    ])    ])    AC_MSG_RESULT($pike_cv_header_sys_sendfile_h)    if test "x$pike_cv_header_sys_sendfile_h" = "xno"; then    AC_DEFINE(HAVE_BROKEN_SYS_SENDFILE_H)    fi   fi    -  +    AC_HEADER_DIRENT   AC_CHECK_LIB(bind, __inet_ntoa)   AC_CHECK_LIB(socket, socket)   AC_CHECK_LIB(nsl, gethostbyname)   AC_CHECK_LIB(net, __get_socket_descriptor)   dnl AC_CHECK_LIB(zfs, libzfs_init)      dnl GMP is required and tested for in Gmp module. We just want LIBS   dnl updated here. This is needed in case the gmp library is not a   dnl shared library.
pike.git/src/modules/_Stdio/configure.in:204:   ], [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 */   ], [