From: Tim Potter Date: Thu, 21 Apr 2005 05:00:29 +0000 (+0000) Subject: r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~4921 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a50b304e7e028032cf97f2a2a0749c096155d9c;p=thirdparty%2Fsamba.git r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually used anywhere in the code anymore. Bugzilla 2625. --- diff --git a/source/configure.in b/source/configure.in index d4021283934..fb73c8a58e7 100644 --- a/source/configure.in +++ b/source/configure.in @@ -2280,13 +2280,6 @@ if test x"$samba_cv_HAVE_MMAP" = x"yes"; then AC_DEFINE(HAVE_MMAP,1,[Whether mmap works]) fi -AC_CACHE_CHECK([for ftruncate needs root],samba_cv_FTRUNCATE_NEEDS_ROOT,[ -AC_TRY_RUN([#include "${srcdir-.}/tests/ftruncroot.c"], - samba_cv_FTRUNCATE_NEEDS_ROOT=yes,samba_cv_FTRUNCATE_NEEDS_ROOT=no,samba_cv_FTRUNCATE_NEEDS_ROOT=cross)]) -if test x"$samba_cv_FTRUNCATE_NEEDS_ROOT" = x"yes"; then - AC_DEFINE(FTRUNCATE_NEEDS_ROOT,1,[Whether ftruncate() needs root]) -fi - AC_CACHE_CHECK([for fcntl locking],samba_cv_HAVE_FCNTL_LOCK,[ AC_TRY_RUN([#include "${srcdir-.}/tests/fcntl_lock.c"], samba_cv_HAVE_FCNTL_LOCK=yes,samba_cv_HAVE_FCNTL_LOCK=no,samba_cv_HAVE_FCNTL_LOCK=cross)])