From patchwork Mon Dec 9 18:32:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Dickson X-Patchwork-Id: 3312331 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2C32CC0D4A for ; Mon, 9 Dec 2013 18:31:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0F7362014A for ; Mon, 9 Dec 2013 18:31:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A4AA52034F for ; Mon, 9 Dec 2013 18:31:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755710Ab3LISbh (ORCPT ); Mon, 9 Dec 2013 13:31:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35574 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754452Ab3LISbh (ORCPT ); Mon, 9 Dec 2013 13:31:37 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rB9IVSB6024761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 Dec 2013 13:31:28 -0500 Received: from smallhat.boston.devel.redhat.com (vpn-57-74.rdu2.redhat.com [10.10.57.74]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rB9IVMkZ023638; Mon, 9 Dec 2013 13:31:25 -0500 From: Steve Dickson To: Libtirpc-devel Mailing List Cc: Linux NFS Mailing list Subject: [PATCH] configure.ac: enable the GSSAPI by default Date: Mon, 9 Dec 2013 13:32:28 -0500 Message-Id: <1386613948-28789-1-git-send-email-steved@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This changes GSSAPI support to be enabled by default. To disable the support use --disable-gssapi Signed-off-by: Steve Dickson --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index c95df38..b9906dc 100644 --- a/configure.ac +++ b/configure.ac @@ -5,12 +5,11 @@ AM_MAINTAINER_MODE AC_CONFIG_SRCDIR([src/auth_des.c]) AC_CONFIG_MACRO_DIR([m4]) -AC_ARG_ENABLE(gss,[ --enable-gss Turn on gss api], [case "${enableval}" in - yes) gss=true ;; - no) gss=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-gss) ;; - esac],[gss=false]) -AM_CONDITIONAL(GSS, test x$gss = xtrue) +AC_ARG_ENABLE(gssapi, + [AC_HELP_STRING([--disable-gssapi], [Disable GSSAPI support @<:@default=no@:>@])], + [],[enable_gssapi=yes]) +AM_CONDITIONAL(GSS, test x$enable_gssapi = xyes) + AC_ARG_WITH(gssglue, [ --with-gssglue Use libgssglue], [case "${enableval}" in @@ -20,7 +19,8 @@ AC_ARG_WITH(gssglue, esac], [gssglue=false]) AM_CONDITIONAL(USEGSSGLUE, test x$gssglue = xtrue) -if test x$gss = xtrue; then + +if test x$enable_gssapi = xyes; then if test x$gssglue = xtrue; then PKG_CHECK_MODULES(GSSAPI, libgssglue, [], AC_MSG_ERROR([Unable to locate information required to use libgssglue.]))