From e10233b5f0185508e7bc265748739c08ccd0fe88 Mon Sep 17 00:00:00 2001 From: Thomas Radke Date: Fri, 1 Dec 2000 16:48:49 -0500 Subject: [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 . Here we check whether this header is available. Platforms tested: SunOS 5.5 (hatteras), SunOS 5.6 (thor.sistec.kp.dlr.de) --- configure | 2 +- configure.in | 2 +- 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 -- cgit v0.12