From: Chuck Lever Date: Mon, 16 Mar 2009 17:32:49 +0000 (-0400) Subject: nfs-utils: don't need extra libs to do AC_CHECK_LIBS for librpcsecgss X-Git-Tag: nfs-utils-1-1-6-rc2~3 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fd6a34c83051f82c9064963e24976bf3c47a5422;p=nfs-utils.git nfs-utils: don't need extra libs to do AC_CHECK_LIBS for librpcsecgss From: Jeff Layton The conftest should work without these extra libs being included. Signed-off-by: Jeff Layton Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- diff --git a/aclocal/librpcsecgss.m4 b/aclocal/librpcsecgss.m4 index a81819e..5791260 100644 --- a/aclocal/librpcsecgss.m4 +++ b/aclocal/librpcsecgss.m4 @@ -5,12 +5,10 @@ AC_DEFUN([AC_LIBRPCSECGSS], [ dnl Check for library, but do not add -lrpcsecgss to LIBS AC_CHECK_LIB([rpcsecgss], [authgss_create_default], [librpcsecgss=1], - [AC_MSG_ERROR([librpcsecgss not found.])], - [-lgssglue -ldl]) + [AC_MSG_ERROR([librpcsecgss not found.])]) AC_CHECK_LIB([rpcsecgss], [authgss_set_debug_level], - [AC_DEFINE([HAVE_AUTHGSS_SET_DEBUG_LEVEL], 1, - [Define to 1 if you have the `authgss_set_debug_level' function.])],, - [-lgssglue -ldl]) + [AC_DEFINE([HAVE_AUTHGSS_SET_DEBUG_LEVEL], 1, + [Define to 1 if you have the `authgss_set_debug_level' function.])]) ])dnl