mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
backed out DEC OSF1 _SOCKADDR_LEN definition, it breaks send() and recv()
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -1901,18 +1901,14 @@ EOF
|
|||||||
|
|
||||||
;;
|
;;
|
||||||
*-dec-osf*)
|
*-dec-osf*)
|
||||||
cat >> confdefs.h <<\EOF
|
;;
|
||||||
#define _SOCKADDR_LEN 1
|
|
||||||
EOF
|
|
||||||
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
|
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
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1916 "configure"
|
#line 1912 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
EOF
|
EOF
|
||||||
|
@@ -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 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||||
dnl SOFTWARE.
|
dnl SOFTWARE.
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.25 $)
|
AC_REVISION($Revision: 1.26 $)
|
||||||
|
|
||||||
AC_PREREQ(2.12)
|
AC_PREREQ(2.12)
|
||||||
|
|
||||||
@@ -236,9 +236,10 @@ case "$host" in
|
|||||||
AC_DEFINE(NEED_AF_INET6)
|
AC_DEFINE(NEED_AF_INET6)
|
||||||
;;
|
;;
|
||||||
*-dec-osf*)
|
*-dec-osf*)
|
||||||
dnl 4.4BSD sa_len support is not turned on
|
dnl Turn on 4.4BSD style sa_len support.
|
||||||
dnl by default, see netintro(7)
|
dnl (Disabled for now because it is incompatible
|
||||||
AC_DEFINE(_SOCKADDR_LEN)
|
dnl with the use of send() and recv()).
|
||||||
|
dnl AC_DEFINE(_SOCKADDR_LEN)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user