summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-04-21 05:00:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:40 -0500
commita7bdbf13e92306a751416ea1ca4a8c428dd33505 (patch)
tree0c4b2dfa32f83db0f4c5fd9ce17ae6d17fe9f4fb
parente09150948bf4406b5af13241b267a9d3a6fd1d0c (diff)
downloadsamba-a7bdbf13e92306a751416ea1ca4a8c428dd33505.tar.gz
samba-a7bdbf13e92306a751416ea1ca4a8c428dd33505.tar.bz2
samba-a7bdbf13e92306a751416ea1ca4a8c428dd33505.zip
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)
-rw-r--r--source3/configure.in7
1 files changed, 0 insertions, 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)])