From fc674eaae14ed2e07abc0df1285b1bd70e0d27cc Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 12 Feb 2002 14:42:37 +0000 Subject: [PATCH] Add check for NetBSD. --- acconfig.h | 3 +++ configure.in | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index fd502bfc..f13c3e4b 100644 --- a/acconfig.h +++ b/acconfig.h @@ -55,6 +55,9 @@ /* Solaris */ #undef HAVE_SOLARIS +/* NetBSD */ +#undef HAVE_NETBSD + /* Define to the location of the kernel sources */ #undef CONFIG_TINC_KERNELDIR diff --git a/configure.in b/configure.in index ec76e6d6..b3c036c9 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.39.5