added header to syncOnConnect
[anytun.git] / src / configure
blobccdad1b73dce6877d33643e6fa07646694974719
1 #!/bin/sh
3 # anytun
5 # The secure anycast tunneling protocol (satp) defines a protocol used
6 # for communication between any combination of unicast and anycast
7 # tunnel endpoints. It has less protocol overhead than IPSec in Tunnel
8 # mode and allows tunneling of every ETHER TYPE protocol (e.g.
9 # ethernet, ip, arp ...). satp directly includes cryptography and
10 # message authentication based on the methodes used by SRTP. It is
11 # intended to deliver a generic, scaleable and secure solution for
12 # tunneling and relaying of packets of any protocol.
15 # Copyright (C) 2007-2008 Othmar Gsenger, Erwin Nindl,
16 # Christian Pointner <satp@wirdorange.org>
18 # This file is part of Anytun.
20 # Anytun is free software: you can redistribute it and/or modify
21 # it under the terms of the GNU General Public License version 3 as
22 # published by the Free Software Foundation.
24 # Anytun is distributed in the hope that it will be useful,
25 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 # GNU General Public License for more details.
29 # You should have received a copy of the GNU General Public License
30 # along with anytun. If not, see <http://www.gnu.org/licenses/>.
33 TARGET=`uname -s`
35 case $TARGET in
36 Linux)
37 rm -rf tunDevice.cpp
38 rm -rf tunDevice.h
39 ln -sf linux/tunDevice.cpp
40 ln -sf linux/tunDevice.h
42 OpenBSD|FreeBSD|NetBSD)
43 rm -rf tunDevice.cpp
44 rm -rf tunDevice.h
45 ln -sf bsd/tunDevice.cpp
46 ln -sf bsd/tunDevice.h
49 echo "Plattform not supported"
51 esac