From: Steve Dickson <steved@redhat.com>
To: Libtirpc-devel Mailing List <libtirpc-devel@lists.sourceforge.net>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH] configure.ac: enable the GSSAPI by default
Date: Mon, 9 Dec 2013 13:32:28 -0500 [thread overview]
Message-ID: <1386613948-28789-1-git-send-email-steved@redhat.com> (raw)
This changes GSSAPI support to be enabled by default.
To disable the support use --disable-gssapi
Signed-off-by: Steve Dickson <steved@redhat.com>
---
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.]))
--
1.8.3.1
next reply other threads:[~2013-12-09 18:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 18:32 Steve Dickson [this message]
2013-12-09 21:00 ` [PATCH] configure.ac: enable the GSSAPI by default Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386613948-28789-1-git-send-email-steved@redhat.com \
--to=steved@redhat.com \
--cc=libtirpc-devel@lists.sourceforge.net \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).