diff options
Diffstat (limited to 'src/configure')
-rwxr-xr-x | src/configure | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/src/configure b/src/configure index 2c6d8ea..1524577 100755 --- a/src/configure +++ b/src/configure @@ -143,26 +143,30 @@ fi rm -f include.mk case $TARGET in - Linux) - rm -f tunDevice.cpp - ln -sf linux/tunDevice.cpp + Linux) + rm -f tunDevice.cpp + ln -sf linux/tunDevice.cpp rm -f signalHandler.hpp ln -sf posix/signalHandler.hpp + rm -f sysExec.hpp + ln -sf posix/sysExec.hpp echo "loading Linux specific TUN Device" - ;; - OpenBSD|FreeBSD|NetBSD|GNU/kFreeBSD) - rm -f tunDevice.cpp - ln -sf bsd/tunDevice.cpp + ;; + OpenBSD|FreeBSD|NetBSD|GNU/kFreeBSD) + rm -f tunDevice.cpp + ln -sf bsd/tunDevice.cpp rm -f signalHandler.hpp ln -sf posix/signalHandler.hpp + rm -f sysExec.hpp + ln -sf posix/sysExec.hpp echo "loading BSD specific TUN Device" CXXFLAGS=$CXXFLAGS' -I/usr/local/include' LDFLAGS=$LDFLAGS' -L/usr/local/lib' - ;; - *) - echo "platform not supported" + ;; + *) + echo "platform not supported" exit 1 - ;; + ;; esac case $CRYPTO_LIB in |