From: Guus Sliepen Date: Thu, 11 Jul 2002 12:55:58 +0000 (+0000) Subject: Started port to Cygwin. X-Git-Tag: release-1.0pre8~49 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=8949404db08f4ab594e60778bb76a9061426d7cc;p=tinc Started port to Cygwin. --- diff --git a/configure.in b/configure.in index e8b9527c..4cea75a8 100644 --- 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.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.") ;; diff --git a/src/Makefile.am b/src/Makefile.am index 1f8bcf7a..598a6340 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 \