summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-02-04 00:53:18 +0000
committerChristian Pointner <equinox@anytun.org>2010-02-04 00:53:18 +0000
commit338da94bea80a16c737117b614ace2f4bb4446a3 (patch)
tree6d9b1937374c3648aa91e77654fc3dc25bf4b3b0 /src/configure
parentwin32 support for sysExec, sysExec.hpp arch-specific files introduced (diff)
fixed build on posix
some cleanup
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure26
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