summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-02-06 18:12:12 +0000
committerChristian Pointner <equinox@anytun.org>2010-02-06 18:12:12 +0000
commit346ef768b1b911a89e3d9bc1b03b442fd85d3739 (patch)
treeb9ff225ea1093c155adcac548a1387fd5bcd860e /src/configure
parentremoved NO_EXEC (diff)
introduced posixDaemon as DaemonService for posix targets
some dependency cleanups
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/configure b/src/configure
index 1524577..bcadb99 100755
--- a/src/configure
+++ b/src/configure
@@ -150,6 +150,9 @@ case $TARGET in
ln -sf posix/signalHandler.hpp
rm -f sysExec.hpp
ln -sf posix/sysExec.hpp
+ rm -f daemonService.h daemonService.cpp
+ ln -sf posix/posixDaemon.h daemonService.h
+ ln -sf posix/posixDaemon.cpp daemonService.cpp
echo "loading Linux specific TUN Device"
;;
OpenBSD|FreeBSD|NetBSD|GNU/kFreeBSD)
@@ -159,6 +162,9 @@ case $TARGET in
ln -sf posix/signalHandler.hpp
rm -f sysExec.hpp
ln -sf posix/sysExec.hpp
+ rm -f daemonService.h daemonService.cpp
+ ln -sf posix/posixDaemon.h daemonService.h
+ ln -sf posix/posixDaemon.cpp daemonService.cpp
echo "loading BSD specific TUN Device"
CXXFLAGS=$CXXFLAGS' -I/usr/local/include'
LDFLAGS=$LDFLAGS' -L/usr/local/lib'