From 33bc4cea27131c50feabec4bba2d7b40a4beed50 Mon Sep 17 00:00:00 2001 From: Egmont Koblinger Date: Thu, 19 Jan 2012 14:11:10 +0400 Subject: [PATCH] Ticket #2689 (fix fallocate detection for xBSD) fixed macros 'mc-get-fs-info.m4' for correct 'fallocate' detection under xBSD Signed-off-by: Ilia Maslakov --- m4.include/mc-get-fs-info.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4.include/mc-get-fs-info.m4 b/m4.include/mc-get-fs-info.m4 index bc0ca54ec..b1474d806 100644 --- a/m4.include/mc-get-fs-info.m4 +++ b/m4.include/mc-get-fs-info.m4 @@ -5,7 +5,7 @@ dnl AC_DEFUN([gl_POSIX_FALLOCATE], [ dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. - AC_TRY_COMPILE([ + AC_TRY_LINK([ #define _XOPEN_SOURCE 600 #include #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)