]> granicus.if.org Git - libtirpc/commitdiff
configure.ac: Remove gssglue configuration knobs
authorSteve Dickson <steved@redhat.com>
Mon, 9 Dec 2013 19:57:13 +0000 (14:57 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 9 Dec 2013 20:34:56 +0000 (15:34 -0500)
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

index b9906dcc5305e875e5a1aad4a5b78aa72d0d278e..6b0cf27c1a6bfa3217bcda5c731a1e12893ee28b 100644 (file)
@@ -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@:>@])],