From d0487f07bd84464cc93f402f2ff80b4ce1d6039c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 19 Jun 2004 23:22:00 +0300 Subject: [PATCH] Use AC_TRY_LINK() for sendfile() checks so it works right with Solaris. Did the same for mremap() too just in case. --HG-- branch : HEAD --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 09f78e3fde..9b50263c46 100644 --- a/configure.in +++ b/configure.in @@ -700,7 +700,7 @@ AC_TRY_COMPILE([ dnl * Linux compatible mremap() AC_MSG_CHECKING([Linux compatible mremap()]) -AC_TRY_COMPILE([ +AC_TRY_LINK([ #include #define __USE_GNU #include @@ -761,7 +761,7 @@ AC_CHECK_LIB(sendfile, sendfile, [ dnl * Linux compatible sendfile() - don't check if Solaris one was found. dnl * This seems to pass with Solaris for some reason.. AC_MSG_CHECKING([Linux compatible sendfile()]) - AC_TRY_COMPILE([ + AC_TRY_LINK([ #undef _FILE_OFFSET_BITS #include #include @@ -777,7 +777,7 @@ AC_CHECK_LIB(sendfile, sendfile, [ dnl * FreeBSD compatible sendfile() AC_MSG_CHECKING([FreeBSD compatible sendfile()]) - AC_TRY_COMPILE([ + AC_TRY_LINK([ #include #include #include -- 2.47.3