2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

backed out DEC OSF1 _SOCKADDR_LEN definition, it breaks send() and recv()

This commit is contained in:
Andreas Gustafsson
1999-05-20 17:55:10 +00:00
parent ff64dc5d7f
commit 820ad97db4
2 changed files with 8 additions and 11 deletions

10
configure vendored
View File

@@ -1901,18 +1901,14 @@ EOF
;;
*-dec-osf*)
cat >> confdefs.h <<\EOF
#define _SOCKADDR_LEN 1
EOF
;;
;;
esac
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
echo "configure:1914: checking for sa_len in struct sockaddr" >&5
echo "configure:1910: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF
#line 1916 "configure"
#line 1912 "configure"
#include "confdefs.h"
#include <sys/socket.h>
EOF

View File

@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.25 $)
AC_REVISION($Revision: 1.26 $)
AC_PREREQ(2.12)
@@ -236,9 +236,10 @@ case "$host" in
AC_DEFINE(NEED_AF_INET6)
;;
*-dec-osf*)
dnl 4.4BSD sa_len support is not turned on
dnl by default, see netintro(7)
AC_DEFINE(_SOCKADDR_LEN)
dnl Turn on 4.4BSD style sa_len support.
dnl (Disabled for now because it is incompatible
dnl with the use of send() and recv()).
dnl AC_DEFINE(_SOCKADDR_LEN)
;;
esac