summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/install15
-rw-r--r--auto/os/linux6
2 files changed, 6 insertions, 15 deletions
diff --git a/auto/install b/auto/install
index f876891f8..94733d3cc 100644
--- a/auto/install
+++ b/auto/install
@@ -144,19 +144,4 @@ upgrade:
test -f $NGX_PID_PATH.oldbin
kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
-
-upgrade1:
- # upgrade 0.1.x to 0.2+
-
- $NGX_SBIN_PATH -t
-
- cp $NGX_PID_PATH $NGX_PID_PATH.oldbin
-
- kill -USR2 \`cat $NGX_PID_PATH\`
- sleep 1
- test -f $NGX_PID_PATH.oldbin
-
- cp $NGX_PID_PATH $NGX_PID_PATH.newbin
-
- kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
END
diff --git a/auto/os/linux b/auto/os/linux
index ed296ce90..9db5f26f3 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -35,6 +35,12 @@ then
fi
+# posix_fadvise64() had been implemented in 2.5.60
+
+if [ $version -lt 132412 ]; then
+ have=NGX_HAVE_POSIX_FADVISE . auto/nohave
+fi
+
# epoll, EPOLLET version
ngx_feature="epoll"