-dnl $Id: configure.in,v 1.192 2003-12-15 04:33:28 srittau Exp $
+dnl $Id: configure.in,v 1.193 2003-12-15 04:49:56 srittau Exp $
dnl configure.in for netatalk
AC_INIT(etc/afpd/main.c)
AC_DEFINE(HAVE_ATALK_ADDR, 1, [set if struct at_addr is called atalk_addr])
fi
- dnl ----- check if we need the quotactl wrapper
- AC_CHECK_FUNC(quotactl,,
- AC_DEFINE(NEED_QUOTACTL_WRAPPER, 1, [Define if the quotactl wrapper is needed])
- AC_MSG_RESULT([enabling quotactl wrapper])
- )
-
dnl ----- as far as I can tell, dbtob always does the wrong thing
dnl ----- on every single version of linux I've ever played with.
dnl ----- see etc/afpd/quota.c
/*
- * $Id: quota.c,v 1.22 2002-08-29 17:22:06 jmarcus Exp $
+ * $Id: quota.c,v 1.23 2003-12-15 04:49:56 srittau Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#include "unix.h"
#ifndef NO_QUOTA_SUPPORT
-#ifdef NEED_QUOTACTL_WRAPPER
-int quotactl(int cmd, const char *special, int id, caddr_t addr)
-{
- return syscall(__NR_quotactl, cmd, special, id, addr);
-}
-#endif /* NEED_QUOTACTL_WRAPPER */
#if defined(HAVE_SYS_MNTTAB_H) || defined(__svr4__)
/*
- * $Id: unix.h,v 1.13 2003-06-05 09:17:12 didg Exp $
+ * $Id: unix.h,v 1.14 2003-12-15 04:49:56 srittau Exp $
*/
#ifndef AFPD_UNIX_H
#endif /* ! __svr4__ || HAVE_DQB_BTIMELIMIT */
#if defined(linux) || defined(ultrix) || defined(HAVE_QUOTA_H)
-#ifndef NEED_QUOTACTL_WRAPPER
#include <sys/quota.h>
-#else /* ! NEED_QUOTACTL_WRAPPER */
-#include <asm/types.h>
-#include <asm/unistd.h>
-#include <linux/quota.h>
-#endif /* ! NEED_QUOTACTL_WRAPPER */
#endif /* linux || ultrix || HAVE_QUOTA_H */
#ifdef __svr4__