Mercurial > hg > nginx
comparison auto/os/freebsd @ 5981:0f234ee664f7
Unbreak building on FreeBSD without file AIO.
It appeared that the NGX_HAVE_AIO_SENDFILE macro was defined regardless of
the "--with-file-aio" configure option and the NGX_HAVE_FILE_AIO macro.
Now they are related.
Additionally, fixed one macro.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 11 Feb 2015 20:00:07 +0300 |
parents | f31162fefe01 |
children | f3f25ad09dee |
comparison
equal
deleted
inserted
replaced
5980:ccad84a174e0 | 5981:0f234ee664f7 |
---|---|
42 | 42 |
43 have=NGX_HAVE_SENDFILE . auto/have | 43 have=NGX_HAVE_SENDFILE . auto/have |
44 CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS" | 44 CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS" |
45 fi | 45 fi |
46 | 46 |
47 if [ $osreldate -gt 502103 ]; then | 47 if [ $NGX_FILE_AIO = YES ]; then |
48 echo " + sendfile()'s SF_NODISKIO found" | 48 if [ $osreldate -gt 502103 ]; then |
49 echo " + sendfile()'s SF_NODISKIO found" | |
49 | 50 |
50 have=NGX_HAVE_AIO_SENDFILE . auto/have | 51 have=NGX_HAVE_AIO_SENDFILE . auto/have |
52 fi | |
51 fi | 53 fi |
52 | 54 |
53 # POSIX semaphores | 55 # POSIX semaphores |
54 # http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/127545 | 56 # http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/127545 |
55 | 57 |