[svn-r3057]

Purpose:
    Bugfix
Description:
    Under SunOS 5.5 the symbol FIONBIO wasn't known when compiling
    with the Stream VFD configured.
Solution:
    This symbol is defined in the system header file <sys/filio.h>.
    Here we check whether this header is available.
Platforms tested:
    SunOS 5.5 (hatteras), SunOS 5.6 (thor.sistec.kp.dlr.de)
This commit is contained in:
Thomas Radke 2000-12-01 16:48:49 -05:00
parent 50d0fc416c
commit e10233b5f0
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -7993,7 +7993,7 @@ fi
if test "X$STREAM_VFD" = "Xyes"; then
echo "$ac_t""yes" 1>&6
for ac_hdr in netinet/tcp.h
for ac_hdr in netinet/tcp.h sys/filio.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

View File

@ -906,7 +906,7 @@ AC_ARG_ENABLE(stream-vfd,
if test "X$STREAM_VFD" = "Xyes"; then
AC_MSG_RESULT(yes)
AC_CHECK_HEADERS(netinet/tcp.h)
AC_CHECK_HEADERS(netinet/tcp.h, sys/filio.h)
AC_DEFINE(HAVE_STREAM)
dnl Check if 'socklen_t' available