Use darwin/device.c when compiling on MacOS/X.

This commit is contained in:
Guus Sliepen 2002-06-10 14:35:18 +00:00
parent 69b758879e
commit 40ac473cb1

View 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.49 2002/06/09 15:58:05 zarq Exp $ dnl $Id: configure.in,v 1.13.2.50 2002/06/10 14:35:18 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)
@ -43,8 +43,8 @@ case $host_os in
[ rm -f src/device.c; ln -sf freebsd/device.c src/device.c ] [ rm -f src/device.c; ln -sf freebsd/device.c src/device.c ]
;; ;;
*darwin*) *darwin*)
AC_DEFINE(HAVE_FREEBSD) AC_DEFINE(HAVE_DARWIN)
[ rm -f src/device.c; ln -sf freebsd/device.c src/device.c ] [ rm -f src/device.c; ln -sf darwin/device.c src/device.c ]
;; ;;
*solaris*) *solaris*)
AC_DEFINE(HAVE_SOLARIS) AC_DEFINE(HAVE_SOLARIS)