From a7bdbf13e92306a751416ea1ca4a8c428dd33505 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 21 Apr 2005 05:00:29 +0000 Subject: r6411: Remove configure check for FTRUNCATE_NEEDS_ROOT as it's not actually used anywhere in the code anymore. Bugzilla 2625. (This used to be commit 6a50b304e7e028032cf97f2a2a0749c096155d9c) --- source3/configure.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index d402128393..fb73c8a58e 100644 --- a/source3/configure.in +++ b/source3/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)]) -- cgit