Use `depends_on 'gnutls' => :optional`, which will also auto-generate the option so that line can be removed.