File: librpcsecgss.m4

package info (click to toggle)
nfs-utils 1%3A1.2.6-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,548 kB
  • sloc: ansic: 35,152; sh: 11,734; python: 1,001; makefile: 728
file content (19 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dnl Checks for rpcsecgss library and headers
dnl KRB5LIBS must be set before this function is invoked.
dnl
AC_DEFUN([AC_LIBRPCSECGSS], [

  dnl libtirpc provides an rpcsecgss API
  if test "$enable_tirpc" = no; then

    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.])])

    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.])])

  fi

])dnl