diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-01-25 23:09:13 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-01-25 23:09:13 +0100 |
commit | e9b4abf93501eb672b8f2cd288c00e6926ec672c (patch) | |
tree | d2f94fd9158db1096d1c1b7ed88f68f084f6e464 | |
parent | c6d7ccf7621697de6620068ba144ca1b44b197a0 (diff) | |
download | librda-e9b4abf93501eb672b8f2cd288c00e6926ec672c.tar.gz librda-e9b4abf93501eb672b8f2cd288c00e6926ec672c.tar.bz2 librda-e9b4abf93501eb672b8f2cd288c00e6926ec672c.zip |
configure.ac: Fix enable/disable switches for supported RD technologies.
-rw-r--r-- | configure.ac | 26 |
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 |