From: Nathan Scott Date: Mon, 9 Aug 2004 05:56:12 +0000 (+0000) Subject: Fix merge botch from test workarea. X-Git-Tag: v2.7.0~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=709c25e63fda43bbcddcdd6c6ddbc5f0f0b31caf;p=thirdparty%2Fxfsprogs-dev.git Fix merge botch from test workarea. --- diff --git a/aclocal.m4 b/aclocal.m4 index 1eb6831e9..f96624c6d 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -300,74 +300,6 @@ AC_DEFUN([AC_HAVE_SENDFILE], AC_SUBST(have_sendfile) ]) -# -# Check if we have a working fadvise system call -# -AC_DEFUN([AC_HAVE_FADVISE], - [ AC_MSG_CHECKING([for fadvise ]) - AC_TRY_COMPILE([ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 -#include - ], [ - posix_fadvise(0, 1, 0, 0); - ], have_fadvise=yes - AC_MSG_RESULT(yes), - AC_MSG_RESULT(no)) - AC_SUBST(have_fadvise) - ]) - -# -# Check if we have a working madvise system call -# -AC_DEFUN([AC_HAVE_MADVISE], - [ AC_MSG_CHECKING([for madvise ]) - AC_TRY_COMPILE([ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 -#include - ], [ - posix_madvise(0, 0, MADV_NORMAL); - ], have_madvise=yes - AC_MSG_RESULT(yes), - AC_MSG_RESULT(no)) - AC_SUBST(have_madvise) - ]) - -# -# Check if we have a working mincore system call -# -AC_DEFUN([AC_HAVE_MINCORE], - [ AC_MSG_CHECKING([for mincore ]) - AC_TRY_COMPILE([ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 -#include - ], [ - mincore(0, 0, 0); - ], have_mincore=yes - AC_MSG_RESULT(yes), - AC_MSG_RESULT(no)) - AC_SUBST(have_mincore) - ]) - -# -# Check if we have a working sendfile system call -# -AC_DEFUN([AC_HAVE_SENDFILE], - [ AC_MSG_CHECKING([for sendfile ]) - AC_TRY_COMPILE([ -#define _GNU_SOURCE -#define _FILE_OFFSET_BITS 64 -#include - ], [ - 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 type for the pointer's size integer (__psint_t) #