Skip to contentSkip to conversation

configure.ac: Remove gssglue configuration knobs

PATCH In review Steve Dickson 1 participant 2 messages Dec 9, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure.ac: Remove gssglue configuration knobs

Its really not a good idea for libtirpc to link with libgssglue so this patch remove the ability to do that.

---
 configure.ac | 23 ++++-------------------
 1 file changed, 4 insertions(+), 19 deletions(-)
configure.ac +4 -19
index b9906dc..6b0cf27 100644
@@ -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@:>@])],
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 7 lines · Steve Dickson

Its really not a good idea for libtirpc to link with libgssglue so this patch remove the ability to do that.

---
 configure.ac | 23 ++++-------------------
 1 file changed, 4 insertions(+), 19 deletions(-)

Committed...

steved.

Quoted 37 lines
configure.ac +4 -19
index b9906dc..6b0cf27 100644
@@ -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@:>@])],