Add check for NetBSD.

This commit is contained in:
Guus Sliepen 2002-02-12 14:42:37 +00:00
parent 2fb8a62ede
commit fc674eaae1
2 changed files with 8 additions and 1 deletions

View file

@ -55,6 +55,9 @@
/* Solaris */
#undef HAVE_SOLARIS
/* NetBSD */
#undef HAVE_NETBSD
/* Define to the location of the kernel sources */
#undef CONFIG_TINC_KERNELDIR

View file

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
dnl $Id: configure.in,v 1.13.2.40 2002/02/11 15:59:18 guus Exp $
dnl $Id: configure.in,v 1.13.2.41 2002/02/12 14:42:37 guus Exp $
AC_INIT(src/tincd.c)
AM_INIT_AUTOMAKE(tinc, 1.0-cvs)
@ -50,6 +50,10 @@ case $host_os in
AC_DEFINE(HAVE_OPENBSD)
[ rm -f src/device.c; ln -sf openbsd/device.c src/device.c ]
;;
*netbsd*)
AC_DEFINE(HAVE_NETBSD)
[ rm -f src/device.c; ln -sf netbsd/device.c src/device.c ]
;;
esac
AC_CACHE_SAVE