Started port to Cygwin.

This commit is contained in:
Guus Sliepen 2002-07-11 12:55:58 +00:00
parent c98db1b861
commit 8949404db0
2 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
dnl $Id: configure.in,v 1.13.2.51 2002/06/11 11:03:17 guus Exp $
dnl $Id: configure.in,v 1.13.2.52 2002/07/11 12:55:57 guus Exp $
AC_INIT(src/tincd.c)
AM_INIT_AUTOMAKE(tinc, 1.0-cvs)
@ -59,6 +59,10 @@ case $host_os in
AC_DEFINE(HAVE_NETBSD, 1, [NetBSD])
[ rm -f src/device.c; ln -sf netbsd/device.c src/device.c ]
;;
*cygwin*)
AC_DEFINE(HAVE_CYGWIN, 1, [Cygwin])
[ rm -f src/device.c; ln -sf cygwin/device.c src/device.c ]
;;
*)
AC_MSG_ERROR("Unknown operating system.")
;;

View file

@ -1,9 +1,9 @@
## Produce this file with automake to get Makefile.in
# $Id: Makefile.am,v 1.4.4.23 2002/06/10 15:08:23 guus Exp $
# $Id: Makefile.am,v 1.4.4.24 2002/07/11 12:55:58 guus Exp $
sbin_PROGRAMS = tincd
EXTRA_DIST = linux/device.c freebsd/device.c openbsd/device.c solaris/device.c netbsd/device.c darwin/device.c
EXTRA_DIST = linux/device.c freebsd/device.c openbsd/device.c solaris/device.c netbsd/device.c darwin/device.c cygwin/device.c
tincd_SOURCES = conf.c connection.c device.c edge.c event.c graph.c meta.c net.c net_packet.c net_setup.c \
net_socket.c netutl.c node.c process.c protocol.c protocol_auth.c protocol_edge.c protocol_misc.c \