1 dnl Autoconf macro to check whether AFS support should be enabled
3 AC_DEFUN([AC_NETATALK_AFS_CHECK], [
9 [ --enable-afs enable AFS support],
11 if test "x$enableval" = "xyes"; then
12 AC_CHECK_LIB(afsauthent, pioctl, netatalk_cv_afs=yes,
13 AC_MSG_ERROR([AFS installation not found])
15 AFS_LIBS=-lresolv -lafsrpc -lafsauthent
16 AC_DEFINE(AFS, 1, [Define if AFS should be used])
21 AC_MSG_CHECKING([whether to enable AFS support])
22 if test x"$netatalk_cv_afs" = x"yes"; then