]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfs-utils: don't need extra libs to do AC_CHECK_LIBS for librpcsecgss
authorChuck Lever <chuck.lever@oracle.com>
Mon, 16 Mar 2009 17:32:49 +0000 (13:32 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 16 Mar 2009 17:32:49 +0000 (13:32 -0400)
From: Jeff Layton <jlayton@redhat.com>

The conftest should work without these extra libs being included.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
aclocal/librpcsecgss.m4

index a81819efd32bee866cc68c5531d9b8ed2ff68baa..579126096eb07402aa05f734d7bfdf17722cc301 100644 (file)
@@ -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