bugfix with strerror_r - still not working but at least not using uninitialized data
[anytun.git] / src / configure
blob0e8e08bbca11501a2c4b50458846cd9f2e30af53
1 #!/bin/sh
3 TARGET=$1
4 if [ -z "$TARGET" ]; then
5 TARGET="ovpn"
6 fi
8 case $TARGET in
9 linux)
10 rm -rf tunDevice.cpp
11 rm -rf tunDevice.h
12 ln -sf linux/tunDevice.cpp
13 ln -sf linux/tunDevice.h
15 bsd)
16 rm -rf tunDevice.cpp
17 rm -rf tunDevice.h
18 ln -sf bsd/tunDevice.cpp
19 ln -sf bsd/tunDevice.h
21 ovpn)
22 rm -rf tunDevice.cpp
23 rm -rf tunDevice.cpp
24 ln -sf ovpn/tunDevice.cpp
25 ln -sf ovpn/tunDevice.h
26 cd openvpn
27 ./configure --disable-lzo --disable-crypto
28 cd ..
31 echo "Usage: $0 (linux|bsd|ovpn)"
33 esac