Updated upstream Git repositories
[opendreambox.git] / meta-opendreambox / recipes-extended / lighttpd / lighttpd-1.4.35 / configure.ac-force-enable-sendfile-when-cross-compiling.patch
1 Upstream-Status: Inappropriate [configuration]
2
3 From 53da8221d9192ab3756487ed5740decff85c8dcf Mon Sep 17 00:00:00 2001
4 From: Andreas Oberritter <obi@opendreambox.org>
5 Date: Sun, 17 Aug 2014 22:08:41 +0200
6 Subject: [PATCH] configure.ac: force enable sendfile when cross-compiling
7
8 Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
9 ---
10  configure.ac | 3 +--
11  1 file changed, 1 insertion(+), 2 deletions(-)
12
13 diff --git a/configure.ac b/configure.ac
14 index 48e6b52..396f69c 100644
15 --- a/configure.ac
16 +++ b/configure.ac
17 @@ -564,8 +564,7 @@ if test "x$ac_cv_func_sendfile" = xyes; then
18                     [ AC_MSG_RESULT(no)
19                     AC_DEFINE([HAVE_SENDFILE_BROKEN], [1], [broken sendfile]) ] )
20         else
21 -             AC_MSG_RESULT(no, cross-compiling)
22 -             AC_DEFINE([HAVE_SENDFILE_BROKEN], [1], [broken sendfile])
23 +             AC_MSG_RESULT(yes, cross-compiling)
24         fi
25  fi
26  
27 -- 
28 1.9.1
29