summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-25 23:09:13 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-25 23:09:13 +0100
commite9b4abf93501eb672b8f2cd288c00e6926ec672c (patch)
treed2f94fd9158db1096d1c1b7ed88f68f084f6e464
parentc6d7ccf7621697de6620068ba144ca1b44b197a0 (diff)
downloadlibrda-e9b4abf93501eb672b8f2cd288c00e6926ec672c.tar.gz
librda-e9b4abf93501eb672b8f2cd288c00e6926ec672c.tar.bz2
librda-e9b4abf93501eb672b8f2cd288c00e6926ec672c.zip
configure.ac: Fix enable/disable switches for supported RD technologies.
-rw-r--r--configure.ac26
1 files changed, 14 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index d7eabee..110ba17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,23 +61,25 @@ dnl enable/disable awarenesses
SUPPORTED_TECHNOLOGIES=""
AC_ARG_ENABLE([x2go],
- [AS_HELP_STRING([--enable-x2go],
- [enable awareness of X2Go sessions])],
- [enable_x2go=yes])
-if test "x$enable_x2go" != "x"; then
+ [AC_HELP_STRING([--enable-x2go=@<:@yes/no@:>@],
+ [Enable X2Go awareness @<:@default=no@:>@])],
+ [],
+ [enable_x2go=no])
+
+if test "x$enable_x2go" == "xyes"; then
SUPPORTED_TECHNOLOGIES="$SUPPORTED_TECHNOLOGIES X2GO"
-else
- enable_x2go="no"
fi
AC_ARG_ENABLE([ogon],
- [AS_HELP_STRING([--enable-ogon],
- [enable awareness of Ogon sessions])],
- [enable_ogon=yes])
-if test "x$enable_ogon" != "x"; then
+ [AC_HELP_STRING([--enable-ogon=@<:@yes/no@:>@],
+ [Enable Ogon awareness @<:@default=no@:>@])],
+ [],
+ [enable_ogon=no])
+
+echo "$enable_ogon"
+
+if test "x$enable_ogon" == "xyes"; then
SUPPORTED_TECHNOLOGIES="$SUPPORTED_TECHNOLOGIES OGON"
-else
- enable_ogon="no"
fi
# make them available for automake