1 dnl $Id: afs-check.m4,v 1.2.6.1 2003-10-29 23:53:24 bfernhomberg Exp $
2 dnl Autoconf macro to check whether AFS support should be enabled
4 AC_DEFUN([NETATALK_AFS_CHECK], [
10 [ --enable-afs enable AFS support],
12 if test "x$enableval" = "xyes"; then
13 AC_CHECK_LIB(afsauthent, pioctl, netatalk_cv_afs=yes,
14 AC_MSG_ERROR([AFS installation not found])
17 AC_DEFINE(AFS, 1, [Define if AFS should be used])
22 AC_MSG_CHECKING([whether to enable AFS support])
23 if test x"$netatalk_cv_afs" = x"yes"; then