diff mbox

configure.ac: Remove gssglue configuration knobs

Message ID 1386619559-31330-1-git-send-email-steved@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve Dickson Dec. 9, 2013, 8:05 p.m. UTC
Its really not a good idea for libtirpc to link with
libgssglue so this patch remove the ability to do that.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 configure.ac | 23 ++++-------------------
 1 file changed, 4 insertions(+), 19 deletions(-)

Comments

Steve Dickson Dec. 9, 2013, 8:59 p.m. UTC | #1
On 09/12/13 15:05, Steve Dickson wrote:
> Its really not a good idea for libtirpc to link with
> libgssglue so this patch remove the ability to do that.
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
> ---
>  configure.ac | 23 ++++-------------------
>  1 file changed, 4 insertions(+), 19 deletions(-)
Committed...

steved.

> 
> diff --git a/configure.ac b/configure.ac
> index b9906dc..6b0cf27 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -10,26 +10,11 @@ AC_ARG_ENABLE(gssapi,
>        [],[enable_gssapi=yes])
>  AM_CONDITIONAL(GSS, test x$enable_gssapi = xyes)
>  
> -AC_ARG_WITH(gssglue,
> -		[  --with-gssglue        Use libgssglue],
> -		 [case "${enableval}" in
> -		  yes) gssglue=true ;;
> -		  no)  gssglue=false ;;
> -		  *) AC_MSG_ERROR(bad value ${enableval} for --with-gssglue) ;;
> -		  esac],
> -		[gssglue=false])
> -AM_CONDITIONAL(USEGSSGLUE, test x$gssglue = xtrue)
> -
>  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.]))
> -	else
> -		GSSAPI_CFLAGS=`krb5-config --cflags gssapi`
> -		GSSAPI_LIBS=`krb5-config --libs gssapi`
> -		AC_SUBST([GSSAPI_CFLAGS])
> -		AC_SUBST([GSSAPI_LIBS])
> -	fi
> +	GSSAPI_CFLAGS=`krb5-config --cflags gssapi`
> +	GSSAPI_LIBS=`krb5-config --libs gssapi`
> +	AC_SUBST([GSSAPI_CFLAGS])
> +	AC_SUBST([GSSAPI_LIBS])
>  fi
>  AC_ARG_ENABLE(ipv6,
>  	[AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support @<:@default=no@:>@])],
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index b9906dc..6b0cf27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,26 +10,11 @@  AC_ARG_ENABLE(gssapi,
       [],[enable_gssapi=yes])
 AM_CONDITIONAL(GSS, test x$enable_gssapi = xyes)
 
-AC_ARG_WITH(gssglue,
-		[  --with-gssglue        Use libgssglue],
-		 [case "${enableval}" in
-		  yes) gssglue=true ;;
-		  no)  gssglue=false ;;
-		  *) AC_MSG_ERROR(bad value ${enableval} for --with-gssglue) ;;
-		  esac],
-		[gssglue=false])
-AM_CONDITIONAL(USEGSSGLUE, test x$gssglue = xtrue)
-
 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.]))
-	else
-		GSSAPI_CFLAGS=`krb5-config --cflags gssapi`
-		GSSAPI_LIBS=`krb5-config --libs gssapi`
-		AC_SUBST([GSSAPI_CFLAGS])
-		AC_SUBST([GSSAPI_LIBS])
-	fi
+	GSSAPI_CFLAGS=`krb5-config --cflags gssapi`
+	GSSAPI_LIBS=`krb5-config --libs gssapi`
+	AC_SUBST([GSSAPI_CFLAGS])
+	AC_SUBST([GSSAPI_LIBS])
 fi
 AC_ARG_ENABLE(ipv6,
 	[AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support @<:@default=no@:>@])],