-dnl $Id: configure.in,v 1.230 2009-11-23 18:29:50 franklahm Exp $
+dnl $Id: configure.in,v 1.235 2009-12-23 15:53:15 franklahm Exp $
dnl configure.in for netatalk
AC_INIT(etc/afpd/main.c)
dnl ----- see etc/afpd/quota.c
AC_DEFINE(HAVE_BROKEN_DBTOB, 1, [Define if dbtob is broken])
- netatalk_cv_linux_sendfile=no
+ netatalk_cv_linux_sendfile=yes
+ AC_MSG_CHECKING([use sendfile syscall])
AC_ARG_ENABLE(sendfile,
- [ --enable-sendfile use sendfile syscall default (no) ],[
- if test "$enableval" = "yes"; then
- netatalk_cv_linux_sendfile=yes
+ [ --disable-sendfile disable linux sendfile syscall],[
+ if test x"$enableval" = x"no"; then
+ netatalk_cv_linux_sendfile=no
+ AC_MSG_RESULT([no])
+ else
+ AC_MSG_RESULT([yes])
+
fi
- AC_MSG_RESULT([enabling sendfile syscall])
- ]
+ ],[
+ AC_MSG_RESULT([yes])
+ ]
+
)
if test x"$netatalk_cv_linux_sendfile" = "xyes"; then
bin/afile/Makefile
bin/afppasswd/Makefile
bin/cnid/Makefile
- bin/cnid/cnid_maint
bin/cnid/cnid2_create
bin/getzones/Makefile
bin/megatron/Makefile
config/Makefile
config/pam/Makefile
contrib/Makefile
- contrib/acltests/Makefile
contrib/macusers/Makefile
contrib/macusers/macusers
- contrib/nu/Makefile
- contrib/nu/nu
contrib/printing/Makefile
contrib/shell_utils/Makefile
contrib/shell_utils/afpd-mtab.pl
contrib/shell_utils/apple_cp
contrib/shell_utils/apple_mv
contrib/shell_utils/apple_rm
- contrib/shell_utils/apple_cleanup
+ contrib/shell_utils/asaddump
contrib/shell_utils/asip-status.pl
contrib/timelord/Makefile
contrib/a2boot/Makefile