summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/configure b/src/configure
index 24dcd4e..1f5f024 100755
--- a/src/configure
+++ b/src/configure
@@ -144,13 +144,17 @@ fi
rm -f include.mk
case $TARGET in
Linux)
- rm -rf tunDevice.cpp
+ rm -f tunDevice.cpp
ln -sf linux/tunDevice.cpp
+ rm -f signalHandler.hpp
+ ln -sf posix/signalHandler.hpp
echo "loading Linux specific TUN Device"
;;
OpenBSD|FreeBSD|NetBSD|GNU/kFreeBSD)
- rm -rf tunDevice.cpp
+ rm -f tunDevice.cpp
ln -sf bsd/tunDevice.cpp
+ rm -f signalHandler.hpp
+ ln -sf posix/signalHandler.hpp
echo "loading BSD specific TUN Device"
CXXFLAGS=$CXXFLAGS' -I/usr/local/include'
LDFLAGS=$LDFLAGS' -L/usr/local/lib'