mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
50d0fc416c
commit
e10233b5f0
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user