projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb8a62
)
Add check for NetBSD.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 12 Feb 2002 14:42:37 +0000
(14:42 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 12 Feb 2002 14:42:37 +0000
(14:42 +0000)
acconfig.h
patch
|
blob
|
history
configure.in
patch
|
blob
|
history
diff --git
a/acconfig.h
b/acconfig.h
index
fd502bf
..
f13c3e4
100644
(file)
--- 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
ec76e6d
..
b3c036c
100644
(file)
--- 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.4
0 2002/02/11 15:59:18
guus Exp $
+dnl $Id: configure.in,v 1.13.2.4
1 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