sendfile (1413:58282dc9b416) sendfile (1577:604db78b62f9)
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) NGINX, Inc.
4
5
6NXT_HAVE_LINUX_SENDFILE=NO
7NXT_HAVE_FREEBSD_SENDFILE=NO
8NXT_HAVE_MACOSX_SENDFILE=NO

--- 70 unchanged lines hidden (view full) ---

79
80 if [ $nxt_found = yes ]; then
81 NXT_HAVE_MACOSX_SENDFILE=YES
82 fi
83fi
84
85
86if [ $nxt_found = no ]; then
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) NGINX, Inc.
4
5
6NXT_HAVE_LINUX_SENDFILE=NO
7NXT_HAVE_FREEBSD_SENDFILE=NO
8NXT_HAVE_MACOSX_SENDFILE=NO

--- 70 unchanged lines hidden (view full) ---

79
80 if [ $nxt_found = yes ]; then
81 NXT_HAVE_MACOSX_SENDFILE=YES
82 fi
83fi
84
85
86if [ $nxt_found = no ]; then
87 $echo
88 $echo "$0: error: no supported sendfile() found."
89 $echo
90 exit 1;
87 # No supported sendfile() found. Using our replacement.
88 nxt_found=yes
91fi
92
93
94NXT_LIBSENDFILE=
95
96if [ $nxt_found = no ]; then
97
98 # Solaris 8 sendfilev().

--- 68 unchanged lines hidden ---
89fi
90
91
92NXT_LIBSENDFILE=
93
94if [ $nxt_found = no ]; then
95
96 # Solaris 8 sendfilev().

--- 68 unchanged lines hidden ---