diff options
Diffstat (limited to 'crypto/gnutls/PREPARE')
-rwxr-xr-x | crypto/gnutls/PREPARE | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/crypto/gnutls/PREPARE b/crypto/gnutls/PREPARE index 02d77819ea..3c7353f5dd 100755 --- a/crypto/gnutls/PREPARE +++ b/crypto/gnutls/PREPARE @@ -1,16 +1,6 @@ -# 2006-05-19 -# GNUTLS_OLD -> GNUTLS_BRANCH - -if [ "$GNUTLS_OLD" == "y" ]; then - persistent_add GNUTLS_BRANCH && - GNUTLS_BRANCH="1.0" && - persistent_remove GNUTLS_OLD -fi - -if [ "$GNUTLS_OLD" == "n" ]; then - persistent_add GNUTLS_BRANCH && - GNUTLS_BRANCH="DEFAULT" && - persistent_remove GNUTLS_OLD -fi - -config_query_list GNUTLS_BRANCH "Which branch of GnuTLS do you want to build?" DEFAULT 2.2 2.4 2.6 2.8 2.10 2.12 3.0 +. ${GRIMOIRE}/FUNCTIONS && +case "$GNUTLS_BRANCH" in +3.2) GNUTLS_BRANCH=stable;; +3.1) GNUTLS_BRANCH=stable-old;; +esac && +prepare_select_branch stable stable-old |