1 dnl $Id: afs-check.m4,v 1.2 2003-01-29 00:16:30 srittau Exp $
2 dnl Autoconf macro to check whether AFS support should be enabled
4 AC_DEFUN([NETATALK_AFS_CHECK], [
9 [ --enable-afs enable AFS support],
11 if test "x$enableval" = "xyes"; then
12 AC_CHECK_LIB(afsauthent, pioctl, ,
13 AC_MSG_ERROR([AFS installation not found])
16 AC_DEFINE(AFS, 1, [Define if AFS should be used])