Add check for NetBSD.
This commit is contained in:
parent
2fb8a62ede
commit
fc674eaae1
2 changed files with 8 additions and 1 deletions
|
@ -55,6 +55,9 @@
|
||||||
/* Solaris */
|
/* Solaris */
|
||||||
#undef HAVE_SOLARIS
|
#undef HAVE_SOLARIS
|
||||||
|
|
||||||
|
/* NetBSD */
|
||||||
|
#undef HAVE_NETBSD
|
||||||
|
|
||||||
/* Define to the location of the kernel sources */
|
/* Define to the location of the kernel sources */
|
||||||
#undef CONFIG_TINC_KERNELDIR
|
#undef CONFIG_TINC_KERNELDIR
|
||||||
|
|
||||||
|
|
|
@ -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)
|
AC_INIT(src/tincd.c)
|
||||||
AM_INIT_AUTOMAKE(tinc, 1.0-cvs)
|
AM_INIT_AUTOMAKE(tinc, 1.0-cvs)
|
||||||
|
@ -50,6 +50,10 @@ case $host_os in
|
||||||
AC_DEFINE(HAVE_OPENBSD)
|
AC_DEFINE(HAVE_OPENBSD)
|
||||||
[ rm -f src/device.c; ln -sf openbsd/device.c src/device.c ]
|
[ 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
|
esac
|
||||||
|
|
||||||
AC_CACHE_SAVE
|
AC_CACHE_SAVE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue