head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	91.09.02.23.57.37;	author vixie;	state Exp;
branches;
next	;


desc
@utk 1.7beta 10jun90
@


1.1
log
@Initial revision
@
text
@#!/bin/sh
cat <<FOO >sysdep.h
/*
 * This file is automatically created by Configure according to what 
 * kind of system it thinks you have.
 */
FOO
#
# test for Sunlink v6.0 or later
#
if test -r /usr/include/netdni/dni.h ; then
	cat <<FOO >>sysdep.h
#define SUNLINK_DNI	1
#define DNET_DEV	"/dev/dni"	/* Sunlink/DNI v6.0 or later */
#include <fcntl.h>
#include <sys/ioctl.h>
#include <netdni/dni.h>
FOO
#
# test for Sunlink v5.0 or earlier
#
elif test -r /usr/include/netdna/dna.h ; then
	cat <<FOO >>sysdep.h
#define SUNLINK_DNI	1
#define DNET_DEV	"/dev/dna"	/* Sunlink/DNI v5.0 or earlier */
#include <fcntl.h>
#include <sys/ioctl.h>
#include <netdna/dna.h>
FOO
#
# test for DECnet/Ultrix
#
elif test -r /usr/include/netdnet/dn.h ; then
	cat <<FOO >>sysdep.h
#define DECNET_ULTRIX	1
#include <netdnet/dn.h>			/* DECnet/Ultrix */
FOO
fi
@
