configure: Move rpcsecgss checking into aclocal
[nfs-utils.git] / aclocal / rpcsec_vers.m4
1 dnl Checks librpcsec version
2 AC_DEFUN([AC_RPCSEC_VERSION], [
3
4   PKG_CHECK_MODULES([RPCSECGSS], [librpcsecgss >= 0.16], ,
5                     [AC_MSG_ERROR([Unable to locate information required to use librpcsecgss.  If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])
6
7   PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1])
8
9 ])dnl