summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Radke <tradke@aei.mpg.de>2000-12-01 21:48:49 (GMT)
committerThomas Radke <tradke@aei.mpg.de>2000-12-01 21:48:49 (GMT)
commite10233b5f0185508e7bc265748739c08ccd0fe88 (patch)
tree5e09f191045d37425b7d5f27491fd910945fb57d
parent50d0fc416c6ccb880ecfe046b68657e75aa2b342 (diff)
downloadhdf5-e10233b5f0185508e7bc265748739c08ccd0fe88.zip
hdf5-e10233b5f0185508e7bc265748739c08ccd0fe88.tar.gz
hdf5-e10233b5f0185508e7bc265748739c08ccd0fe88.tar.bz2
[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)
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index dd31a07..4f7e66f 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.in b/configure.in
index 243742e..fd2b87a 100644
--- a/configure.in
+++ b/configure.in
@@ -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