]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - m4/package_libcdev.m4
configure: don't check for sendfile
[thirdparty/xfsprogs-dev.git] / m4 / package_libcdev.m4
index 53d19a1b603b63021ed5f985157faa3f6fc653d3..ef20ae41ae5861a1ed56cd6de30d226147270a1d 100644 (file)
@@ -34,24 +34,6 @@ mincore(0, 0, 0);
     AC_SUBST(have_mincore)
   ])
 
-#
-# Check if we have a working sendfile system call
-#
-AC_DEFUN([AC_HAVE_SENDFILE],
-  [ AC_MSG_CHECKING([for sendfile ])
-    AC_COMPILE_IFELSE(
-    [  AC_LANG_PROGRAM([[
-#define _GNU_SOURCE
-#include <sys/sendfile.h>
-       ]], [[
-sendfile(0, 0, 0, 0);
-       ]])
-    ], have_sendfile=yes
-       AC_MSG_RESULT(yes),
-       AC_MSG_RESULT(no))
-    AC_SUBST(have_sendfile)
-  ])
-
 #
 # Check if we have a fallocate libc call (Linux)
 #