summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-04 15:35:33 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-04 15:35:33 +0000
commit49b400bf994d2ec73fd71738cebae21fe61bdfe5 (patch)
tree3bbaff779c5adaa40aa02a563f9fffb5311d4f59
parentupdated manpage (diff)
added --target option to configure script
-rwxr-xr-xsrc/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configure b/src/configure
index c54d555..3872fce 100755
--- a/src/configure
+++ b/src/configure
@@ -45,6 +45,7 @@ V4_MAPPED=1
print_usage() {
echo "configure --help print this"
+ echo " --target=<TARGET> build target i.e. Linux"
echo " --use-ssl-crypto use ssl crypto library instead of libgcrypt"
echo " --disable-crypto disable crypto at all (only NULL cipher)"
echo " --enable-anytun02-compat enable compatiblity mode for anytun 0.2.x and prior"
@@ -56,6 +57,9 @@ print_usage() {
for arg
do
case $arg in
+ --target=*)
+ TARGET=${arg#--target=}
+ ;;
--use-ssl-crypto)
CRYPTO_LIB='ssl'
;;