Add check for NetBSD.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 12 Feb 2002 14:42:37 +0000 (14:42 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 12 Feb 2002 14:42:37 +0000 (14:42 +0000)
acconfig.h
configure.in

index fd502bf..f13c3e4 100644 (file)
@@ -55,6 +55,9 @@
 /* Solaris */
 #undef HAVE_SOLARIS
 
 /* Solaris */
 #undef HAVE_SOLARIS
 
+/* NetBSD */
+#undef HAVE_NETBSD
+
 /* Define to the location of the kernel sources */
 #undef CONFIG_TINC_KERNELDIR
 
 /* Define to the location of the kernel sources */
 #undef CONFIG_TINC_KERNELDIR
 
index ec76e6d..b3c036c 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
 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)
 
 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 ]
   ;;
     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
 esac
 
 AC_CACHE_SAVE