--- /dev/null
+dnl $Id: afs-check.m4,v 1.1.2.1 2002-02-07 23:41:09 srittau Exp $
+dnl Autoconf macro to check whether AFS support should be enabled
+
+AC_DEFUN([NETATALK_AFS_CHECK], [
+ AFS_LIBS=
+ AFS_CFLAGS=
+
+ AC_ARG_ENABLE(afs,
+ [ --enable-afs enable AFS support],
+ [
+ if test "x$enableval" = "xyes"; then
+ AC_CHECK_LIB(afsauthent, pioctl, ,
+ AC_MSG_ERROR([AFS installation not found])
+ )
+ AFS_LIBS=-lafsauthent
+ AC_DEFINE(AFS, 1)
+ fi
+ ]
+ )
+
+ AC_SUBST(AFS_LIBS)
+ AC_SUBST(AFS_CFLAGS)
+])
--- /dev/null
+dnl Autoconf macro to check for the existence of Perl
+dnl $Id: perl-check.m4,v 1.3.2.1 2002-02-07 23:41:09 srittau Exp $
+
+dnl FIXME: This needs to be a proper check
+AC_DEFUN([NETATALK_PROG_PERL], [
+ PERL=/usr/bin/perl
+])
+
+AC_SUBST(PERL)