summaryrefslogtreecommitdiff
path: root/src/configure
blob: a2581208134eed777fdc417998be1075ef235681 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

TARGET=`uname -s`

case $TARGET in 
	Linux)
		rm -rf tunDevice.cpp
		rm -rf tunDevice.h
		ln -sf linux/tunDevice.cpp 
		ln -sf linux/tunDevice.h 
	;;
	OpenBSD|FreeBSD|NetBSD)
		rm -rf tunDevice.cpp
		rm -rf tunDevice.h
		ln -sf bsd/tunDevice.cpp 
		ln -sf bsd/tunDevice.h 
	;;
	*)
		echo "Plattform not supported"
	;;
esac