summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-19 01:14:05 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-19 01:14:05 +0000
commit223cadbc249d3acaa0f7736ec53a844c8e3d91b7 (patch)
tree3965111f66726331cf409b21f4f8e8d44e55b4e5 /src/configure
parentreenabled signalController for FreeBSD (not Debian kfreebsd) (diff)
splitted signalController and SignalHandlers
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'